tobiko/zuul.d/infrared.yaml
Eduardo Olivares b73f595bad Cleanup of infrared zuul jobs
tobiko-infrared-ubuntu is removed. It always fails because infrared is
not compatible with ubuntu-focal.

Former tobiko-infrared is removed. It did not really test anything
because there was no "primary" host in the inventory and essential
ansible plays from this job need to be run on the "primary" host.

Former tobiko-infrared-centos-9 is renamed to tobiko-infrared and it
will only use one node. The aim of this job is just to validate the the
tobiko infrared plugin works (it just executes tobiko unit and
functional tests).

Existing tobiko-check-collected-files ansible role has been removed. It
was only used to test that results where properly generated when the
tobiko infrared plugin was used, but it only work when no workflow was
specify.

Change-Id: I6e334014420757aafa436f42b189c932ed02ae56
2025-01-22 16:13:14 +01:00

58 lines
1.5 KiB
YAML

---
- project-template:
name: tobiko-infrared
description: |
Infrared jobs intended to gate infrared Tobiko plugin changes
check:
jobs:
- tobiko-infrared
gate:
jobs:
- tobiko-infrared
periodic:
jobs:
- tobiko-infrared
- job:
name: tobiko-infrared
parent: tox
nodeset: tobiko-infrared-single-node-centos-9
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: [primary]}
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/
- nodeset:
name: tobiko-infrared-single-node-centos-9
nodes:
- name: primary
label: centos-9-stream
groups:
- name: undercloud
nodes:
- primary