df5c26df8e
Change-Id: I2b13c37e373bf2dc1a4dbc060ef6a2c65ac752de
148 lines
3.5 KiB
YAML
148 lines
3.5 KiB
YAML
---
|
|
|
|
- project-template:
|
|
name: tobiko-infrared
|
|
description: |
|
|
Infrared jobs intended to gate infrared Tobiko plugin changes
|
|
check:
|
|
jobs:
|
|
- tobiko-infrared-centos-7
|
|
- tobiko-infrared-centos-8
|
|
- tobiko-infrared-fedora-35
|
|
- tobiko-infrared-ubuntu
|
|
gate:
|
|
jobs:
|
|
- tobiko-infrared
|
|
periodic:
|
|
jobs:
|
|
- tobiko-infrared-centos-7
|
|
- tobiko-infrared-centos-8
|
|
- tobiko-infrared-centos-9
|
|
- tobiko-infrared-fedora-35
|
|
- tobiko-infrared-ubuntu
|
|
|
|
|
|
- job:
|
|
name: tobiko-infrared
|
|
parent: tox
|
|
nodeset: tobiko-infrared-fedora-35
|
|
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-7
|
|
parent: tobiko-infrared
|
|
nodeset: tobiko-infrared-centos-7
|
|
voting: true
|
|
description: |
|
|
Run test cases using tobiko infrared plugin on CentOS 7
|
|
|
|
- nodeset:
|
|
name: tobiko-infrared-centos-7
|
|
nodes:
|
|
- name: primary
|
|
label: centos-7
|
|
- name: secondary
|
|
label: centos-7
|
|
groups: &NODESET_GROUPS
|
|
- name: undercloud
|
|
nodes:
|
|
- secondary
|
|
|
|
|
|
- job:
|
|
name: tobiko-infrared-centos-8
|
|
parent: tobiko-infrared
|
|
nodeset: tobiko-infrared-centos-8
|
|
voting: true
|
|
description: |
|
|
Run test cases using tobiko infrared plugin on CentOS 8
|
|
|
|
- nodeset:
|
|
name: tobiko-infrared-centos-8
|
|
nodes:
|
|
- name: primary
|
|
label: centos-8-stream
|
|
- name: secondary
|
|
label: centos-8-stream
|
|
groups: *NODESET_GROUPS
|
|
|
|
|
|
- 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 8
|
|
|
|
- nodeset:
|
|
name: tobiko-infrared-centos-9
|
|
nodes:
|
|
- name: primary
|
|
label: centos-9-stream
|
|
- name: secondary
|
|
label: centos-9-stream
|
|
groups: *NODESET_GROUPS
|
|
|
|
|
|
- job:
|
|
name: tobiko-infrared-fedora-35
|
|
parent: tobiko-infrared
|
|
nodeset: tobiko-infrared-fedora-35
|
|
voting: true
|
|
description: |
|
|
Run test cases using tobiko infrared plugin on Fedora
|
|
|
|
- nodeset:
|
|
name: tobiko-infrared-fedora-35
|
|
nodes:
|
|
- name: primary
|
|
label: fedora-35
|
|
- name: secondary
|
|
label: fedora-35
|
|
groups: *NODESET_GROUPS
|
|
|
|
|
|
- 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
|