tobiko/zuul.d/infrared.yaml
Eduardo Olivares b32c3a5f6e Dropping python3.6 and python3.7 support
Depends-On: I4a5ac77948ddb65944b0852b03122190a659269b

Change-Id: If126f32a301c5bd0a2c50b6b9c6b0d8ef2cdf7ca
2023-08-25 15:39:07 +02:00

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