zuul-jobs/zuul.d/project-templates.yaml
Andreas Jaeger b6f99c7807 Add more templates
Add templates for docs and releasenotes so that they can be used
everywhere.

Change-Id: I12e515123964853110879ecacfa3219d02c292c7
Needed-By: https://review.opendev.org/677602
2019-08-21 12:54:18 +00:00

51 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
post:
jobs:
- publish-stx-api-ref
- project-template:
name: publish-stx-docs
description: |
Runs and publishes documentation to starlingx site.
check:
jobs:
- openstack-tox-docs
gate:
jobs:
- openstack-tox-docs
post:
jobs:
- publish-stx-tox
- 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