From 44ffb4c519dea5421ff8b02608bfacfc004c7dcb Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Wed, 21 Aug 2019 09:01:18 +0200 Subject: [PATCH] Switch to promote jobs for docs Use promote jobs for api-ref and docs so that we do not need to rebuild the docs in post pipeline and instead can publish the content that is run in gate pipeline without change. See also http://lists.openstack.org/pipermail/openstack-discuss/2019-August/008610.html Depends-On: https://review.opendev.org/677647 Change-Id: Ib2e32a6041c059bb45a09bc9dc8f93cfd742001b --- zuul.d/project-templates.yaml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/zuul.d/project-templates.yaml b/zuul.d/project-templates.yaml index ec9b297..9e9b4d0 100644 --- a/zuul.d/project-templates.yaml +++ b/zuul.d/project-templates.yaml @@ -17,9 +17,10 @@ jobs: - build-openstack-api-ref: files: *api-ref-triggers - post: + promote: jobs: - - publish-stx-api-ref + - promote-stx-api-ref: + files: *api-ref-triggers - project-template: name: publish-stx-docs @@ -31,9 +32,9 @@ gate: jobs: - openstack-tox-docs - post: + promote: jobs: - - publish-stx-tox + - promote-stx-tox-docs - project-template: name: stx-release-notes-jobs