tobiko/zuul.d/infrared.yaml

94 lines
2.7 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:
ensure_pip_from_packages_with_python2: no
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 }}"
irrelevant-files:
- ^.*\.rst$
- ^doc/
- ^infrared_plugin/
- ^releasenotes/
- ^report/
- ^tobiko/tests/functional/
- ^tobiko/tests/scenario/
- ^tobiko/tests/faults/
- 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 is required to workaround missing SE Linux Python 3 bindings
IR_DEPS: "git+https://review.gerrithub.io/redhat-openstack/infrared@refs/changes/15/493715/5"
- 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-fedora-32
parent: tobiko-tox-infrared
nodeset: fedora-32-2-node
voting: false
description: |
Run test cases using tobiko infrared plugin on Fedora 32
- 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