97ee6c828b
This was an experiment to see if using molecule was something we wanted to do. However, a lot of tihs logic is duplicated by zuul. Change-Id: Ie59edff5825496bb1f34825ae2f916afdf198593 Signed-off-by: Paul Belanger <pabelanger@redhat.com>
77 lines
2.1 KiB
YAML
77 lines
2.1 KiB
YAML
---
|
|
- job:
|
|
name: ansible-role-nodepool-base
|
|
pre-run: tests/playbooks/pre.yaml
|
|
run:
|
|
- tests/playbooks/run.yaml
|
|
- tests/playbooks/run-post.yaml
|
|
post-run: tests/collect-logs.yaml
|
|
roles:
|
|
- zuul: windmill/ansible-role-nodepool
|
|
|
|
# Testing for nodepool_install_method: pip
|
|
- job:
|
|
name: ansible-role-nodepool
|
|
parent: ansible-role-nodepool-base
|
|
|
|
- job:
|
|
name: ansible-role-nodepool-fedora-latest
|
|
parent: ansible-role-nodepool
|
|
nodeset: fedora-latest
|
|
|
|
- job:
|
|
name: ansible-role-nodepool-ubuntu-bionic
|
|
parent: ansible-role-nodepool
|
|
nodeset: ubuntu-bionic
|
|
|
|
# Testing for nodepool_install_method: git
|
|
- job:
|
|
name: ansible-role-nodepool-src
|
|
parent: ansible-role-nodepool-base
|
|
required-projects:
|
|
- name: zuul/nodepool
|
|
vars:
|
|
nodepool_git_update: false
|
|
nodepool_install_method: git
|
|
|
|
- job:
|
|
name: ansible-role-nodepool-src-fedora-latest
|
|
parent: ansible-role-nodepool-src
|
|
nodeset: fedora-latest
|
|
|
|
- job:
|
|
name: ansible-role-nodepool-src-ubuntu-bionic
|
|
parent: ansible-role-nodepool-src
|
|
nodeset: ubuntu-bionic
|
|
|
|
# Testing for nodepool_install_method: docker
|
|
- job:
|
|
name: ansible-role-nodepool-docker
|
|
parent: ansible-role-nodepool-base
|
|
nodeset: ubuntu-bionic
|
|
vars:
|
|
nodepool_install_method: docker
|
|
nodepool_file_nodepool_builder_service_src: etc/systemd/system/nodepool-builder.service.j2
|
|
nodepool_file_nodepool_launcher_service_src: etc/systemd/system/nodepool-launcher.service.j2
|
|
|
|
- project:
|
|
templates:
|
|
- windmill-jobs-fedora-latest
|
|
- windmill-jobs-bionic
|
|
check:
|
|
jobs:
|
|
- ansible-role-nodepool-docker
|
|
- ansible-role-nodepool-fedora-latest
|
|
- ansible-role-nodepool-ubuntu-bionic
|
|
- ansible-role-nodepool-src-fedora-latest
|
|
- ansible-role-nodepool-src-ubuntu-bionic
|
|
- tox-linters
|
|
gate:
|
|
jobs:
|
|
- ansible-role-nodepool-docker
|
|
- ansible-role-nodepool-fedora-latest
|
|
- ansible-role-nodepool-ubuntu-bionic
|
|
- ansible-role-nodepool-src-fedora-latest
|
|
- ansible-role-nodepool-src-ubuntu-bionic
|
|
- tox-linters
|