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.
# 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/
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