diff --git a/jenkins/jobs/infra.yaml b/jenkins/jobs/infra.yaml index 5ba97e13f4..deb77be56d 100644 --- a/jenkins/jobs/infra.yaml +++ b/jenkins/jobs/infra.yaml @@ -230,3 +230,17 @@ publishers: - console-log + + +- job: + name: gate-project-config-dib + node: 'bare-precise || bare-trusty' + + builders: + - revoke-sudo + - gerrit-git-prep + - tox: + envlist: 'dib' + + publishers: + - zuul-swift-upload-console-log diff --git a/tox.ini b/tox.ini index 26d594937c..c65972bf61 100644 --- a/tox.ini +++ b/tox.ini @@ -75,3 +75,11 @@ deps = Jinja2 PyYAML commands = {toxinidir}/specs/generate_specs_site.py {toxinidir}/specs/specs.yaml + +[testenv:dib] +# flake8 is missing from dib; see https://review.openstack.org/#/c/229780/ +deps = + diskimage-builder + flake8 +changedir = {toxinidir}/nodepool +commands = dib-lint diff --git a/zuul/layout.yaml b/zuul/layout.yaml index 86bedd33ef..99871d876e 100755 --- a/zuul/layout.yaml +++ b/zuul/layout.yaml @@ -1794,6 +1794,9 @@ jobs: # End Constraints Jobs + - name: gate-project-config-dib + voting: false + # The project list is grouped by type of project, and within each # group, projects are sorted (mostly) alphabetically. projects: @@ -6120,6 +6123,7 @@ projects: - gate-project-config-projects-yaml - gate-infra-docs-index - gate-generate-specs-site + - gate-project-config-dib gate: - project-config-gerrit - gate-project-config-layout