diff options
author | Tim Burke <tim.burke@gmail.com> | 2018-08-13 22:02:38 +0000 |
---|---|---|
committer | Andreas Jaeger <aj@suse.com> | 2018-09-12 08:10:41 +0200 |
commit | 74a4a19b714a9496bf0967cb3482a59335803c82 (patch) | |
tree | 576f66142276f5f27f44ec18765bce5d2b58eb9b | |
parent | bc77ac247529b60de288415df0408ee813fe14ab (diff) | |
download | python-swiftclient-74a4a19b714a9496bf0967cb3482a59335803c82.tar.gz |
While we're at it, make a new job that inherits from it to bring the
legacy-swiftclient-dsvm-functional testing in-tree, too.
For naming, follow naming policy and remove "dsvm" from names.
Remove legacy jobs, they are not needed anymore.
Note this backport follows change 600346 and uses
an identity-v2 job in addition.
Change-Id: I919c0b77ac4888350194f55a9c12e0742845024f
Depends-On: https://review.openstack.org/600346
(cherry picked from commit 70e20b62e6719c97267aa0e5a80dae2e31dfba76)
-rw-r--r-- | .zuul.yaml | 70 |
1 files changed, 64 insertions, 6 deletions
@@ -1,3 +1,59 @@ +- job: + name: swiftclient-swift-functional + parent: swift-dsvm-functional + description: | + Run swift's functional tests with python-swiftclient + installed from source instead as package from PyPI. + # Ensure that we install python-swiftclient from git and + # do not install from pypi. This is needed since the parent + # job sets zuul_work_dir to the swift directory and uses tox + # for installation. + required-projects: + - git.openstack.org/openstack/python-swiftclient + +- job: + name: swiftclient-swift-functional-identity-v2 + parent: swift-dsvm-functional-identity-v2 + description: | + Run swift's functional tests with python-swiftclient + installed from source instead as package from PyPI. + + This uses Identity API 2.0. + # Ensure that we install python-swiftclient from git and + # do not install from pypi. This is needed since the parent + # job sets zuul_work_dir to the swift directory and uses tox + # for installation. + required-projects: + - git.openstack.org/openstack/python-swiftclient + +- job: + name: swiftclient-functional + parent: swift-dsvm-functional + description: | + Run functional tests of python-swiftclient with + python-swiftclient installed from source instead as package from + PyPI. + + This uses Identity API 2.0. + required-projects: + - git.openstack.org/openstack/python-swiftclient + vars: + # Override value from parent job to use swiftclient tests + zuul_work_dir: "{{ zuul.projects['git.openstack.org/openstack/python-swiftclient'].src_dir }}" + +- job: + name: swiftclient-functional-identity-v2 + parent: swift-dsvm-functional-identity-v2 + description: | + Run functional tests of python-swiftclient with + python-swiftclient installed from source instead as package from + PyPI. + required-projects: + - git.openstack.org/openstack/python-swiftclient + vars: + # Override value from parent job to use swiftclient tests + zuul_work_dir: "{{ zuul.projects['git.openstack.org/openstack/python-swiftclient'].src_dir }}" + - project: templates: - openstack-python-jobs @@ -9,18 +65,20 @@ - release-notes-jobs check: jobs: - - legacy-swift-dsvm-functional - - legacy-swift-dsvm-functional-identity-v3-only: + - swiftclient-swift-functional: voting: false - - legacy-swiftclient-dsvm-functional - - legacy-swiftclient-dsvm-functional-identity-v3-only: + - swiftclient-functional: voting: false + - swiftclient-swift-functional-identity-v2 + - swiftclient-functional-identity-v2 - openstack-tox-py36: voting: false gate: jobs: - - legacy-swift-dsvm-functional - - legacy-swiftclient-dsvm-functional + - swiftclient-swift-functional + - swiftclient-functional + - swiftclient-swift-functional-identity-v2 + - swiftclient-functional-identity-v2 post: jobs: - openstack-tox-cover |