Browse Source

Add support for testing roles

Change-Id: I451c4851cf26e4cc08109683209aef01e2d187a8
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
changes/74/724874/8
Paul Belanger 2 years ago
parent
commit
fdd90ed6cf
  1. 49
      .zuul.yaml
  2. 2
      bindep.txt

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:
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

2
bindep.txt

@ -6,4 +6,4 @@ libffi-devel [platform:rpm]
libffi-dev [platform:dpkg]
libssl-dev [platform:dpkg]
openssl-devel [platform:rpm]
python2-dnf [platform:fedora]
python3-dnf [platform:fedora]

Loading…
Cancel
Save