manila/zuul.d/grenade-jobs.yaml
Ghanshyam Mann 773359a20b Update manila-grenade-skip-level job for new release
2023.1 is SLURP release and can test the upgrade from
stable/yoga to 2023.1 by manila-grenade-skip-level job.

This commit updates the setting for that job to do so and
also add branches variant to avoid running it on non-SLURP
(zed) release gate.

Change-Id: I0381d89ee7a3c6974ad3b2e1853a4c1ef4b4e77c
2022-09-29 11:01:39 -05:00

121 lines
4.6 KiB
YAML

- job:
name: manila-grenade
parent: grenade
irrelevant-files:
- ^(test-|)requirements.txt$
- ^.*\.rst$
- ^api-ref/.*$
- ^doc/.*$
- ^manila/hacking/.*$
- ^manila/tests/.*$
- ^releasenotes/.*$
- ^setup.cfg$
- ^tools/.*$
- ^tox.ini$
required-projects:
- openstack/grenade
- openstack/manila
- openstack/python-manilaclient
- openstack/manila-tempest-plugin
vars:
grenade_devstack_localrc:
shared:
# This job performs data path tests, it's good to test
# both DHSS driver modes with it, but for now, it'll use the LVM
# driver (DHSS=False)
MANILA_ALLOW_NAS_SERVER_PORTS_ON_HOST: true
MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True create_share_from_snapshot_support=True revert_to_snapshot_support=True mount_snapshot_support=True'
MANILA_CONFIGURE_DEFAULT_TYPES: true
SHARE_DRIVER: manila.share.drivers.lvm.LVMShareDriver
MANILA_ENABLED_BACKENDS: london,paris
# TODO(vkmc) Grenade uses prior branch for running tests
# Drop this variables in Xena once Wallaby is shipped
MANILA_BACKEND1_CONFIG_GROUP_NAME: london
MANILA_BACKEND2_CONFIG_GROUP_NAME: paris
MANILA_SHARE_BACKEND1_NAME: LONDON
MANILA_SHARE_BACKEND2_NAME: PARIS
MANILA_OPTGROUP_london_driver_handles_share_servers: false
MANILA_OPTGROUP_paris_driver_handles_share_servers: false
SHARE_BACKING_FILE_SIZE: 32000M
devstack_plugins:
manila: https://opendev.org/openstack/manila.git
devstack_services:
manila: true
m-api: true
m-sch: true
m-shr: true
m-dat: true
# don't need some services
c-api: false
c-bak: false
c-vol: false
cinder: false
# These services can be turned off, if not
# for: https://launchpad.net/bugs/1887835
# g-api: false
# g-reg: false
# n-api: false
# n-api-meta: false
# n-cauth: false
# n-cond: false
# n-cpu: false
# n-novnc: false
# n-obj: false
# n-sch: false
# placement-api: false
# q-agt: false
# q-dhcp: false
# q-l3: false
# q-meta: false
# q-metering: false
# q-svc: false
s-account: false
s-container: false
s-object: false
s-proxy: false
devstack_local_conf:
test-config:
"$TEMPEST_CONFIG":
share:
default_share_type_name: default
run_mount_snapshot_tests: true
run_shrink_tests: false
run_revert_to_snapshot_tests: true
enable_user_rules_for_protocols: cifs
enable_ip_rules_for_protocols: nfs
multitenancy_enabled: False
backend_names: LONDON,PARIS
multi_backend: true
tempest_plugins:
- manila-tempest-plugin
tempest_test_regex: ^manila_tempest_tests.tests.api
tox_envlist: all
- job:
name: manila-grenade-skip-level
description: |
Grenade job that skips a release, validating that deployers can skip
specific releases as prescribed by our process.
parent: manila-grenade
# NOTE(gmann): This job is started and meant to be run from Yoga release.
# This job is meant to validate the SLURP to SLURP release
# upgrade so supposed to run on SLURP release gate only. To make sure
# that, when the current master is not SLURP release, below branch variant will
# stop running it on not SLURP release master. And once new SLURP release start
# (means the current master is SLURP release), we need to remove the 'master'
# from the below branch variant condition so that it again start running on
# SLURP release master gate.
# Along with grenade gate, this job runs on many other projects gate
# also and in this job definition, we control for everyone to run on SLURP
# release only.
branches: ^(?!stable/(pike|queens|rocky|stein|train|ussuri|victoria|wallaby|xena|zed)).*$
vars:
# Move this forward when master changes to a new skip-level-allowed
# target release. Right now, this is stable/yoga because current master is 2023.1
# (which is N+2 release from yoga so skipping zed release and testing the upgrade
# from stable/yoga -> 2023.1). When master is 2023.3, this should become 2023.1,
# and so forth.
grenade_from_branch: stable/yoga
grenade_localrc:
NOVA_ENABLE_UPGRADE_WORKAROUND: True