X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Fapex%2Fapex-jjb-renderer.py;h=6fd83afe91d0b4ae32d70b60d1b40c5f39947802;hb=95f267f263aa934c9d96d8cf373c625cdd183cb5;hp=da62bc7ad12bf70f89bf4096720a3fbf1bcc0181;hpb=7d94cf82c1751c0674e6df9cad492e8a6fb0ea2b;p=releng.git diff --git a/jjb/apex/apex-jjb-renderer.py b/jjb/apex/apex-jjb-renderer.py index da62bc7ad..6fd83afe9 100644 --- a/jjb/apex/apex-jjb-renderer.py +++ b/jjb/apex/apex-jjb-renderer.py @@ -14,6 +14,7 @@ from jinja2 import FileSystemLoader gspathname = dict() branch = dict() +build_slave = dict() env = Environment(loader=FileSystemLoader('./'), autoescape=True) with open('scenarios.yaml.hidden') as _: @@ -31,9 +32,10 @@ for stream in scenarios: else: gspathname[stream] = '/' + stream branch[stream] = 'stable/' + stream + build_slave[stream] = 'apex-baremetal-{}'.format(stream) output = template.render(scenarios=scenarios, gspathname=gspathname, - branch=branch) + branch=branch, build_slave=build_slave) with open('./apex.yml', 'w') as fh: fh.write(output)