tools: Add UPLOAD_KEY

Signed-off-by: Matt Turner <mattst88@gentoo.org>
This commit is contained in:
Matt Turner 2021-01-30 19:01:29 -05:00
parent 5515e89048
commit 3d95cec60b
14 changed files with 28 additions and 14 deletions

View file

@ -2,6 +2,7 @@
# self-explanatory.
UPLOAD_USER=hppa
UPLOAD_KEY=/root/.ssh/buildsync.key
SPECS_DIR=${REPO_DIR}/releases/specs/hppa
SETS="hppa1_1 hppa2_0 hppa_livecd hppa_netboot"
@ -34,7 +35,7 @@ update_symlinks() {
}
upload() {
rsync -e 'ssh -i /root/.ssh/buildsync.key -o UserKnownHostsFile=/dev/null -o VerifyHostKeyDNS=yes -o StrictHostKeyChecking=no' "$@" ${UPLOAD_USER}@releng-incoming.gentoo.org:
rsync -e 'ssh -i ${UPLOAD_KEY} -o UserKnownHostsFile=/dev/null -o VerifyHostKeyDNS=yes -o StrictHostKeyChecking=no' "$@" ${UPLOAD_USER}@releng-incoming.gentoo.org:
}
post_build() {