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
This commit is contained in:
Andreas Jaeger 2019-08-21 09:01:18 +02:00 committed by Andreas Jaeger
parent b6f99c7807
commit 44ffb4c519

View File

@ -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