Merge gerrit jobs for project-config
Both gate-project-config-projects-yaml and gate-project-config-gerrit test files in gerrit directory, both check ACLs a swell. Let's merge those into one job since in most cases both need to be run anyway and the name projects-yaml might be confused with jenkins/jobs/projects.yaml. Note that this one leaves the projects tox environment in so that testing of this change passes. Change-Id: I34324643c26d0bcf2d24ce1dc51250ad53f2d48f
This commit is contained in:
parent
b548da5d5e
commit
e66ce9d5cd
@ -95,20 +95,6 @@
|
|||||||
publishers:
|
publishers:
|
||||||
- console-log
|
- console-log
|
||||||
|
|
||||||
- job:
|
|
||||||
name: gate-project-config-projects-yaml
|
|
||||||
node: ubuntu-trusty
|
|
||||||
|
|
||||||
builders:
|
|
||||||
- gerrit-git-prep
|
|
||||||
- install-distro-packages
|
|
||||||
- revoke-sudo
|
|
||||||
- tox:
|
|
||||||
envlist: projects
|
|
||||||
|
|
||||||
publishers:
|
|
||||||
- console-log
|
|
||||||
|
|
||||||
- job-template:
|
- job-template:
|
||||||
name: gate-{name}-bindep-fallback-{node}{job-suffix}
|
name: gate-{name}-bindep-fallback-{node}{job-suffix}
|
||||||
|
|
||||||
|
4
tox.ini
4
tox.ini
@ -12,7 +12,11 @@ commands =
|
|||||||
flake8
|
flake8
|
||||||
|
|
||||||
[testenv:gerrit]
|
[testenv:gerrit]
|
||||||
|
deps = PyYAML
|
||||||
|
GitPython
|
||||||
commands =
|
commands =
|
||||||
|
{toxinidir}/tools/check_valid_gerrit_projects.py gerrit/projects.yaml gerrit/acls
|
||||||
|
{toxinidir}/tools/check_projects_yaml_alphabetized.sh gerrit/projects.yaml
|
||||||
{toxinidir}/tools/check_valid_gerrit_config.sh gerrit/acls/
|
{toxinidir}/tools/check_valid_gerrit_config.sh gerrit/acls/
|
||||||
|
|
||||||
[testenv:projects]
|
[testenv:projects]
|
||||||
|
@ -1914,7 +1914,10 @@ jobs:
|
|||||||
- name: gate-project-config-gerrit
|
- name: gate-project-config-gerrit
|
||||||
files:
|
files:
|
||||||
- '^gerrit/acls/.*$'
|
- '^gerrit/acls/.*$'
|
||||||
|
- 'check_valid_gerrit_projects.py'
|
||||||
|
- 'gerrit/projects.yaml'
|
||||||
- 'other-requirements.txt'
|
- 'other-requirements.txt'
|
||||||
|
- 'tools/check_projects_yaml_alphabetized.sh'
|
||||||
- 'tools/check_valid_gerrit_config.sh'
|
- 'tools/check_valid_gerrit_config.sh'
|
||||||
- 'tox.ini'
|
- 'tox.ini'
|
||||||
|
|
||||||
@ -1924,14 +1927,6 @@ jobs:
|
|||||||
- 'other-requirements.txt'
|
- 'other-requirements.txt'
|
||||||
- 'tox.ini'
|
- 'tox.ini'
|
||||||
|
|
||||||
- name: gate-project-config-projects-yaml
|
|
||||||
files:
|
|
||||||
- 'check_valid_gerrit_projects.py'
|
|
||||||
- 'gerrit/projects.yaml'
|
|
||||||
- 'other-requirements.txt'
|
|
||||||
- 'tools/check_projects_yaml_alphabetized.sh'
|
|
||||||
- 'tox.ini'
|
|
||||||
|
|
||||||
- name: ^gate-project-config-bindep-fallback.*$
|
- name: ^gate-project-config-bindep-fallback.*$
|
||||||
files:
|
files:
|
||||||
- 'jenkins/data/bindep-fallback.txt'
|
- 'jenkins/data/bindep-fallback.txt'
|
||||||
@ -3638,7 +3633,6 @@ projects:
|
|||||||
- gate-project-config-irc-access
|
- gate-project-config-irc-access
|
||||||
- gate-project-config-jenkins-project
|
- gate-project-config-jenkins-project
|
||||||
- gate-project-config-nodepool
|
- gate-project-config-nodepool
|
||||||
- gate-project-config-projects-yaml
|
|
||||||
- gate-infra-docs-index
|
- gate-infra-docs-index
|
||||||
- gate-generate-specs-site
|
- gate-generate-specs-site
|
||||||
- gate-project-config-dib
|
- gate-project-config-dib
|
||||||
@ -3650,7 +3644,6 @@ projects:
|
|||||||
- gate-project-config-irc-access
|
- gate-project-config-irc-access
|
||||||
- gate-project-config-nodepool
|
- gate-project-config-nodepool
|
||||||
- gate-project-config-jenkins-project
|
- gate-project-config-jenkins-project
|
||||||
- gate-project-config-projects-yaml
|
|
||||||
- gate-infra-docs-index
|
- gate-infra-docs-index
|
||||||
- gate-generate-specs-site
|
- gate-generate-specs-site
|
||||||
- gate-project-config-dib
|
- gate-project-config-dib
|
||||||
|
Loading…
x
Reference in New Issue
Block a user