71ab051ab4
Change-Id: I96ef8ab59c22d8ddce63423031237495a491d891
144 lines
3.4 KiB
YAML
144 lines
3.4 KiB
YAML
---
|
|
|
|
- project-template:
|
|
name: tobiko-infrared
|
|
description: |
|
|
Infrared jobs intended to gate infrared Tobiko plugin changes
|
|
check:
|
|
jobs: &CHECK
|
|
- tobiko-infrared-centos-7
|
|
- tobiko-infrared-centos-8
|
|
- tobiko-infrared-centos-9
|
|
- tobiko-infrared-fedora-35
|
|
- tobiko-infrared-ubuntu
|
|
gate:
|
|
jobs:
|
|
- tobiko-infrared
|
|
periodic:
|
|
jobs: *CHECK
|
|
|
|
|
|
- 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
|