From: David Galloway Date: Thu, 9 Feb 2017 17:39:40 +0000 (-0500) Subject: Change user and path for pushing upstream releases X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=a8fe39761f14c7c16fa90326794f27aa9920069a;p=ceph-build.git Change user and path for pushing upstream releases ~/repos was a symlink and an unnecessary extra step. If the true path were to change, either this file or the symlink would need to change anyway. The 'signer' user does not have sudo access. 'dhc-user' was the legacy user from when download.ceph.com was hosted in DreamCompute. Signed-off-by: David Galloway --- diff --git a/scripts/sync-push b/scripts/sync-push index ca19a02c..32140dd2 100644 --- a/scripts/sync-push +++ b/scripts/sync-push @@ -12,11 +12,11 @@ releases=${*:-"firefly giant hammer infernalis testing"} ceph_sync() { release=$1 - deb_cmd="/opt/repos/ceph/$release/debian/jessie/* dhc-user@download.ceph.com:/home/dhc-user/repos/debian-$release/" + deb_cmd="/opt/repos/ceph/$release/debian/jessie/* signer@download.ceph.com:/data/download.ceph.com/www/debian-$release/" rsync --progress -avr $deb_cmd - el6_cmd="/opt/repos/ceph/$release/centos/6/* dhc-user@download.ceph.com:/home/dhc-user/repos/rpm-$release/el6/" - el7_cmd="/opt/repos/ceph/$release/centos/7/* dhc-user@download.ceph.com:/home/dhc-user/repos/rpm-$release/el7/" + el6_cmd="/opt/repos/ceph/$release/centos/6/* signer@download.ceph.com:/data/download.ceph.com/www/rpm-$release/el6/" + el7_cmd="/opt/repos/ceph/$release/centos/7/* signer@download.ceph.com:/data/download.ceph.com/www/rpm-$release/el7/" rsync --progress -avr $el6_cmd rsync --progress -avr $el7_cmd }