From 93621537ad140858e309fcb55eabe5aa51446f66 Mon Sep 17 00:00:00 2001 From: Ghanshyam Mann Date: Tue, 5 May 2020 18:47:12 -0500 Subject: [PATCH] Add stable branch jobs on the plugins master gate Supported stable branches in maintenance state (stein, train, ussuri) use the Tempest and plugins master version for their testing. To make sure master version (new tests or any changes) is compatible with stable branch testing, we need to add the stable branches job on the plugins master gate. Tempest and many other plugins are already testing the stable branches in same way[1]. Ussuri onwards, Tempest or plugins are py3 only, so we are running only python3 version of stable jobs Tempest plugins guide for stable branch testing: - https://docs.openstack.org/tempest/latest/stable_branch_testing_policy.html [1] https://opendev.org/openstack/tempest/src/commit/e8f1876aa6772077f85f380677b30251c2454505/.zuul.yaml#L646 Depends-On: https://review.opendev.org/#/c/727848/ Change-Id: Ic2d79795fa205525dc5adaaae342e0c6f29d28d9 --- .zuul.yaml | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/.zuul.yaml b/.zuul.yaml index 10681750..9f734aea 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -7,6 +7,9 @@ - cinder-tempest-plugin-lvm-lio-barbican - cinder-tempest-plugin-lvm-tgt-barbican - cinder-tempest-plugin-cbak-ceph + - cinder-tempest-plugin-basic-ussuri + - cinder-tempest-plugin-basic-train + - cinder-tempest-plugin-basic-stein gate: jobs: - cinder-tempest-plugin-lvm-lio-barbican @@ -100,3 +103,44 @@ This jobs configures Cinder with LVM, tgt, barbican and runs tempest tests and cinderlib tests. parent: cinder-tempest-plugin-lvm-barbican-base + +- job: + name: cinder-tempest-plugin-basic + parent: devstack-tempest + description: | + Cinder tempest plugin tests job which run only cinder-tempest-plugin + tests. + required-projects: + - opendev.org/openstack/cinder-tempest-plugin + vars: + devstack_localrc: + TEMPEST_VOLUME_REVERT_TO_SNAPSHOT: True + tox_envlist: all + tempest_test_regex: cinder_tempest_plugin + tempest_plugins: + - cinder-tempest-plugin + irrelevant-files: + - ^.*\.rst$ + - ^doc/.*$ + - ^releasenotes/.*$ + +- job: + name: cinder-tempest-plugin-basic-ussuri + parent: cinder-tempest-plugin-basic + override-checkout: stable/ussuri + +- job: + name: cinder-tempest-plugin-basic-train + parent: cinder-tempest-plugin-basic + override-checkout: stable/train + vars: + devstack_localrc: + USE_PYTHON3: True + +- job: + name: cinder-tempest-plugin-basic-stein + parent: cinder-tempest-plugin-basic + override-checkout: stable/stein + vars: + devstack_localrc: + USE_PYTHON3: True