tobiko/zuul.d/infrared.yaml

98 lines
2.5 KiB
YAML

---
- job:
name: tobiko-infrared
parent: tox
nodeset: tobiko-infrared-centos
timeout: 1800
description: |
Run test cases using tobiko infrared plugin
pre-run: playbooks/infrared/pre.yaml
run: playbooks/infrared/run.yaml
required-projects:
- name: openstack/requirements
- name: x/tobiko
vars:
ensure_pip_from_packages_with_python2: no
test_collect_dir: '{{ zuul_output_dir }}/logs'
test_inventory_file: '{{ zuul_work_dir }}/ansible_hosts'
test_inventory_groups: {undercloud: [secondary]}
tox_envlist: infrared
tox_extra_args: -- --collect-dir {{ test_collect_dir | quote }}
tox_constraints_file: '{{ upper_constraints_file }}'
upper_constraints_file: '{{ ansible_user_dir }}/src/opendev.org/openstack/requirements/upper-constraints.txt'
tox_environ:
ANSIBLE_INVENTORY: '{{ test_inventory_file }}'
zuul_output_dir: '{{ ansible_user_dir }}/zuul-output'
zuul_work_dir: "{{ zuul.projects['opendev.org/x/tobiko'].src_dir }}"
irrelevant-files:
- ^.*\.rst$
- ^doc/
- ^releasenotes/
- ^report/
- ^tobiko/tests/scenario/
- ^tobiko/tests/faults/
- job:
name: tobiko-infrared-centos
parent: tobiko-infrared
nodeset: tobiko-infrared-centos
voting: false
description: |
Run test cases using tobiko infrared plugin on CentOS
- nodeset:
name: tobiko-infrared-centos
nodes:
- name: primary
label: centos-8-stream
- name: secondary
label: centos-8-stream
groups:
- name: undercloud
nodes:
- secondary
- job:
name: tobiko-infrared-fedora
parent: tobiko-infrared
nodeset: tobiko-infrared-fedora
voting: false
description: |
Run test cases using tobiko infrared plugin on Fedora
- nodeset:
name: tobiko-infrared-fedora
nodes:
- name: primary
label: fedora-32
- name: secondary
label: fedora-32
groups:
- name: undercloud
nodes:
- secondary
- job:
name: tobiko-infrared-ubuntu
parent: tobiko-infrared
nodeset: tobiko-infrared-ubuntu
voting: false
description: |
Run test cases using tobiko infrared plugin on Ubuntu
- nodeset:
name: tobiko-infrared-ubuntu
nodes:
- name: primary
label: ubuntu-focal
- name: secondary
label: ubuntu-focal
groups:
- name: undercloud
nodes:
- secondary