tobiko/zuul.d/infrared.yaml
Federico Ressi 9cf069dbb0 Remove support for Python2.7 on all upstream jobs
Because upstream OpenStack requirements master branch
(Victoria) removed any support for Python 2.7 upstream
jobs started failing. We where only using Python 2
because infrared installation process fails on
RHEL/CentOS 7 and Python 3 due to lacking SE Linux
Python bindings.

This workaround this issue by removing support
for Python 2.7 and CentOS/RHEL 7. The support for
CentOS 7 could be restored once the IR issue has
been fixed.

Change-Id: I09d2577a0e5cb4c7efbb6863294f63b2dd88de0a
2020-05-18 14:58:20 +02:00

44 lines
1.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-8
parent: tobiko-tox-infrared
nodeset: centos-8-2-node
voting: true
description: |
Run py36 test cases using tobiko infrared plugin on CentOS 8
- job:
name: tobiko-tox-infrared-ubuntu-bionic
parent: tobiko-tox-infrared
nodeset: ubuntu-bionic-2-node
voting: false
description: |
Run py36 test cases using tobiko infrared plugin on Ubuntu Bionic