From bf3c31e0be7183bacdf3b914c4a56d39c5dce0f3 Mon Sep 17 00:00:00 2001 From: Philip Hands Date: Tue, 14 Jun 2016 21:50:09 +0200 Subject: d-i: separate out jobs definition to make it easy to tweak Signed-off-by: Holger Levsen --- job-cfg/d-i.yaml.py | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) (limited to 'job-cfg/d-i.yaml.py') diff --git a/job-cfg/d-i.yaml.py b/job-cfg/d-i.yaml.py index 06e61aed..6c7df3fe 100755 --- a/job-cfg/d-i.yaml.py +++ b/job-cfg/d-i.yaml.py @@ -174,6 +174,18 @@ yaboot-installer zipl-installer """.split() +jobs = [ + '{name}_maintenance', + '{name}_check_jenkins_jobs', + {'{name}_manual': { + 'trg': 'H/15 * * * *'}}, + '{name}_manual_html_group', + '{name}_manual_pdf_group', + '{name}_manual_html_po2xml_group', + '{name}_manual_pdf_po2xml_group', + '{name}_build-group', + '{name}_pu-build-group', +] def scm_svn(po, inc_regs=None): if inc_regs is None: @@ -456,16 +468,7 @@ data.append( '' 'd-i.yaml.py.'), - 'jobs': [ - '{name}_maintenance', - '{name}_check_jenkins_jobs', - {'{name}_manual': { - 'trg': 'H/15 * * * *'}}, - '{name}_manual_html_group', - '{name}_manual_pdf_group', - '{name}_manual_html_po2xml_group', - '{name}_manual_pdf_po2xml_group', - '{name}_build-group', - '{name}_pu-build-group']}}) + 'jobs': jobs + }}) sys.stdout.write(dump(data, Dumper=Dumper)) -- cgit v1.2.3-70-g09d2