Skip to content

Commit 85d21ad

Browse files
Zuulopenstack-gerrit
authored andcommitted
Merge "Convert nova-lvm job to zuul v3"
2 parents 2b2a5ce + 35d8f93 commit 85d21ad

File tree

4 files changed

+25
-137
lines changed

4 files changed

+25
-137
lines changed

.zuul.yaml

Lines changed: 25 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -132,17 +132,14 @@
132132

133133
- job:
134134
name: nova-lvm
135-
parent: nova-dsvm-base
135+
parent: devstack-tempest
136136
description: |
137137
Run tempest compute API tests using LVM image backend. This only runs
138138
against nova/virt/libvirt/* changes.
139-
run: playbooks/legacy/nova-lvm/run.yaml
140-
post-run: playbooks/legacy/nova-lvm/post.yaml
141139
# Copy irrelevant-files from nova-dsvm-base and then exclude anything
142-
# that is not in nova/virt/libvirt/* or nova/privsep/* (besides the actual
143-
# zuul playbook and tempest rc files so this can be self-testing).
140+
# that is not in nova/virt/libvirt/* or nova/privsep/*.
144141
irrelevant-files:
145-
- ^(?!.zuul.yaml)(?!playbooks/legacy/nova-lvm/)(?!devstack/tempest-dsvm-lvm-rc)(?!nova/virt/libvirt/)(?!nova/privsep/).*$
142+
- ^(?!.zuul.yaml)(?!nova/virt/libvirt/)(?!nova/privsep/).*$
146143
- ^api-.*$
147144
- ^(test-|)requirements.txt$
148145
- ^.*\.rst$
@@ -160,6 +157,28 @@
160157
# TODO(mriedem): Make this voting and gating once bug 1771700 is fixed
161158
# and we've had enough runs to feel comfortable with this setup.
162159
voting: false
160+
vars:
161+
# We use the "all" environment for tempest_test_regex and
162+
# tempest_black_regex.
163+
tox_envlist: all
164+
# Only run compute API tests.
165+
tempest_test_regex: ^tempest\.api\.compute
166+
# Skip slow tests.
167+
tempest_black_regex: .*\[.*\bslow\b.*\]
168+
devstack_local_conf:
169+
test-config:
170+
$TEMPEST_CONFIG:
171+
compute-feature-enabled:
172+
# NOTE(mriedem): resize of non-volume-backed lvm instances does
173+
# not yet work (bug 1831657).
174+
resize: false
175+
cold_migration: false
176+
devstack_localrc:
177+
NOVA_BACKEND: LVM
178+
# Do not waste time clearing volumes.
179+
LVM_VOLUME_CLEAR: none
180+
# Disable SSH validation in tests to save time.
181+
TEMPEST_RUN_VALIDATION: false
163182

164183
- job:
165184
name: nova-next

devstack/tempest-dsvm-lvm-rc

Lines changed: 0 additions & 62 deletions
This file was deleted.

playbooks/legacy/nova-lvm/post.yaml

Lines changed: 0 additions & 15 deletions
This file was deleted.

playbooks/legacy/nova-lvm/run.yaml

Lines changed: 0 additions & 54 deletions
This file was deleted.

0 commit comments

Comments
 (0)