Add native Zuul v3 bindep fallback tests

For project-config itself, use native Zuul v3 tests for testing that we
can install the bindep list for the used distributions.

Note that the new job does not run if the local bindep.txt file or
other-requirements.txt is changed since those files are irreleant for
this test. This test only tests jenkins/data/bindep-fallback.txt.

Since project-config is trusted, we cannot directly test that the jobs
work. Therefore add them as experimental - and then test that they work.
A followup change will then use these jobs by default.

Change-Id: Ia95b73aa955a07840ce9b66ba36a6da821e1d34c
This commit is contained in:
Andreas Jaeger 2017-12-26 14:36:03 +01:00
parent b3ec778e04
commit 6ae123b9ba
3 changed files with 83 additions and 2 deletions

View File

@ -0,0 +1,5 @@
- hosts: all
roles:
- role: bindep
bindep_profile: test
bindep_file: jenkins/data/bindep-fallback.txt

View File

@ -1078,3 +1078,73 @@
- openstack/requirements
secrets:
- zanata_api_credentials
- job:
name: project-config-bindep-fallback
description: |
Check installation of binary packages for file
jenkins/data/bindep-fallback.txt.
run: playbooks/bindep-fallback/run.yaml
files:
- jenkins/data/bindep-fallback.txt
- playbooks/bindep-fallback/run.yaml
- job:
name: project-config-bindep-fallback-centos-7
parent: project-config-bindep-fallback
description: |
Check installation of binary packages for file
jenkins/data/bindep-fallback.txt.
The testing is done for CentOS 7.
nodeset: centos-7
- job:
name: project-config-bindep-fallback-fedora-26
parent: project-config-bindep-fallback
description: |
Check installation of binary packages for file
jenkins/data/bindep-fallback.txt.
The testing is done for Fedora 26.
nodeset: fedora-26
- job:
name: project-config-bindep-fallback-debian-jessie
parent: project-config-bindep-fallback
description: |
Check installation of binary packages for file
jenkins/data/bindep-fallback.txt.
The testing is done for Debian Jessie.
nodeset: debian-jessie
- job:
name: project-config-bindep-fallback-opensuse-423
parent: project-config-bindep-fallback
description: |
Check installation of binary packages for file
jenkins/data/bindep-fallback.txt.
The testing is done for openSUSE Leap 42.3.
nodeset: opensuse-423
- job:
name: project-config-bindep-fallback-ubuntu-trusty
parent: project-config-bindep-fallback
description: |
Check installation of binary packages for file
jenkins/data/bindep-fallback.txt.
The testing is done for Ubuntu Trusty.
nodeset: ubuntu-trusty
- job:
name: project-config-bindep-fallback-ubuntu-xenial
parent: project-config-bindep-fallback
description: |
Check installation of binary packages for file
jenkins/data/bindep-fallback.txt.
The testing is done for Ubuntu Xenial.
nodeset: ubuntu-xenial

View File

@ -934,8 +934,6 @@
name: openstack-infra/project-config
templates:
- system-required
# This is the only project that use this pipeline so that
# we can iterate quickly on changes.
check:
jobs:
- build-openstack-specs-site
@ -1037,6 +1035,14 @@
jobs:
- propose-project-config-update
- project-config-build-openafs-centos
experimental:
jobs:
- project-config-bindep-fallback-centos-7
- project-config-bindep-fallback-debian-jessie
- project-config-bindep-fallback-fedora-26
- project-config-bindep-fallback-opensuse-423
- project-config-bindep-fallback-ubuntu-trusty
- project-config-bindep-fallback-ubuntu-xenial
- project:
name: openstack-infra/project-config-example