summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Rosmaita <rosmaita.fossdev@gmail.com>2018-09-04 16:48:00 -0400
committerBrian Rosmaita <rosmaita.fossdev@gmail.com>2018-10-23 13:57:32 +0000
commit0f1b1bf89e35edc018dffc12252f3474863ff20a (patch)
tree38ab50f965f54d73af47fca85f9c94339c78c05d
parentb672c6adbe2ba75cac36ec941906b19980f0a539 (diff)
downloadpython-glanceclient-0f1b1bf89e35edc018dffc12252f3474863ff20a.tar.gz
Refactor periodic "tips" jobs
Two changes: 1 - declare the abstract base tips jobs 'abstract' 2 - add a branch matcher to where the periodic tips jobs are invoked in the project definition so that they only apply to the master branch Change-Id: If80ead2796c370b9539a0d7dd12bb8d35de8abcf (cherry picked from commit 93636d6e25938617c9b1a58c737540c62d7f27c3)
-rw-r--r--.zuul.yaml26
1 files changed, 22 insertions, 4 deletions
diff --git a/.zuul.yaml b/.zuul.yaml
index 251a87b..6807b81 100644
--- a/.zuul.yaml
+++ b/.zuul.yaml
@@ -70,6 +70,7 @@
- job:
name: glanceclient-tox-keystone-tips-base
parent: tox
+ abstract: true
description: Abstract job for glanceclient vs. keystone
required-projects:
- name: openstack/keystoneauth
@@ -93,6 +94,7 @@
- job:
name: glanceclient-tox-oslo-tips-base
parent: tox
+ abstract: true
description: Abstract job for glanceclient vs. oslo
required-projects:
- name: openstack/oslo.i18n
@@ -141,10 +143,26 @@
- openstack-tox-lower-constraints
periodic:
jobs:
- - glanceclient-tox-py27-keystone-tips
- - glanceclient-tox-py35-keystone-tips
- - glanceclient-tox-py27-oslo-tips
- - glanceclient-tox-py35-oslo-tips
+ # NOTE(rosmaita): we only want the "tips" jobs to be run against
+ # master, hence the 'branches' qualifiers below. Without them, when
+ # a stable branch is cut, the tests would be run against the stable
+ # branch as well, which is pointless because these libraries are
+ # frozen (more or less) in the stable branches.
+ #
+ # The "tips" jobs can be removed from the stable branch .zuul.yaml
+ # files if someone is so inclined, but that would require manual
+ # maintenance, so we do not do it by default. Another option is
+ # to define these jobs in the openstack-infra/project-config repo.
+ # That would make us less agile in adjusting these tests, so we
+ # aren't doing that either.
+ - glanceclient-tox-py27-keystone-tips:
+ branches: master
+ - glanceclient-tox-py35-keystone-tips:
+ branches: master
+ - glanceclient-tox-py27-oslo-tips:
+ branches: master
+ - glanceclient-tox-py35-oslo-tips:
+ branches: master
experimental:
jobs:
- glanceclient-dsvm-functional-py3