tobiko/zuul.d/infrared.yaml

87 lines
2.1 KiB
YAML

---
- project-template:
name: tobiko-infrared
description: |
Infrared jobs intended to gate infrared Tobiko plugin changes
check:
jobs:
- tobiko-infrared-centos-9
gate:
jobs:
- tobiko-infrared
periodic:
jobs:
- tobiko-infrared-centos-9
- tobiko-infrared-ubuntu
- job:
name: tobiko-infrared
parent: tox
nodeset: centos-9-stream
timeout: 3600
description: |
Run test cases using tobiko infrared plugin
pre-run: playbooks/infrared/pre.yaml
run: playbooks/infrared/run.yaml
required-projects:
- name: x/tobiko
voting: true
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_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-9
parent: tobiko-infrared
nodeset: tobiko-infrared-centos-9
voting: true
description: |
Run test cases using tobiko infrared plugin on CentOS 9
- nodeset:
name: tobiko-infrared-centos-9
nodes:
- name: primary
label: centos-9-stream
- name: secondary
label: centos-9-stream
groups: &NODESET_GROUPS
- name: undercloud
nodes:
- secondary
- job:
name: tobiko-infrared-ubuntu
parent: tobiko-infrared
nodeset: tobiko-infrared-ubuntu
voting: true
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: *NODESET_GROUPS