diff options
author | Brian Rosmaita <rosmaita.fossdev@gmail.com> | 2018-09-04 16:43:30 -0400 |
---|---|---|
committer | Brian Rosmaita <rosmaita.fossdev@gmail.com> | 2018-10-11 11:50:09 -0400 |
commit | 7d5684a936def67689caf1c48cb0110b9aca704d (patch) | |
tree | 35d7aaf30d903ae4f015d3401a81dc668daf0357 | |
parent | 3e9706066917cff3e3c929aa15c6f1c5e7aac618 (diff) | |
download | glance-7d5684a936def67689caf1c48cb0110b9aca704d.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: Ic54255a2035d747c15b16faaf470a8949939fe4f
-rw-r--r-- | .zuul.yaml | 58 |
1 files changed, 44 insertions, 14 deletions
diff --git a/.zuul.yaml b/.zuul.yaml index 8ec164acd..7fc7f43b4 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -26,6 +26,7 @@ - job: name: glance-tox-oslo-tips-base parent: tox + abstract: true description: Abstract job for Glance vs. oslo libraries # NOTE(rosmaita): only need functional test jobs, oslo is # already running periodic jobs using our unit tests @@ -65,6 +66,7 @@ - job: name: glance-tox-keystone-tips-base parent: tox + abstract: true description: Abstract job for Glance vs. keystone required-projects: - name: openstack/keystoneauth @@ -106,6 +108,7 @@ - job: name: glance-tox-glance_store-tips-base parent: tox + abstract: true description: Abstract job for Glance vs. glance_store required-projects: - name: openstack/glance_store @@ -145,6 +148,7 @@ - job: name: glance-tox-cursive-tips-base parent: tox + abstract: true description: Abstract job for Glance vs. cursive and related libs required-projects: - name: openstack/cursive @@ -285,17 +289,43 @@ - ^tox.ini$ periodic: jobs: - - glance-tox-functional-oslo-tips - - glance-tox-functional-py35-oslo-tips - - glance-tox-py27-keystone-tips - - glance-tox-py35-keystone-tips - - glance-tox-functional-keystone-tips - - glance-tox-functional-py35-keystone-tips - - glance-tox-py27-glance_store-tips - - glance-tox-py35-glance_store-tips - - glance-tox-functional-glance_store-tips - - glance-tox-functional-py35-glance_store-tips - - glance-tox-py27-cursive-tips - - glance-tox-py35-cursive-tips - - glance-tox-functional-cursive-tips - - glance-tox-functional-py35-cursive-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. + - glance-tox-functional-oslo-tips: + branches: master + - glance-tox-functional-py35-oslo-tips: + branches: master + - glance-tox-py27-keystone-tips: + branches: master + - glance-tox-py35-keystone-tips: + branches: master + - glance-tox-functional-keystone-tips: + branches: master + - glance-tox-functional-py35-keystone-tips: + branches: master + - glance-tox-py27-glance_store-tips: + branches: master + - glance-tox-py35-glance_store-tips: + branches: master + - glance-tox-functional-glance_store-tips: + branches: master + - glance-tox-functional-py35-glance_store-tips: + branches: master + - glance-tox-py27-cursive-tips: + branches: master + - glance-tox-py35-cursive-tips: + branches: master + - glance-tox-functional-cursive-tips: + branches: master + - glance-tox-functional-py35-cursive-tips: + branches: master |