diff options
author | Loys Ollivier <lollivier@baylibre.com> | 2018-01-18 14:35:09 +0100 |
---|---|---|
committer | Loys Ollivier <lollivier@baylibre.com> | 2018-01-18 14:35:09 +0100 |
commit | 3de8c2651638a9cad864688dd33b5970a7f5fb8f (patch) | |
tree | d5058c9fe88f7d475ddc9eeaf5fd50b0416eee30 /utils/job-prereq.py | |
parent | 7b89850f324f10270e32c7a2aa1addbfadf9c029 (diff) |
job-prereq: Fix the tool after build changes
The job-prereq tool got broken by some latest changes on the build/url
scheme.
Make the url argument for agljobtemplate optionnal.
Pass build_type argument as build_type now that it is supported.
Fixes: 788b31a122c3 ("utils: change the url / build behavior scheme")
Change-Id: Ie9a0fc728a5e31cabd32e6463f2c6f913e1bd2cf
Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
Diffstat (limited to 'utils/job-prereq.py')
-rwxr-xr-x | utils/job-prereq.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/job-prereq.py b/utils/job-prereq.py index cb690b1..2dadc61 100755 --- a/utils/job-prereq.py +++ b/utils/job-prereq.py @@ -46,7 +46,7 @@ def main(): ajt = agljobtemplate.Agljobtemplate(templates_dir) args = parse_cmdline(ajt.machines) - job = ajt.render_job(url=args.build_type[0], + job = ajt.render_job(build_type=args.build_type[0], url_branch=args.build_type[1], url_version=args.build_type[2], machine=args.machine) |