From 3acf386335e92913d6d63bda244c9d496c8441ca Mon Sep 17 00:00:00 2001 From: Ken Dreyer Date: Tue, 27 Oct 2015 15:22:19 -0600 Subject: [PATCH] ceph-deploy-docs: rsync to new newdocs.ceph.com 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 | 5 +++-- ceph-deploy-docs/config/definitions/ceph-deploy-docs.yml | 6 ++++++ 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/ceph-deploy-docs/build/build b/ceph-deploy-docs/build/build index ca30c950..b585747a 100644 --- a/ceph-deploy-docs/build/build +++ b/ceph-deploy-docs/build/build @@ -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/ diff --git a/ceph-deploy-docs/config/definitions/ceph-deploy-docs.yml b/ceph-deploy-docs/config/definitions/ceph-deploy-docs.yml index 06b49729..eae42863 100644 --- a/ceph-deploy-docs/config/definitions/ceph-deploy-docs.yml +++ b/ceph-deploy-docs/config/definitions/ceph-deploy-docs.yml @@ -32,6 +32,12 @@ 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 -- 2.39.5