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
|
# Upload built artifacts
|
||||||
logger.info("uploading artifacts")
|
logger.info("uploading artifacts")
|
||||||
|
|
||||||
ssh_cmd = r"C:\MinGW\msys\1.0\bin\ssh -i %s -o UserKnownHostsFile=%s" % (
|
ssh_cmd = (
|
||||||
opt.clone_dir / "id_rsa",
|
r"C:\MinGW\msys\1.0\bin\ssh -i %s "
|
||||||
opt.clone_dir / 'known_hosts',
|
"-o UserKnownHostsFile=%s -o StrictHostKeyChecking=yes"
|
||||||
|
% (opt.clone_dir / "id_rsa", opt.clone_dir / 'known_hosts')
|
||||||
)
|
)
|
||||||
|
|
||||||
os.chdir(opt.package_dir)
|
os.chdir(opt.package_dir)
|
||||||
run_command(
|
run_command(
|
||||||
[r"C:\MinGW\msys\1.0\bin\rsync", "-avr"]
|
[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
|
else
|
||||||
# A dinosaur
|
# A dinosaur
|
||||||
wget -O - \
|
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
|
| sudo tar xjf - -C /usr/lib/postgresql
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue
Block a user