Files
devstack-plugin-ceph/.zuul.yaml
Goutham Pacha Ravi 25968ce86b [manila][ci] Replace legacy jobs
- manila-tempest-minimal-dsvm-cephfs-native and
  manila-tempest-minimal-dsvm-cephfs-nfs are both
  legacy jobs that use the now deprecated
  devstack-gate.
- We no longer need the CentOS based experimental
  jobs for manila since the manila team plans to
  delete them from their tree. Newer CentOS experiments
  can happen with the native zuulv3 style jobs.
- The jobs added are inheriting manila-tempest-plugin jobs,
  but currently don't override anything - there's a plan
  to supply overrides soon to accommodate the ceph support
  matrix that the manila team wants to test via this
  repository.
- Also make minor refactors to existing base
  jobs to make reuse of certain things easier

A future commit will remove the pre-test-hook and
post-test-hook scripts; they're presently there to allow
testing legacy jobs against older releases of
openstack/manila.

Change-Id: I20ab47cf7846e7c0291ef4771cc93fd85d0452b0
Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com>
2020-07-13 16:53:16 -07:00

174 lines
5.8 KiB
YAML

- job:
name: devstack-plugin-ceph-tempest-base
abstract: true
parent: tempest-full
description: |
Base integration tests that runs with the ceph devstack plugin.
Former names for this job where:
* legacy-tempest-dsvm-full-devstack-plugin-ceph
* gate-tempest-dsvm-full-devstack-plugin-ceph-ubuntu-xenial
The original job included support for an un-used tempest-conf.sh:
# If an in-repo configuration exists, source it. This will likely
# override DEVSTACK_GATE_TEMPEST_REGEX to further refine the set of
# tests being run.
required-projects:
- openstack/cinder-tempest-plugin
- openstack/devstack-plugin-ceph
irrelevant-files: &irrelevant-files
- ^.*\.rst$
- ^doc/.*$
- ^tox.ini$
timeout: 7200
vars:
devstack_plugins:
devstack-plugin-ceph: https://opendev.org/openstack/devstack-plugin-ceph
devstack_localrc:
ENABLE_FILE_INJECTION: false
TEMPEST_PLUGINS: '/opt/stack/cinder-tempest-plugin'
ENABLE_VOLUME_MULTIATTACH: false
TEMPEST_RUN_VALIDATION: false
tox_envlist: all
tempest_test_regex: |
(^tempest\.(api|scenario\.test_encrypted_cinder_volumes|scenario\.test_volume|scenario\.test_shelve_instance)|(^cinder_tempest_plugin))
tempest_test_blacklist: '{{ ansible_user_dir }}/{{ zuul.projects["opendev.org/openstack/devstack-plugin-ceph"].src_dir }}/tempest_blacklist.txt'
- job:
name: devstack-plugin-ceph-tempest
parent: devstack-plugin-ceph-tempest-base
description: |
Integration tests that runs with the ceph devstack plugin and py27.
branches:
- stable/ocata
- stable/pike
- stable/queens
- stable/rocky
- job:
name: devstack-plugin-ceph-tempest
parent: devstack-plugin-ceph-tempest-base
description: |
Integration tests that runs with the ceph devstack plugin and py27.
This job enable the multiattach feature enable from stein on.
# This job runs with multiattach enable from stable/stein on.
branches:
- stable/stein
- stable/train
vars:
devstack_localrc:
ENABLE_VOLUME_MULTIATTACH: true
- job:
name: devstack-plugin-ceph-tempest-py3-base
abstract: true
parent: tempest-full-py3
description: |
Base integration tests that runs with the ceph devstack plugin and py3.
Former names for this job where:
* legacy-tempest-dsvm-py35-full-devstack-plugin-ceph
* gate-tempest-dsvm-py35-full-devstack-plugin-ceph-ubuntu-xenial-nv
The original job included support for an un-used tempest-dsvm-ceph-rc
hosted at /opt/stack/new/nova/devstack/tempest-dsvm-ceph-rc.
required-projects:
- openstack/cinder-tempest-plugin
- openstack/devstack-plugin-ceph
irrelevant-files: *irrelevant-files
timeout: 7200
vars:
devstack_localrc:
ENABLE_FILE_INJECTION: false
TEMPEST_PLUGINS: '/opt/stack/cinder-tempest-plugin'
ENABLE_VOLUME_MULTIATTACH: false
TEMPEST_RUN_VALIDATION: false
devstack_plugins:
devstack-plugin-ceph: https://opendev.org/openstack/devstack-plugin-ceph
tox_envlist: all
tempest_test_regex: |
(^tempest\.(api|scenario\.test_encrypted_cinder_volumes|scenario\.test_volume|scenario\.test_shelve_instance)|(^cinder_tempest_plugin))
tempest_test_blacklist: '{{ ansible_user_dir }}/{{ zuul.projects["opendev.org/openstack/devstack-plugin-ceph"].src_dir }}/tempest_blacklist.txt'
- job:
name: devstack-plugin-ceph-tempest-py3
parent: devstack-plugin-ceph-tempest-py3-base
description: |
Integration tests that runs with the ceph devstack plugin and py3.
branches:
- stable/ocata
- stable/pike
- stable/queens
- stable/rocky
- job:
name: devstack-plugin-ceph-tempest-py3
parent: devstack-plugin-ceph-tempest-py3-base
description: |
Integration tests that runs with the ceph devstack plugin and py3.
This job enable the multiattach feature enable from stein on.
# This job runs with multiattach enable from stable/stein on.
branches: ^(?!stable/(ocata|pike|queens|rocky)).*$
vars:
devstack_localrc:
ENABLE_VOLUME_MULTIATTACH: true
- job:
name: devstack-plugin-ceph-tempest-ussuri-py3
parent: devstack-plugin-ceph-tempest-py3
override-checkout: stable/ussuri
- job:
name: devstack-plugin-ceph-tempest-train-py3
parent: devstack-plugin-ceph-tempest-py3
override-checkout: stable/train
- job:
name: devstack-plugin-ceph-tempest-stein-py3
parent: devstack-plugin-ceph-tempest-py3
override-checkout: stable/stein
- job:
name: devstack-plugin-ceph-cephfs-native
description: |
Runs manila tempest plugin tests with Native CephFS as a manila back
end (DHSS=False)
parent: manila-tempest-plugin-cephfs-native
- job:
name: devstack-plugin-ceph-cephfs-nfs
description: |
Runs manila tempest plugin tests with CephFS via NFS-Ganesha as a manila
back end (DHSS=False)
parent: manila-tempest-plugin-cephfs-nfs
- project-template:
name: devstack-plugin-ceph-tempest-jobs
description: |
Runs devstack-plugin-ceph-tempest jobs.
check:
jobs:
- devstack-plugin-ceph-tempest-py3
- devstack-plugin-ceph-cephfs-native:
irrelevant-files: *irrelevant-files
voting: false
- devstack-plugin-ceph-cephfs-nfs:
irrelevant-files: *irrelevant-files
voting: false
- project:
templates:
- devstack-plugin-ceph-tempest-jobs
- publish-openstack-docs-pti
check:
jobs:
- openstack-tox-bashate
gate:
jobs:
- openstack-tox-bashate
experimental:
jobs:
- devstack-plugin-ceph-tempest-ussuri-py3
- devstack-plugin-ceph-tempest-train-py3
- devstack-plugin-ceph-tempest-stein-py3