f0a8476509
Add functional tests for the Ubuntu systemd-container elements introduced with I45651de2aa1b19bdeee301094f0bdffdd0a3b45c These test the Xenial and Bionic guest images build on Xenial and Bionic hosts. I'm not sure it's worth the gate resources to also do this on CentOS/Trusty at this point, so they're left out. Change-Id: Ie9da9e22f5421999ac96750624f7d53bb0aa6160
231 lines
6.4 KiB
YAML
231 lines
6.4 KiB
YAML
- project:
|
|
templates:
|
|
- tripleo-buildimage-jobs
|
|
check:
|
|
jobs:
|
|
- dib-functests-centos7-python2
|
|
- dib-functests-centos7-python2-image
|
|
- dib-functests-centos7-python2-extras
|
|
- dib-functests-trusty-python2
|
|
- dib-functests-trusty-python2-image
|
|
- dib-functests-trusty-python2-extras
|
|
- dib-functests-xenial-python3
|
|
- dib-functests-xenial-python3-image
|
|
- dib-functests-xenial-python3-extras
|
|
- dib-functests-xenial-python3-containers
|
|
- dib-functests-bionic-python3
|
|
- dib-functests-bionic-python3-image
|
|
- dib-functests-bionic-python3-extras
|
|
- dib-functests-bionic-python3-containers
|
|
- tripleo-buildimage-overcloud-full-centos-7
|
|
- openstack-tox-lower-constraints
|
|
|
|
gate:
|
|
jobs:
|
|
- dib-functests-trusty-python2
|
|
- dib-functests-xenial-python3
|
|
- dib-functests-centos7-python2
|
|
- tripleo-buildimage-overcloud-full-centos-7
|
|
- openstack-tox-lower-constraints
|
|
|
|
- job:
|
|
name: dib-functests-base
|
|
abstract: true
|
|
parent: base
|
|
run: playbooks/dib-functests/run.yaml
|
|
post-run: playbooks/dib-functests/post.yaml
|
|
timeout: 3600
|
|
required-projects:
|
|
- openstack/diskimage-builder
|
|
- openstack/requirements
|
|
irrelevant-files:
|
|
- ^.*\.rst$
|
|
- ^doc/.*$
|
|
|
|
- job:
|
|
name: dib-functests-default
|
|
description: |
|
|
This is the base set of stable tests
|
|
abstract: true
|
|
parent: dib-functests-base
|
|
vars:
|
|
dib_functests:
|
|
- apt-sources/test-sources
|
|
- centos-minimal/build-succeeds
|
|
- fedora-minimal/build-succeeds
|
|
- ironic-agent/build-succeeds-fedora
|
|
- pip-and-virtualenv/source-install-fedora
|
|
- pip-and-virtualenv/source-install-ubuntu
|
|
- ubuntu-minimal/trusty-build-succeeds
|
|
- ubuntu-minimal/xenial-build-succeeds
|
|
- ubuntu-minimal/bionic-build-succeeds
|
|
|
|
- job:
|
|
name: dib-functests-image
|
|
description: |
|
|
This is tests that rely on downloading an upstream
|
|
image. We generally do not have mirrors for these images
|
|
so they can be slighlty unreliable.
|
|
abstract: true
|
|
voting: false
|
|
parent: dib-functests-base
|
|
vars:
|
|
dib_functests:
|
|
- centos7/build-succeeds
|
|
- opensuse/build-succeeds
|
|
- opensuse/opensuse423-build-succeeds
|
|
- fedora/build-succeeds
|
|
- ubuntu/trusty-build-succeeds
|
|
- ubuntu/xenial-build-succeeds
|
|
- ubuntu/bionic-build-succeeds
|
|
|
|
- job:
|
|
name: dib-functests-extras
|
|
description: |
|
|
These are tests which are not as widely supported as the
|
|
core platforms
|
|
abstract: true
|
|
voting: false
|
|
parent: dib-functests-base
|
|
vars:
|
|
dib_functests:
|
|
- gentoo/build-succeeds
|
|
- debian-minimal/stable-vm
|
|
|
|
- job:
|
|
name: dib-functests-containers
|
|
description: |
|
|
These are tests for elements focused on containers or other
|
|
small deployments
|
|
abstract: true
|
|
voting: false
|
|
parent: dib-functests-base
|
|
vars:
|
|
dib_functests:
|
|
- ubuntu-systemd-container/bionic-build-succeeds
|
|
- ubuntu-systemd-container/xenial-build-succeeds
|
|
|
|
# Trusty / Python 2 tests
|
|
- job:
|
|
name: dib-functests-trusty-python2
|
|
description: |
|
|
Run the default tests on a Trusty build host with Python 2
|
|
parent: dib-functests-default
|
|
nodeset: ubuntu-trusty
|
|
vars:
|
|
dib_python: python2
|
|
|
|
- job:
|
|
name: dib-functests-trusty-python2-image
|
|
description: |
|
|
The image tests on a Trusty build host with Python 2
|
|
parent: dib-functests-image
|
|
nodeset: ubuntu-trusty
|
|
vars:
|
|
dib_python: python2
|
|
|
|
- job:
|
|
name: dib-functests-trusty-python2-extras
|
|
description: |
|
|
The extras tests on a Trusty build host with Python 2
|
|
parent: dib-functests-extras
|
|
nodeset: ubuntu-trusty
|
|
vars:
|
|
dib_python: python2
|
|
|
|
# Bionic / Python3 tests
|
|
- job:
|
|
name: dib-functests-bionic-python3
|
|
description: |
|
|
Run the default tests on a Bionic build host with Python 3
|
|
parent: dib-functests-default
|
|
nodeset: ubuntu-bionic
|
|
voting: false
|
|
|
|
- job:
|
|
name: dib-functests-bionic-python3-image
|
|
description: |
|
|
The image tests on a Bionic build host with Python 3
|
|
parent: dib-functests-image
|
|
nodeset: ubuntu-bionic
|
|
voting: false
|
|
|
|
- job:
|
|
name: dib-functests-bionic-python3-extras
|
|
description: |
|
|
The extras tests on a Bionic build host with Python 3
|
|
parent: dib-functests-extras
|
|
nodeset: ubuntu-bionic
|
|
voting: false
|
|
|
|
- job:
|
|
name: dib-functests-bionic-python3-containers
|
|
description: |
|
|
The containers tests on a Bionic build host with Python 3
|
|
parent: dib-functests-containers
|
|
nodeset: ubuntu-bionic
|
|
voting: false
|
|
|
|
# Xenial / Python3 tests
|
|
- job:
|
|
name: dib-functests-xenial-python3
|
|
description: |
|
|
Run the default tests on a Xenial build host with Python 3
|
|
parent: dib-functests-default
|
|
nodeset: ubuntu-xenial
|
|
|
|
- job:
|
|
name: dib-functests-xenial-python3-image
|
|
description: |
|
|
The image tests on a Xenial build host with Python 3
|
|
parent: dib-functests-image
|
|
nodeset: ubuntu-xenial
|
|
|
|
- job:
|
|
name: dib-functests-xenial-python3-extras
|
|
description: |
|
|
The extras tests on a Xenial build host with Python 3
|
|
parent: dib-functests-extras
|
|
nodeset: ubuntu-xenial
|
|
vars:
|
|
# opensuse-minimal can only build on xenial ATM, as other
|
|
# platforms don't have zypper
|
|
dib_functests_extra:
|
|
- opensuse-minimal/opensuse423-build-succeeds
|
|
|
|
- job:
|
|
name: dib-functests-xenial-python3-containers
|
|
description: |
|
|
The containers tests on a Xenial build host with Python 3
|
|
parent: dib-functests-containers
|
|
nodeset: ubuntu-xenial
|
|
voting: false
|
|
|
|
# Centos 7 / Python2 tests
|
|
- job:
|
|
name: dib-functests-centos7-python2
|
|
description: |
|
|
Run the default tests on a Centos 7 build host with Python 2
|
|
parent: dib-functests-default
|
|
nodeset: centos-7
|
|
vars:
|
|
dib_python: python2
|
|
|
|
- job:
|
|
name: dib-functests-centos7-python2-image
|
|
description: |
|
|
The image tests on a Centos 7 build host with Python 2
|
|
parent: dib-functests-image
|
|
nodeset: centos-7
|
|
vars:
|
|
dib_python: python2
|
|
|
|
- job:
|
|
name: dib-functests-centos7-python2-extras
|
|
description: |
|
|
The extras tests on a Centos 7 build host with Python 2
|
|
parent: dib-functests-extras
|
|
nodeset: centos-7
|
|
vars:
|
|
dib_python: python2
|