summaryrefslogtreecommitdiffstats
path: root/utils/agljobtemplate.py
diff options
context:
space:
mode:
authorKhouloud Touil <ktouil@baylibre.com>2019-08-07 17:04:30 +0200
committerKhouloud Touil <ktouil@baylibre.com>2019-08-08 12:09:30 +0200
commit55c756f9846551f826ac82d079a692d37d5c77d2 (patch)
tree5b41de5987877880c8192a540683c086624cdb20 /utils/agljobtemplate.py
parente2df48ce0e435ef82efde7159b2f953206fa439f (diff)
Add/use the new arguemnt --build-tags
Add new argument --build-tags to be used in the job template and to be passed to the tests to be run along with using --device-tags. Bug-AGL: SPEC-2721 Signed-off-by: Khouloud Touil <ktouil@baylibre.com> Change-Id: I2fb4c3d0cb8cd1d0e3c36c1df55185cb4dde43c3
Diffstat (limited to 'utils/agljobtemplate.py')
-rw-r--r--utils/agljobtemplate.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/agljobtemplate.py b/utils/agljobtemplate.py
index a74b7a6..867bfab 100644
--- a/utils/agljobtemplate.py
+++ b/utils/agljobtemplate.py
@@ -91,7 +91,7 @@ class Agljobtemplate(object):
lava_callback=None, kci_callback=None, build_id=None,
rfs_image=None, kernel_image=None, dtb_image=None, modules_image=None,
build_type=None, vcs_commit=None, vcs_branch=None,
- build_version=None, device_tags="",
+ build_version=None, device_tags="", build_tags="",
applications_url=None, app_changeid=None, app_patchset=None, app_branch=None):
if machine not in self.machines:
@@ -157,6 +157,7 @@ class Agljobtemplate(object):
job['APPURL'] = applications_url
job['DEVICE_TAGS'] = device_tags
+ job['BUILD_TAGS'] = build_tags
test_templates = []
# If the user doesn't specify tests, use the default ones from the build-type