From 15e7a736eecfb09b784effa8d9b96b9d68976df3 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Wed, 1 Nov 2017 15:05:28 +0100 Subject: [PATCH] Use generic stable periodic jobs Instead of having separate templates for each branch, use a single template - together with a neutron variant - for the stable periodic jobs and add the required branch conditions here. Once this is in, we can use it in project-config. Needed-By: I41e2325fa98d2e5575a745a3f438fad2c4075ae8 Change-Id: I6167dceee27db0d17f2febd52e85224ac6df1eac --- zuul.d/project-templates.yaml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/zuul.d/project-templates.yaml b/zuul.d/project-templates.yaml index a13680df..9d46150c 100644 --- a/zuul.d/project-templates.yaml +++ b/zuul.d/project-templates.yaml @@ -674,3 +674,35 @@ post: jobs: - publish-install-guide + +- project-template: + name: periodic-stable-jobs + description: | + Runs periodic jobs on stable branches. + periodic-stable: + jobs: + - build-openstack-sphinx-docs: + branches: + - stable/ocata + - stable/pike + - openstack-tox-py27: + branches: + - stable/ocata + - stable/pike + +- project-template: + name: periodic-stable-jobs-neutron + periodic-stable: + jobs: + - build-openstack-sphinx-docs: + branches: + - stable/ocata + - stable/pike + required-projects: + - openstack/neutron + - openstack-tox-py27: + branches: + - stable/ocata + - stable/pike + required-projects: + - openstack/neutron