]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
Change user and path for pushing upstream releases 633/head
authorDavid Galloway <dgallowa@redhat.com>
Thu, 9 Feb 2017 17:39:40 +0000 (12:39 -0500)
committerDavid Galloway <dgallowa@redhat.com>
Fri, 10 Feb 2017 20:09:12 +0000 (15:09 -0500)
~/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 <dgallowa@redhat.com>
scripts/sync-push

index ca19a02ce617f6add8eccb7bbf1ec0835c8ccd18..32140dd2bdbc7effd2450712f593b4269cd0c5fc 100644 (file)
@@ -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
 }