From a8fe39761f14c7c16fa90326794f27aa9920069a Mon Sep 17 00:00:00 2001 From: David Galloway Date: Thu, 9 Feb 2017 12:39:40 -0500 Subject: [PATCH] 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 --- scripts/sync-push | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 } -- 2.47.3