From 5edec95da6384e908e3df29eb6b6bd49ebc48281 Mon Sep 17 00:00:00 2001 From: Michael Johnson Date: Fri, 27 Jul 2018 16:53:43 -0700 Subject: [PATCH] Fix publish-openstack-docs-pti check/gate html The new publish-openstack-docs-pti template uses the openstack-tox-docs job which does not save the rendered docs, nor does it set the job link to the rendered documents. This patch changes the openstack-tox-docs job to save the rendered html and set the success-url to the rendered html documents. This returns the behavior the publish-openstack-sphinx-docs job provided. Change-Id: I460c00542426f6b24a7423098be9a0af14a35f01 --- playbooks/docs/post.yaml | 3 +++ zuul.d/jobs.yaml | 4 ++++ 2 files changed, 7 insertions(+) create mode 100644 playbooks/docs/post.yaml diff --git a/playbooks/docs/post.yaml b/playbooks/docs/post.yaml new file mode 100644 index 00000000..c99e1e60 --- /dev/null +++ b/playbooks/docs/post.yaml @@ -0,0 +1,3 @@ +- hosts: all + roles: + - fetch-sphinx-output diff --git a/zuul.d/jobs.yaml b/zuul.d/jobs.yaml index 735f7d14..77d0b5e5 100644 --- a/zuul.d/jobs.yaml +++ b/zuul.d/jobs.yaml @@ -556,6 +556,10 @@ Uses tox with the ``docs`` environment. vars: tox_envlist: docs + success-url: html/ + roles: + - zuul: openstack-infra/zuul-jobs + post-run: playbooks/docs/post.yaml - job: name: openstack-tox-with-oslo-master-base