Ansible role to manage Nodepool
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.
 
 

61 lines
1.6 KiB

---
- 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-ubuntu-bionic
parent: ansible-role-nodepool
nodeset: ubuntu-bionic
vars:
nodepool_pip_version: 3.14.0
# 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-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-bionic
check:
jobs:
- ansible-role-nodepool-ubuntu-bionic
- ansible-role-nodepool-src-ubuntu-bionic:
voting: false
- tox-linters
gate:
jobs:
- ansible-role-nodepool-ubuntu-bionic
- tox-linters