From 501b0412f6eb650162f00b5b2748ef77230793c0 Mon Sep 17 00:00:00 2001 From: Daniele Varrazzo Date: Mon, 30 Dec 2019 18:13:01 +0100 Subject: [PATCH] CI resources moved to upload.psycopg.org --- scripts/appveyor.py | 9 +++++---- scripts/travis_prepare.sh | 2 +- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/scripts/appveyor.py b/scripts/appveyor.py index 0b0de16f..dfaafa37 100755 --- a/scripts/appveyor.py +++ b/scripts/appveyor.py @@ -516,15 +516,16 @@ def upload_packages(): # Upload built artifacts logger.info("uploading artifacts") - ssh_cmd = r"C:\MinGW\msys\1.0\bin\ssh -i %s -o UserKnownHostsFile=%s" % ( - opt.clone_dir / "id_rsa", - opt.clone_dir / 'known_hosts', + ssh_cmd = ( + r"C:\MinGW\msys\1.0\bin\ssh -i %s " + "-o UserKnownHostsFile=%s -o StrictHostKeyChecking=yes" + % (opt.clone_dir / "id_rsa", opt.clone_dir / 'known_hosts') ) os.chdir(opt.package_dir) run_command( [r"C:\MinGW\msys\1.0\bin\rsync", "-avr"] - + ["-e", ssh_cmd, "dist/", "upload@initd.org:"] + + ["-e", ssh_cmd, "dist/", "psycopg@upload.psycopg.org:"] ) diff --git a/scripts/travis_prepare.sh b/scripts/travis_prepare.sh index 9d8e56da..cd0209dd 100755 --- a/scripts/travis_prepare.sh +++ b/scripts/travis_prepare.sh @@ -50,7 +50,7 @@ create () { else # A dinosaur wget -O - \ - http://initd.org/psycopg/upload/postgresql/postgresql-${PACKAGE}-$(lsb_release -cs).tar.bz2 \ + http://upload.psycopg.org/postgresql/postgresql-${PACKAGE}-$(lsb_release -cs).tar.bz2 \ | sudo tar xjf - -C /usr/lib/postgresql fi fi