tobiko/zuul.d/infrared.yaml
Eduardo Olivares 7b67ccba2e Replace Ubuntu guest images with Fedora
Tobiko has always used Ubuntu images as advanced guest images to create
VM instances during its tests.
This patch replaces the Ubuntu image with a Fedora image that is
customized to work with Tobiko tests properly.

The different files, config parameters, classes and attributes are
renamed to use the generic "advanced_vm" and "Advanced" prefixes to make
it easier in case another change of guest images is done in the future.

Depends-On: I6015af347dba6b8a587fa3b3811ca4c8cdd41b7a

Change-Id: Ie4ed523eb9646b6e79553341500c2e3314af8c3d
2025-01-22 15:24:08 +00:00

62 lines
1.7 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 }}
--customized-fedora-image-url
https://download.fedoraproject.org/pub/fedora/linux/releases/40/Cloud/x86_64/images/Fedora-Cloud-Base-Generic.x86_64-40-1.14.qcow2
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