governance/.zuul.yaml
Mohammed Naser d5a9229ec2 Add legacy repository validation
This patch improves the legacy repository validation by ensuring that we
actually make sure the repository is properly retired.  This job will
only run on changes to the legacy.yaml file to avoid a high number of
API calls.

Change-Id: I40f1818955eaa0a2037f239aeced86c3faf3281e
2020-08-07 15:47:05 -04:00

48 lines
1.4 KiB
YAML

- job:
name: openstack-tox-validate_atcs
parent: openstack-tox-linters
description: |
Run the ATC checking to show if the current ATCs are still valid.
Foundation membership can change anytime, and we don't want our linter
jobs to fail due to this, but we want to be informed at all times.
vars:
tox_envlist: validate_atcs
- job:
name: governance-validate-legacy
parent: openstack-tox
description: |
Run a job to validate the legacy.yaml file to ensure that projects are
properly retired. This job only runs on legacy.yaml changes to ensure
that we don't hit OpenDev.org with too many requests without changes.
files:
- tools/validate-legacy.py
- reference/legacy.yaml
vars:
tox_envlist: validate-legacy
- project:
templates:
- build-openstack-docs-pti
- openstack-python3-ussuri-jobs
check:
jobs:
- governance-validate-legacy
- openstack-tox-validate_atcs:
voting: false
- openstack-tox-linters:
required-projects:
- openstack/project-config
experimental:
jobs:
- openstack-tox-validate
gate:
jobs:
- governance-validate-legacy
- openstack-tox-linters:
required-projects:
- openstack/project-config
promote:
jobs:
- promote-governance-tc