tobiko/zuul.d/infrared.yaml

79 lines
2.4 KiB
YAML

---
- job:
name: tobiko-tox-infrared
parent: tox
abstract: true
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:
test_collect_dir: '{{ zuul_output_dir }}/logs'
test_inventory_file: '{{ zuul_work_dir }}/ansible_hosts'
tox_envlist: infrared
tox_extra_args: -- --host secondary --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 }}"
- job:
name: tobiko-tox-infrared-centos-7
parent: tobiko-tox-infrared
nodeset: centos-7-2-node
voting: false
description: |
Run test cases using tobiko infrared plugin on CentOS 7
vars:
tox_environment:
# This patchset fixes installing IR on CentOS 7 and Python 3.6
IR_DEPS: "git+https://review.gerrithub.io/redhat-openstack/infrared@refs/changes/15/493715/3"
- job:
name: tobiko-tox-infrared-centos-8
parent: tobiko-tox-infrared
nodeset: centos-8-2-node
voting: true
description: |
Run test cases using tobiko infrared plugin on CentOS 8
- job:
name: tobiko-tox-infrared-fedora-31
parent: tobiko-tox-infrared
nodeset: fedora-31-2-node
voting: false
description: |
Run test cases using tobiko infrared plugin on Fedora 31
- job:
name: tobiko-tox-infrared-ubuntu-bionic
parent: tobiko-tox-infrared
nodeset: ubuntu-bionic-2-node
voting: false
description: |
Run test cases using tobiko infrared plugin on Ubuntu Bionic
- job:
name: tobiko-tox-infrared-ubuntu-focal
parent: tobiko-tox-infrared
nodeset: ubuntu-focal-2-node
voting: false
description: |
Run test cases using tobiko infrared plugin on Ubuntu Focal
vars:
tox_environment:
# This patchset fixes installing IR on Ubuntu Focal and Python 3.8
IR_DEPS: "git+https://review.gerrithub.io/redhat-openstack/infrared@refs/changes/23/493623/2"