devstack-plugin-tobiko/zuul.d/devstack-tobiko-minimal.yaml
yatinkarel 2a458c8bea Fix branch regex to cover unmaintained branches
Required to keep running jobs when branches are
renamed from stable to unmaintained.

Also drop references for TripleO projects as
dropped from zuul config[1].

[1] https://review.opendev.org/c/openstack/project-config/+/910270

Related-Bug: #2056276
Change-Id: Ie5a92efa3a9b8dbdd9f2783380ce0c13ca264258
2024-03-08 06:34:31 +00:00

123 lines
3.6 KiB
YAML

---
- project-template:
name: devstack-tobiko-minimal
description: |
Minimal DevStack jobs intended to gate projects with Tobiko
check: &CHECK
jobs:
- devstack-tobiko-minimal
gate: *CHECK
periodic: *CHECK
# --- Minimal jobs -----------------------------------------------------------
- job:
abstract: false
name: devstack-tobiko-minimal
parent: devstack
nodeset: devstack-tobiko-jammy
voting: true
branches:
regex: ^(unmaintained|stable/(wallaby|xena|yoga|zed|2023.1)).*$
negate: true
description: |
Minimal Devstack Tobiko Plugin job.
This job provides the base for both the single and multi-node
test setup. To run a multi-node test inherit from devstack-tobiko
job and set the nodeset to a multi-node one.
required-projects:
- openstack/devstack-gate
- openstack/heat
- x/devstack-plugin-tobiko
- x/tobiko
roles:
- zuul: x/tobiko
timeout: 10800
vars: &job_vars
configure_swap_size: 8192
devstack_localrc:
GLANCE_ENABLE_QUOTAS: false
LOG_COLOR: false
MULTI_HOST: 0
devstack_plugins:
heat: https://opendev.org/openstack/heat.git
devstack-plugin-tobiko: https://opendev.org/x/devstack-plugin-tobiko.git
devstack_services:
heat: true
h-api: true
h-api-cfn: true
h-eng: true
n-cpu: true
tempest: false
tls-proxy: false
s-account: false
s-container: false
s-object: false
s-proxy: false
# NOTE(slaweq): without Swift, c-bak cannot run (in the Gate at least)
c-bak: false
devstack_local_conf:
post-config:
$NEUTRON_CONF:
ovn:
# TODO(slaweq): remove this config option once jobs will be
# migrated to Ubuntu 22.04 or newer
allow_stateless_action_supported: False
zuul_copy_output:
'{{ stage_dir }}/stackviz': logs
"{{ devstack_base_dir }}/data/ovn": "logs"
"{{ devstack_base_dir }}/data/ovs": "logs"
"{{ devstack_log_dir }}/ovsdb-server-nb.log": "logs"
"{{ devstack_log_dir }}/ovsdb-server-sb.log": "logs"
extensions_to_txt:
conf: true
log: true
yaml: true
yml: true
test_log_debug: true
test_case_timeout: 1800
test_workflow: faults
pre-run: playbooks/devstack/pre.yaml
run: playbooks/devstack/run.yaml
post-run: playbooks/devstack/post.yaml
irrelevant-files: &irrelevant-files
- ^.*\.rst$
- ^doc/
- ^infrared_plugin/
- ^playbooks/vagrant
- ^releasenotes/
- ^report/
- ^tobiko/tests/functional/
- ^tobiko/tests/unit/
- ^Vagrantfile
- job:
abstract: false
name: devstack-tobiko-minimal
parent: devstack
nodeset: devstack-tobiko-focal
voting: true
branches: ^(unmaintained|stable/(wallaby|xena|yoga|zed|2023.1)).*$
description: |
Minimal Devstack Tobiko Plugin job Stable branches variant.
This job provides the base for both the single and multi-node
test setup. To run a multi-node test inherit from devstack-tobiko
job and set the nodeset to a multi-node one.
required-projects:
- openstack/devstack-gate
- openstack/heat
- x/devstack-plugin-tobiko
- x/tobiko
roles:
- zuul: x/tobiko
timeout: 10800
vars: *job_vars
pre-run: playbooks/devstack/pre.yaml
run: playbooks/devstack/run.yaml
post-run: playbooks/devstack/post.yaml
irrelevant-files: *irrelevant-files