zuul-jobs/zuul.d/project-templates.yaml
Andreas Jaeger 44ffb4c519 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
2019-08-21 12:56:36 +00:00

52 lines
1.2 KiB
YAML

- project-template:
name: stx-api-ref-jobs
description: |
Build and publish api-ref document for starlingx.
check:
jobs:
- build-openstack-api-ref:
files: &api-ref-triggers
- ^os_api_ref/.*
- ^api-ref/.*
- ^doc/api_samples/.*
- bindep.txt
- doc/requirements.txt
- test-requirements.txt
- tox.ini
gate:
jobs:
- build-openstack-api-ref:
files: *api-ref-triggers
promote:
jobs:
- promote-stx-api-ref:
files: *api-ref-triggers
- project-template:
name: publish-stx-docs
description: |
Runs and publishes documentation to starlingx site.
check:
jobs:
- openstack-tox-docs
gate:
jobs:
- openstack-tox-docs
promote:
jobs:
- promote-stx-tox-docs
- project-template:
name: stx-release-notes-jobs
description: |
Runs the release notes test and publish jobs for starlingx.
check:
jobs:
- build-openstack-releasenotes
gate:
jobs:
- build-openstack-releasenotes
post:
jobs:
- publish-stx-releasenotes