Add support for testing roles
Change-Id: I451c4851cf26e4cc08109683209aef01e2d187a8 Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
parent
081decef02
commit
fdd90ed6cf
49
.zuul.yaml
49
.zuul.yaml
@ -1,8 +1,55 @@
|
|||||||
---
|
- 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:
|
- project:
|
||||||
check:
|
check:
|
||||||
jobs:
|
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
|
- tox-linters
|
||||||
gate:
|
gate:
|
||||||
jobs:
|
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
|
- tox-linters
|
||||||
|
@ -6,4 +6,4 @@ libffi-devel [platform:rpm]
|
|||||||
libffi-dev [platform:dpkg]
|
libffi-dev [platform:dpkg]
|
||||||
libssl-dev [platform:dpkg]
|
libssl-dev [platform:dpkg]
|
||||||
openssl-devel [platform:rpm]
|
openssl-devel [platform:rpm]
|
||||||
python2-dnf [platform:fedora]
|
python3-dnf [platform:fedora]
|
||||||
|
Loading…
Reference in New Issue
Block a user