ansible-role-boto3/.zuul.yaml
Paul Belanger fdd90ed6cf Add support for testing roles
Change-Id: I451c4851cf26e4cc08109683209aef01e2d187a8
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2020-05-04 10:13:13 -04:00

56 lines
1.3 KiB
YAML

- job:
name: ansible-role-boto3-base
parent: unittests
pre-run: tests/playbooks/pre.yaml
run: tests/playbooks/run.yaml
roles:
- zuul: windmill/ansible-role-boto3
# Testing for boto3_install_method: pip
- job:
name: ansible-role-boto3
parent: ansible-role-boto3-base
- job:
name: ansible-role-boto3-fedora-latest
parent: ansible-role-boto3
nodeset: fedora-latest
- job:
name: ansible-role-boto3-ubuntu-bionic
parent: ansible-role-boto3
nodeset: ubuntu-bionic
# Testing for boto3_install_method: git
- job:
name: ansible-role-boto3-src
parent: ansible-role-boto3-base
vars:
boto3_install_method: git
- job:
name: ansible-role-boto3-src-fedora-latest
parent: ansible-role-boto3-src
nodeset: fedora-latest
- job:
name: ansible-role-boto3-src-ubuntu-bionic
parent: ansible-role-boto3-src
nodeset: ubuntu-bionic
- project:
check:
jobs:
- ansible-role-boto3-fedora-latest
- ansible-role-boto3-ubuntu-bionic
- ansible-role-boto3-src-fedora-latest
- ansible-role-boto3-src-ubuntu-bionic
- tox-linters
gate:
jobs:
- ansible-role-boto3-fedora-latest
- ansible-role-boto3-ubuntu-bionic
- ansible-role-boto3-src-fedora-latest
- ansible-role-boto3-src-ubuntu-bionic
- tox-linters