ansible-role-gear/.zuul.yaml

77 lines
2.0 KiB
YAML

- job:
name: ansible-role-gearman-base
pre-run: tests/playbooks/pre.yaml
run: tests/playbooks/run.yaml
post-run: tests/collect-logs.yaml
roles:
- zuul: openstack/ansible-role-gearman
# Testing for gearman_install_method: pip
- job:
name: ansible-role-gearman
parent: ansible-role-gearman-base
- job:
name: ansible-role-gearman-fedora-latest
parent: ansible-role-gearman
nodeset: fedora-latest
- job:
name: ansible-role-gearman-ubuntu-bionic
parent: ansible-role-gearman
nodeset: ubuntu-bionic
- job:
name: ansible-role-gearman-ubuntu-xenial
parent: ansible-role-gearman
nodeset: ubuntu-xenial
# Testing for gearman_install_method: git
- job:
name: ansible-role-gearman-src
parent: ansible-role-gearman-base
required-projects:
- name: openstack-infra/gear
vars:
gear_git_update: false
gear_install_method: git
- job:
name: ansible-role-gearman-src-fedora-latest
parent: ansible-role-gearman-src
nodeset: fedora-latest
- job:
name: ansible-role-gearman-src-ubuntu-bionic
parent: ansible-role-gearman-src
nodeset: ubuntu-bionic
- job:
name: ansible-role-gearman-src-ubuntu-xenial
parent: ansible-role-gearman-src
nodeset: ubuntu-xenial
- project:
templates:
- windmill-jobs-fedora-latest
- windmill-jobs-bionic
- windmill-jobs-xenial
check:
jobs:
- ansible-role-gearman-fedora-latest
- ansible-role-gearman-ubuntu-bionic
- ansible-role-gearman-ubuntu-xenial
- ansible-role-gearman-src-fedora-latest
- ansible-role-gearman-src-ubuntu-bionic
- ansible-role-gearman-src-ubuntu-xenial
- tox-linters
gate:
jobs:
- ansible-role-gearman-fedora-latest
- ansible-role-gearman-ubuntu-bionic
- ansible-role-gearman-ubuntu-xenial
- ansible-role-gearman-src-fedora-latest
- ansible-role-gearman-src-ubuntu-bionic
- ansible-role-gearman-src-ubuntu-xenial
- tox-linters