From 49c6e0eb941f1541c6e4686c051f42b563839e39 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Mon, 23 Oct 2017 08:09:51 +0200 Subject: [PATCH] Run gerrit periodic on openstack/2.13 only We have several openstack/2.13 branches, the v2 job run only on exactly one - the openstack/2.13 one. Let's run the new ones on exactly the same branch. Note that branches is a regex, see https://docs.openstack.org/infra/zuul/feature/zuulv3/user/config.html#attr-job.branches So, we need to add ^ and $ to be explicit and avoid match against openstrack/2.13.3 and similar named branches. Change-Id: I88fb6d5e7df1739724901b661a9365c30582913c --- zuul.d/zuul-legacy-jobs.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/zuul.d/zuul-legacy-jobs.yaml b/zuul.d/zuul-legacy-jobs.yaml index 90fe3a92..fa95ceee 100644 --- a/zuul.d/zuul-legacy-jobs.yaml +++ b/zuul.d/zuul-legacy-jobs.yaml @@ -2691,7 +2691,8 @@ parent: legacy-publish-openstack-artifacts run: playbooks/legacy/its-storyboard-gerrit-plugin-stable-2.13/run post-run: playbooks/legacy/its-storyboard-gerrit-plugin-stable-2.13/post - branches: openstack/2.13 + # We have several openstack/2.13 versions, we only want 2.13 + branches: ^openstack/2\.13$ timeout: 1800 - job: @@ -2699,7 +2700,8 @@ parent: legacy-publish-openstack-artifacts run: playbooks/legacy/javamelody-gerrit-plugin-stable-2.13/run post-run: playbooks/legacy/javamelody-gerrit-plugin-stable-2.13/post - branches: openstack/2.13 + # We have several openstack/2.13 versions, we only want 2.13 + branches: ^openstack/2\.13$ timeout: 1800 - job: