Merge pull request #268 from kiwix/new_tmp_server

New tmp.kiwix.org server
This commit is contained in:
Kelson 2018-11-07 16:16:37 +01:00 committed by GitHub
commit f080c750b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 5 deletions

View File

@ -7,5 +7,5 @@ SSH_KEY=C:\\projects\\kiwix-build\\appveyor\\nightlybot_id_key
7z a -tzip $ARCHIVE_NAME $MINGW64_EXTRA_DIR 7z a -tzip $ARCHIVE_NAME $MINGW64_EXTRA_DIR
scp -vrp -i ${SSH_KEY} -o StrictHostKeyChecking=no \ scp -vrp -i ${SSH_KEY} -o StrictHostKeyChecking=no \
${ARCHIVE_NAME} \ ${ARCHIVE_NAME} \
nightlybot@download.kiwix.org:/var/www/tmp.kiwix.org/ci ci@tmp.kiwix.org:/data/tmp/ci

View File

@ -283,7 +283,7 @@ def travis_launch_build(organisation, repository, options, zim_size):
}) })
else: else:
global_env.append({ global_env.append({
'DEPLOY_DIR' : '/var/www/tmp.kiwix.org/custom_apps/{}_{}'.format( 'DEPLOY_DIR' : '/data/tmp/custom_apps/{}_{}'.format(
options.custom_app, options.base_version) options.custom_app, options.base_version)
}) })

View File

@ -273,7 +273,7 @@ except URLError:
run_kiwix_build('alldependencies', platform=PLATFORM) run_kiwix_build('alldependencies', platform=PLATFORM)
if SSH_KEY.exists(): if SSH_KEY.exists():
archive = make_deps_archive('alldependencies', full=True) archive = make_deps_archive('alldependencies', full=True)
destination = 'nightlybot@download.kiwix.org:/var/www/tmp.kiwix.org/ci/{}' destination = 'ci@tmp.kiwix.org:/data/tmp/ci/{}'
destination = destination.format(base_dep_archive_name) destination = destination.format(base_dep_archive_name)
scp(archive, destination) scp(archive, destination)
@ -328,7 +328,7 @@ for target in TARGETS:
platform=PLATFORM, platform=PLATFORM,
build_deps_only=True) build_deps_only=True)
archive = make_deps_archive(target) archive = make_deps_archive(target)
scp(archive, 'nightlybot@download.kiwix.org:/var/www/tmp.kiwix.org/ci/') scp(archive, 'ci@tmp.kiwix.org:/data/tmp/ci/')
run_kiwix_build(target, run_kiwix_build(target,
platform=PLATFORM, platform=PLATFORM,

View File

@ -10,4 +10,4 @@ tar -czf fail_log_${PLATFORM}.tar.gz BUILD_${PLATFORM}
scp -vrp -i ${SSH_KEY} \ scp -vrp -i ${SSH_KEY} \
fail_log_${PLATFORM}.tar.gz \ fail_log_${PLATFORM}.tar.gz \
nightlybot@download.kiwix.org:/var/www/tmp.kiwix.org/ci ci@tmp.kiwix.org:/data/tmp/ci