summaryrefslogtreecommitdiffstats
path: root/utils/agljobtemplate.py
diff options
context:
space:
mode:
authorLoys Ollivier <lollivier@baylibre.com>2018-01-18 14:35:09 +0100
committerLoys Ollivier <lollivier@baylibre.com>2018-01-18 14:35:09 +0100
commit3de8c2651638a9cad864688dd33b5970a7f5fb8f (patch)
treed5058c9fe88f7d475ddc9eeaf5fd50b0416eee30 /utils/agljobtemplate.py
parent7b89850f324f10270e32c7a2aa1addbfadf9c029 (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/agljobtemplate.py')
-rw-r--r--utils/agljobtemplate.py2
1 files changed, 1 insertions, 1 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,