ansible-role-refstack-client/.zuul.yaml
Martin Kopec 30c7a1301d Do not run orchestration program by default and fix lint
Don't run heat tempest tests by default until they're fixed.
Most of them currently fail, it seems, they are incompatible
with the latest gabbi.

The patch fixes 'All tasks should be named' linters error.
and bumps version of the linters which includes a fix for
the linters issue:
ImportError: cannot import name 'render_group'

Install python-manilaclient from source so that it contains
latest (not yet packaged) changes.

Change-Id: Idd9180ecbe396f73a03922982a4e005a84a77d02
2022-01-18 07:43:38 +00:00

121 lines
4.2 KiB
YAML

---
- project:
check:
jobs:
- openstack-tox-linters
- refstack-client-devstack-master
- refstack-client-devstack-xena
- refstack-client-devstack-wallaby
- refstack-client-devstack-victoria
- refstack-client-devstack-ussuri
- refstack-client-devstack-train
gate:
jobs:
- openstack-tox-linters
- refstack-client-devstack-master
- refstack-client-devstack-xena
- refstack-client-devstack-wallaby
- refstack-client-devstack-victoria
- refstack-client-devstack-ussuri
- refstack-client-devstack-train
- job:
name: refstack-client-devstack-master
parent: devstack
description: A job for refstack-client on a devstack environment
required-projects:
- openinfra/refstack-client
- openinfra/ansible-role-refstack-client
- openinfra/python-tempestconf
- openstack/devstack
- openstack/requirements
# NOTE until refstack-client installs plugins from local source
# the plugin code can't be gated by this job as the patches in gerrit
# are not taken into account
- openstack/designate
- openstack/designate-tempest-plugin
- openstack/heat
- openstack/heat-tempest-plugin
- openstack/manila
- openstack/manila-ui
# NOTE the same as for designate plugin above
- openstack/manila-tempest-plugin
- openstack/python-manilaclient
roles:
- zuul: openstack/devstack
vars:
zuul_copy_output:
"{{ zuul.projects['opendev.org/openinfra/refstack-client'].src_dir }}/etc/accounts.yaml": logs
"{{ zuul.projects['opendev.org/openinfra/refstack-client'].src_dir }}/etc/tempest.conf": logs
"{{ zuul.projects['opendev.org/openinfra/refstack-client'].src_dir }}/.tempest/.stestr/": logs
"{{ zuul.projects['opendev.org/openinfra/refstack-client'].src_dir }}/.tempest/tempest.log": logs
devstack_plugins:
heat: https://opendev.org/openstack/heat
designate: https://opendev.org/openstack/designate
manila: https://opendev.org/openstack/manila
manila-ui: https://opendev.org/openstack/manila-ui
devstack_localrc:
LIBS_FROM_GIT: python-manilaclient
SHARE_DRIVER: manila.share.drivers.lvm.LVMShareDriver
MANILA_ENABLED_BACKENDS: london,paris
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
MANILA_SHARE_MIGRATION_PERIOD_TASK_INTERVAL: 1
MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True create_share_from_snapshot_support=True revert_to_snapshot_support=True mount_snapshot_support=True' # yamllint disable-line rule:line-length
devstack_services:
h-eng: true
h-api: true
h-api-cfn: true
h-api-cw: true
designate: true
designate-central: true
designate-api: true
designate-worker: true
designate-producer: true
designate-mdns: true
run: playbooks/refstack-client-devstack.yaml
irrelevant-files:
- ^.*\.md$
- job:
name: refstack-client-devstack-xena
parent: refstack-client-devstack-master
override-checkout: stable/xena
vars:
branch: stable/xena
- job:
name: refstack-client-devstack-wallaby
parent: refstack-client-devstack-master
override-checkout: stable/wallaby
vars:
branch: stable/wallaby
- job:
name: refstack-client-devstack-victoria
parent: refstack-client-devstack-master
override-checkout: stable/victoria
vars:
branch: stable/victoria
- job:
name: refstack-client-devstack-ussuri
parent: refstack-client-devstack-master
override-checkout: stable/ussuri
vars:
branch: stable/ussuri
- job:
name: refstack-client-devstack-train
parent: refstack-client-devstack-master
override-checkout: stable/train
vars:
branch: stable/train
devstack_localrc:
USE_PYTHON3: true