election/.zuul.d/jobs.yaml
Tony Breeds 60fb423adf Add a tox environment for flexible candidate checking
By default ci_check_all_candidate_files.py, does as it implies and
checks all candidates for the current election.

Add new operation modes for:
 1. Checking all files for the current git commit '--HEAD'
 2. Checking all files specified on the command line

We also add a voting job on the check pipeline only for validating
the current review.  Local users are encouraged to use this as:

 tox -e ci-checks-review ; or
 tox -e ci-checks-review -- path/to/file

Change-Id: I0c82c59409bb58169840de42c02072aeae182b2b
Co-authored-by: Doug Hellmann <doug@doughellmann.com>
2018-12-12 14:09:05 +11:00

22 lines
605 B
YAML

- job:
name: election-tox-ci-checks-election
parent: openstack-tox
description: |
Run the ci-checks-election tox environment
This environment runs the easy, for a machine, to validate election
checks.
vars:
tox_envlist: ci-checks-election
- job:
name: election-tox-ci-checks-review
parent: openstack-tox
description: |
Run the ci-checks-review tox environment
This environment runs the easy, for a machine, to validate election
checks against only files modified in the current review.
vars:
tox_envlist: ci-checks-review