mirror of
https://github.com/psycopg/psycopg2.git
synced 2024-11-10 19:16:34 +03:00
CI resources moved to upload.psycopg.org
This commit is contained in:
parent
9154d0920c
commit
501b0412f6
|
@ -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:"]
|
||||
)
|
||||
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user