mirror of
https://github.com/kiwix/kiwix-build.git
synced 2025-06-26 10:11:27 +00:00
SSH server which was used to receive file uploads (CI, nightly and release) has been migrated to a new one on a different address. Username, Key and paths are unchanged. Most notable changes are the use of `master.download.kiwix.org` as the target in replacement of `mirror.download.kiwix.org` (although it would still work) and the Port to which SSH is listening on (30022 instead of 22)
17 lines
366 B
Bash
Executable File
17 lines
366 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
|
|
cd $HOME
|
|
|
|
ARCHIVE_NAME=fail_log_${OS_NAME}_${PLATFORM_TARGET}.tar.gz
|
|
tar -czf ${ARCHIVE_NAME} $HOME/BUILD_* $HOME/SOURCE $HOME/LOGS $HOME/TOOLCHAINS
|
|
|
|
echo "Uploading archive $ARCHIVE_NAME"
|
|
|
|
scp -P 30022 -p -i ${SSH_KEY} \
|
|
-o PasswordAuthentication=no \
|
|
-o StrictHostKeyChecking=no \
|
|
$ARCHIVE_NAME \
|
|
ci@tmp.kiwix.org:/data/tmp/ci
|