summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Hilman <khilman@baylibre.com>2018-01-18 21:52:05 +0000
committerGerrit Code Review <gerrit@automotivelinux.org>2018-01-18 21:52:05 +0000
commitef29b8c1c4cc4e7009adfd46a0820c09f14df6b9 (patch)
tree8e0cb225c342a78967b80f76b119f59a43ff3d39
parente589b09ae97f1087c973aabbbe4f549855dffdad (diff)
parent3de8c2651638a9cad864688dd33b5970a7f5fb8f (diff)
Merge "job-prereq: Fix the tool after build changes"
-rw-r--r--utils/agljobtemplate.py2
-rwxr-xr-xutils/job-prereq.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/utils/agljobtemplate.py b/utils/agljobtemplate.py
index dec7fad..59abcb0 100644
--- a/utils/agljobtemplate.py
+++ b/utils/agljobtemplate.py
@@ -83,7 +83,7 @@ class Agljobtemplate(object):
def rfs_types(self):
return self.RFS_TYPE
- def render_job(self, url, machine, url_branch=None, url_version=None,
+ def render_job(self, machine, url=None, url_branch=None, url_version=None,
job_name="AGL-short-smoke", priority="medium", tests=[], rfs_type=None,
lava_callback=None, kci_callback=None,
rfs_image=None, kernel_image=None, dtb_image=None, modules_image=None,
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)