devstack-plugin-tobiko/zuul.d/devstack-tobiko-minimal.yaml
yatinkarel 20081d10d7 Switch back stable branches jobs to focal
[1] Switched jobs to ubuntu jammy, but some of
these jobs also run on stable/branches and these
are broken for various reasons as mentioned in
the associated Bug, let's switch back these job
to ubuntu focal for stable branches.

[1] https://review.opendev.org/c/x/devstack-plugin-tobiko/+/893662
Closes-Bug: #2035578

Change-Id: Ibcf8442b386271f9f660f1470f6f2815e0f73aaf
2023-09-18 21:32:17 +05:30

123 lines
3.5 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: ^(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: ^(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