diff options
author | Trevor Bramwell <tbramwell@linuxfoundation.org> | 2018-05-16 16:23:56 -0700 |
---|---|---|
committer | Trevor Bramwell <tbramwell@linuxfoundation.org> | 2018-05-16 16:28:04 -0700 |
commit | afff1f88a918215eeb9060c4f43c5a332c8eb32c (patch) | |
tree | 7767640d2b3c9dbb469b912856b221c1784c9db8 /jjb/apex/apex-jjb-renderer.py | |
parent | 7bf9e576ff0fffdac04b5892e0e41b63c0735d4e (diff) |
Rename files under jjb from 'yml' to 'yaml'
global-jjb only supports the .yaml file ending for jjb jobs. Instead of
waiting for a release we're going to rename the files.
Change-Id: Icf3339eacd2320c583333e02250998cf6b1881f7
Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
Diffstat (limited to 'jjb/apex/apex-jjb-renderer.py')
-rw-r--r-- | jjb/apex/apex-jjb-renderer.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jjb/apex/apex-jjb-renderer.py b/jjb/apex/apex-jjb-renderer.py index b67784376..0da47b518 100644 --- a/jjb/apex/apex-jjb-renderer.py +++ b/jjb/apex/apex-jjb-renderer.py @@ -25,7 +25,7 @@ def render_jjb(): with open('scenarios.yaml.hidden') as _: scenarios = yaml.safe_load(_) - template = env.get_template('apex.yml.j2') + template = env.get_template('apex.yaml.j2') print("Scenarios are: ") pprint.pprint(scenarios) @@ -42,7 +42,7 @@ def render_jjb(): output = template.render(scenarios=scenarios, gspathname=gspathname, branch=branch, build_slave=build_slave) - with open('./apex.yml', 'w') as fh: + with open('./apex.yaml', 'w') as fh: fh.write(output) if __name__ == "__main__": |