9ababf93d1
Change-Id: If29bf6578617d6ead09081e8b26e0421f86e8f7c
131 lines
3.1 KiB
YAML
131 lines
3.1 KiB
YAML
---
|
|
|
|
- project-template:
|
|
name: tobiko-infrared
|
|
description: |
|
|
Infrared jobs intended to gate infrared Tobiko plugin changes
|
|
check:
|
|
jobs:
|
|
- tobiko-infrared
|
|
- tobiko-infrared-centos-7
|
|
gate:
|
|
jobs:
|
|
- tobiko-infrared
|
|
- tobiko-infrared-centos-7
|
|
periodic:
|
|
jobs:
|
|
- tobiko-infrared
|
|
- tobiko-infrared-centos-7
|
|
- tobiko-infrared-fedora
|
|
- tobiko-infrared-ubuntu
|
|
|
|
|
|
- job:
|
|
name: tobiko-infrared
|
|
parent: tox
|
|
nodeset: tobiko-infrared-centos
|
|
timeout: 3600
|
|
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
|
|
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_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/
|
|
- ^releasenotes/
|
|
- ^report/
|
|
- ^tobiko/tests/scenario/
|
|
- ^tobiko/tests/faults/
|
|
|
|
|
|
- nodeset:
|
|
name: tobiko-infrared-centos
|
|
nodes:
|
|
- name: primary
|
|
label: centos-8-stream
|
|
- name: secondary
|
|
label: centos-8-stream
|
|
groups:
|
|
- name: undercloud
|
|
nodes:
|
|
- secondary
|
|
|
|
|
|
- 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
|
|
|
|
- nodeset:
|
|
name: tobiko-infrared-centos-7
|
|
nodes:
|
|
- name: primary
|
|
label: centos-7
|
|
- name: secondary
|
|
label: centos-7
|
|
groups:
|
|
- name: undercloud
|
|
nodes:
|
|
- secondary
|
|
|
|
- job:
|
|
name: tobiko-infrared-fedora
|
|
parent: tobiko-infrared
|
|
nodeset: tobiko-infrared-fedora
|
|
voting: false
|
|
description: |
|
|
Run test cases using tobiko infrared plugin on Fedora
|
|
|
|
- nodeset:
|
|
name: tobiko-infrared-fedora
|
|
nodes:
|
|
- name: primary
|
|
label: fedora-34
|
|
- name: secondary
|
|
label: fedora-34
|
|
groups:
|
|
- name: undercloud
|
|
nodes:
|
|
- secondary
|
|
|
|
|
|
- job:
|
|
name: tobiko-infrared-ubuntu
|
|
parent: tobiko-infrared
|
|
nodeset: tobiko-infrared-ubuntu
|
|
voting: false
|
|
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:
|
|
- name: undercloud
|
|
nodes:
|
|
- secondary
|