An Ansible deployment to validate ansible roles for Continuous Integration.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

90 lines
2.2 KiB

---
- job:
name: windmill-base
parent: unittests
pre-run: tests/playbooks/pre.yaml
run:
- tests/playbooks/run-pre.yaml
- tests/playbooks/run.yaml
- tests/playbooks/run-post.yaml
post-run: tests/playbooks/post.yaml
required-projects:
- windmill/ansible-role-ansible
- windmill/ansible-role-boto3
- windmill/ansible-role-diskimage-builder
- windmill/ansible-role-gear
- windmill/ansible-role-logrotate
- windmill/ansible-role-nginx
- windmill/ansible-role-nodepool
- windmill/ansible-role-openstacksdk
- windmill/ansible-role-ssh
- windmill/ansible-role-statsd
- windmill/ansible-role-sudoers
- windmill/ansible-role-virtualenv
- windmill/ansible-role-zookeeper
- windmill/ansible-role-zuul
- windmill/ansible-role-zuul-registry
- openstack/diskimage-builder
- openstack/openstacksdk
- windmill/windmill
- windmill/windmill-config
- windmill/windmill-ops
- opendev/gear
- zuul/nodepool
- zuul/zuul
- zuul/zuul-registry
vars:
zuul_work_dir: "{{ zuul.projects['opendev.org/windmill/windmill'].src_dir }}"
timeout: 3600
# Testing for install_method: pip
- job:
name: windmill
parent: windmill-base
vars:
windmill_extra_vars_file: tests/extra-vars/pip.yaml
- job:
name: windmill-centos-7
parent: windmill
nodeset: centos-7
- job:
name: windmill-fedora-latest
parent: windmill
nodeset: fedora-latest
- job:
name: windmill-ubuntu-bionic
parent: windmill
nodeset: ubuntu-bionic
# Testing for install_method: git
- job:
name: windmill-src
parent: windmill-base
required-projects:
- openstack/diskimage-builder
- openstack/openstacksdk
- opendev/gear
- zuul/nodepool
- openstack/openstacksdk
- zuul/zuul
- zuul/zuul-registry
vars:
windmill_extra_vars_file: tests/extra-vars/git.yaml
- job:
name: windmill-src-centos-7
parent: windmill-src
nodeset: centos-7
- job:
name: windmill-src-fedora-latest
parent: windmill-src
nodeset: fedora-latest
- job:
name: windmill-src-ubuntu-bionic
parent: windmill-src
nodeset: ubuntu-bionic