a869c8661e
Because we want users to support both pip / git install methods, refactor testing to support the testing of that. Change-Id: Ida9cec271c83b8d66ab185b693077574a89091a5 Signed-off-by: Paul Belanger <pabelanger@redhat.com>
76 lines
2.2 KiB
YAML
76 lines
2.2 KiB
YAML
- job:
|
|
name: ansible-role-diskimage-builder-base
|
|
pre-run: tests/playbooks/pre.yaml
|
|
run: tests/playbooks/run.yaml
|
|
roles:
|
|
- zuul: openstack/ansible-role-diskimage-builder
|
|
|
|
# Testing for diskimage_builder_install_method: pip
|
|
- job:
|
|
name: ansible-role-diskimage-builder
|
|
parent: ansible-role-diskimage-builder-base
|
|
vars:
|
|
diskimage_builder_install_method: pip
|
|
|
|
- job:
|
|
name: ansible-role-diskimage-builder-fedora-27
|
|
parent: ansible-role-diskimage-builder
|
|
nodeset: fedora-27
|
|
|
|
- job:
|
|
name: ansible-role-diskimage-builder-ubuntu-bionic
|
|
parent: ansible-role-diskimage-builder
|
|
nodeset: ubuntu-bionic
|
|
|
|
- job:
|
|
name: ansible-role-diskimage-builder-ubuntu-xenial
|
|
parent: ansible-role-diskimage-builder
|
|
nodeset: ubuntu-xenial
|
|
|
|
# Testing for diskimage_builder_install_method: git
|
|
- job:
|
|
name: ansible-role-diskimage-builder-src
|
|
parent: ansible-role-diskimage-builder-base
|
|
required-projects:
|
|
- name: openstack/diskimage-builder
|
|
vars:
|
|
diskimage_builder_git_update: false
|
|
diskimage_builder_install_method: git
|
|
|
|
- job:
|
|
name: ansible-role-diskimage-builder-src-fedora-27
|
|
parent: ansible-role-diskimage-builder-src
|
|
nodeset: fedora-27
|
|
|
|
- job:
|
|
name: ansible-role-diskimage-builder-src-ubuntu-bionic
|
|
parent: ansible-role-diskimage-builder-src
|
|
nodeset: ubuntu-bionic
|
|
|
|
- job:
|
|
name: ansible-role-diskimage-builder-src-ubuntu-xenial
|
|
parent: ansible-role-diskimage-builder-src
|
|
nodeset: ubuntu-xenial
|
|
|
|
- project:
|
|
templates:
|
|
- windmill-jobs-fedora-27
|
|
- windmill-jobs-bionic
|
|
- windmill-jobs-xenial
|
|
check:
|
|
jobs:
|
|
- ansible-role-diskimage-builder-fedora-27
|
|
- ansible-role-diskimage-builder-ubuntu-bionic
|
|
- ansible-role-diskimage-builder-ubuntu-xenial
|
|
- ansible-role-diskimage-builder-src-fedora-27
|
|
- ansible-role-diskimage-builder-src-ubuntu-bionic
|
|
- ansible-role-diskimage-builder-src-ubuntu-xenial
|
|
- tox-linters
|
|
gate:
|
|
jobs:
|
|
- ansible-role-diskimage-builder-fedora-27
|
|
- ansible-role-diskimage-builder-ubuntu-xenial
|
|
- ansible-role-diskimage-builder-src-fedora-27
|
|
- ansible-role-diskimage-builder-src-ubuntu-xenial
|
|
- tox-linters
|