diff options
author | Brian Rosmaita <rosmaita.fossdev@gmail.com> | 2018-09-04 16:48:00 -0400 |
---|---|---|
committer | Brian Rosmaita <rosmaita.fossdev@gmail.com> | 2018-10-11 11:56:52 -0400 |
commit | 93636d6e25938617c9b1a58c737540c62d7f27c3 (patch) | |
tree | 441a59ae84c37773633ce9a424691a16398239a3 | |
parent | a4ea9f0720214bd4aa6d72e81776e1260b30ad2f (diff) | |
download | python-glanceclient-93636d6e25938617c9b1a58c737540c62d7f27c3.tar.gz |
Refactor periodic "tips" jobs2.14.0
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
-rw-r--r-- | .zuul.yaml | 26 |
1 files changed, 22 insertions, 4 deletions
@@ -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 @@ -143,10 +145,26 @@ - glanceclient-dsvm-functional 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 |