summaryrefslogtreecommitdiffstats
path: root/utils/create-jobs.py
diff options
context:
space:
mode:
authorCorentin LABBE <clabbe@baylibre.com>2019-03-13 10:48:05 +0100
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2019-04-11 15:41:58 +0000
commitdea65171d9a33fac5ee1d84960cc620836376427 (patch)
tree7cc11ed46758fc676485bc2007d0d3c399924afc /utils/create-jobs.py
parentbae08e098000969e13221d26fab678a39a7cd72c (diff)
Implement SPEC-1850: Add application-lifecycle
This patch adds a new parameter application_url which permit to adds a location where to download apps and test them. The applications_url could also be generated via app-changeid/app-patchset. Change-Id: I88d91b5e6e30b5ab5d72e8181b15b0f561bea72d Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
Diffstat (limited to 'utils/create-jobs.py')
-rwxr-xr-xutils/create-jobs.py10
1 files changed, 9 insertions, 1 deletions
diff --git a/utils/create-jobs.py b/utils/create-jobs.py
index c2e9b57..463d706 100755
--- a/utils/create-jobs.py
+++ b/utils/create-jobs.py
@@ -59,6 +59,12 @@ def parse_cmdline(machines, tests, rfs_types):
help="The build hash.")
parser.add_argument('--build-id', dest='build_id', action='store',
help="The uniq build information, the build id.")
+ parser.add_argument('--applications-url', dest='applications_url', action='store',
+ help="An URL pointing to applications.", default=None)
+ parser.add_argument('--app-changeid', dest='app_changeid', action='store',
+ help="An application changeid.", default=None)
+ parser.add_argument('--app-patchset', dest='app_patchset', action='store',
+ help="An application patchset.", default=None)
args = parser.parse_args()
@@ -91,7 +97,9 @@ def main():
dtb_image=args.dtb_img, build_id=args.build_id,
modules_image=args.modules_img, vcs_branch=args.vcs_branch,
build_type=args.build_type, vcs_commit=args.vcs_commit,
- build_version=args.build_version, device_tags=args.device_tags)
+ build_version=args.build_version, device_tags=args.device_tags,
+ applications_url=args.applications_url,
+ app_changeid=args.app_changeid, app_patchset=args.app_patchset)
if args.job_file is None:
print job