summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Burke <tim.burke@gmail.com>2018-08-13 22:02:38 +0000
committerAndreas Jaeger <aj@suse.com>2018-09-06 22:06:10 +0200
commit70e20b62e6719c97267aa0e5a80dae2e31dfba76 (patch)
tree615b5ba03590e4fa618d7b4d31e6be04b84f6339
parent4330d036cd40299c3fd12d68d319e20757ccadcf (diff)
downloadpython-swiftclient-70e20b62e6719c97267aa0e5a80dae2e31dfba76.tar.gz
Use Swift's in-tree DSVM test
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. Change-Id: I919c0b77ac4888350194f55a9c12e0742845024f Depends-On: https://review.openstack.org/589270
-rw-r--r--.zuul.yaml38
1 files changed, 30 insertions, 8 deletions
diff --git a/.zuul.yaml b/.zuul.yaml
index 7541e01..6c37f8c 100644
--- a/.zuul.yaml
+++ b/.zuul.yaml
@@ -1,3 +1,29 @@
+- 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-functional
+ parent: swift-dsvm-functional
+ 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
@@ -10,18 +36,14 @@
- release-notes-jobs-python3
check:
jobs:
+ - swiftclient-swift-functional
+ - swiftclient-functional
- openstack-tox-lower-constraints
- - legacy-swift-dsvm-functional
- - legacy-swift-dsvm-functional-identity-v3-only:
- voting: false
- - legacy-swiftclient-dsvm-functional
- - legacy-swiftclient-dsvm-functional-identity-v3-only:
- voting: false
gate:
jobs:
+ - swiftclient-swift-functional
+ - swiftclient-functional
- openstack-tox-lower-constraints
- - legacy-swift-dsvm-functional
- - legacy-swiftclient-dsvm-functional
post:
jobs:
- openstack-tox-cover