zuul-jobs/zuul.d/project-templates.yaml
Saul Wold e9d96699c7 Add speclint and associated zuul job
This adds the scripts for checking RPM Specfiles and a
zuul project template to be added to the StarlingX repos.
Additionally a tox.ini entry will be required to launch
the check via tox.

See the tox.ini for the rpm-packaging-lint entry.

Depends-On: https://review.opendev.org/677739
Change-Id: I844491aaab34159941e6dd2f1a4528ad5e87f789
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2019-08-26 20:40:27 +00:00

61 lines
1.4 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
- project-template:
name: stx-lint-specfile-jobs
description: |
Lint RPM Specfiles for syntax and correctness
check:
jobs:
- stx-check-specfile:
voting: false