]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ceph-deploy-docs: rsync to new newdocs.ceph.com
authorKen Dreyer <kdreyer@redhat.com>
Tue, 27 Oct 2015 21:22:19 +0000 (15:22 -0600)
committerKen Dreyer <kdreyer@redhat.com>
Tue, 27 Oct 2015 22:36:01 +0000 (16:36 -0600)
TODO: Replace "newdocs.ceph.com" with "docs.ceph.com" in the rsync
command. This can be done once we change the "docs.ceph.com" A record in
DNS to point to the the newdocs.ceph.com web server.

ceph-deploy-docs/build/build
ceph-deploy-docs/config/definitions/ceph-deploy-docs.yml

index ca30c95002a826975d9f5231d24e8c65986f7395..b585747a729479e24fd2f10801171753209a2859 100644 (file)
@@ -20,5 +20,6 @@ fi
 
 # create the docs build with tox
 tox -rv -e docs
-# publish docs to ceph.com/ceph-deploy/docs
-rsync -auv --delete -e "ssh -i /home/jenkins-build/.ssh/cephdocs_id_rsa -o StrictHostKeyChecking=no" .tox/docs/tmp/html/* cephdocs@ceph.newdream.net:/home/ceph_site/ceph.com/ceph-deploy/docs/
+
+# publish docs to docs.ceph.com/docs/ceph-deploy
+rsync -auv --delete .tox/docs/tmp/html/* jenkins-publish@newdocs.ceph.com:/var/ceph-deploy/docs/
index 06b49729f86810d77ccd60428485f6de392dac42..eae4286374b1b6c4700e789a61f638e763305e51 100644 (file)
           skip-tag: true
           timeout: 20
 
+    wrappers:
+      - ssh-agent-credentials:
+          users:
+            # "jenkins-publish" SSH key, needed for rsync to docs.ceph.com:
+            - 'fa9ca012-6731-4c7d-be74-eda748e36ee8'
+
     builders:
       - shell:
           !include-raw ../../build/build