zuul-jobs/zuul.d/jobs.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

26 lines
926 B
YAML

- job:
name: stx-zuul-jobs-linters
parent: openstack-zuul-jobs-linters
description: |
This job runs against starlingx/zuul-jobs so we can properly
lint our ansible playbooks / roles.
required-projects:
- opendev/base-jobs
- openstack/openstack-zuul-jobs
- openstack/project-config
- opendev/system-config
- zuul/zuul-jobs
- zuul/zuul
vars:
tox_envlist: linters
tox_environment:
ANSIBLE_ROLES_PATH: ~/src/opendev.org/starlingx/zuul-jobs/roles:~/src/opendev.org/opendev/base-jobs/roles:~/src/opendev.org/zuul/zuul-jobs/roles:~/src/opendev.org/openstack/openstack-zuul-jobs/roles:~/src/opendev.org/openstack/project-config/roles:~/src/opendev.org/opendev/system-config/roles
- job:
name: stx-check-specfile
parent: tox
description: Sanity check RPM spec files
vars:
tox_envlist: rpm-packaging-lint
files: .*\.spec