diff options
author | Brian Rosmaita <rosmaita.fossdev@gmail.com> | 2018-03-15 20:32:40 -0400 |
---|---|---|
committer | Brian Rosmaita <rosmaita.fossdev@gmail.com> | 2018-03-28 22:32:44 -0400 |
commit | 32b83078194f40e0d3445d95cf04ce97091fd229 (patch) | |
tree | 4dd3856a7847b6f88a9c6d04a34c340199917cff /.zuul.yaml | |
parent | 4cb8b030623ec3980f3897e8b5c0f4d20acff2ed (diff) | |
download | python-glanceclient-32b83078194f40e0d3445d95cf04ce97091fd229.tar.gz |
Split glanceclient functional tests
Prepare for the Image API v1 to be removed from glance during Rocky
by splitting the functional tests that hit v1 from the tests that hit
v2. Introduce a new job that runs the functional-v1 tests against a
devstack running glance stable/queens, and configure this job for both
check and gate for the glanceclient. The v2 functional tests
continue to be run for both check and gate against a devstack running
glance master.
Change-Id: Ifa98ada26a84e4cca3ea8c98173f61a6174cca27
Diffstat (limited to '.zuul.yaml')
-rw-r--r-- | .zuul.yaml | 48 |
1 files changed, 44 insertions, 4 deletions
@@ -1,16 +1,54 @@ - job: + name: glanceclient-dsvm-functional-v1 + parent: devstack-tox-functional + description: | + Devstack-based functional tests for glanceclient + against the Image API v1. + + The Image API v1 is removed from glance in Rocky, but + is still supported by glanceclient until the S cycle, + so we test it against glance stable/queens. + + THIS JOB SHOULD BE REMOVED AT THE BEGINNING OF THE S + CYCLE. + override-checkout: stable/queens + required-projects: + - name: openstack/python-glanceclient + override-checkout: master + timeout: 4200 + vars: + tox_envlist: functional-v1 + devstack_localrc: + GLANCE_V1_ENABLED: true + devstack_services: + # turn off ceilometer + ceilometer-acentral: false + ceilometer-acompute: false + ceilometer-alarm-evaluator: false + ceilometer-alarm-notifier: false + ceilometer-anotification: false + ceilometer-api: false + ceilometer-collector: false + # turn on swift + s-account: true + s-container: true + s-object: true + s-proxy: true + # Hardcode glanceclient path so the job can be run on glance patches + zuul_work_dir: src/git.openstack.org/openstack/python-glanceclient + +- job: name: glanceclient-dsvm-functional parent: devstack-tox-functional description: | - devstack-based functional tests for glanceclient + Devstack-based functional tests for glanceclient. + + These test glanceclient against Image API v2 only. required-projects: - openstack/python-glanceclient timeout: 4200 vars: devstack_localrc: - # TODO(rosmaita): remove when glanceclient tests no longer - # use the Images v1 API - GLANCE_V1_ENABLED: true LIBS_FROM_GIT: python-glanceclient devstack_services: # turn off ceilometer @@ -39,9 +77,11 @@ - project: check: jobs: + - glanceclient-dsvm-functional-v1 - glanceclient-dsvm-functional - glanceclient-dsvm-functional-identity-v3-only: voting: false gate: jobs: + - glanceclient-dsvm-functional-v1 - glanceclient-dsvm-functional |