aboutsummaryrefslogtreecommitdiffstats
path: root/utils/create-jobs.py
diff options
context:
space:
mode:
authorKhouloud Touil <ktouil@baylibre.com>2019-02-18 15:16:30 +0100
committerKhouloud Touil <ktouil@baylibre.com>2019-02-28 10:04:57 +0100
commitf85aaa11059b36972d5fd1c9cb838e65dca7a5b0 (patch)
tree9999ad345be51336eef563e433ddaff56ab55919 /utils/create-jobs.py
parent4c5445305fc4ba1738ad226c471869935f29f578 (diff)
Add new --build-id argument
This patch adds a new build-id arguement that will fill the 'kernel_defconfig' in the metadata field with the build id extracted from the build-info file. Change-Id: I77bcc253a41d67d97afd7db32b8c8560d4309145 Signed-off-by: Khouloud Touil <ktouil@baylibre.com>
Diffstat (limited to 'utils/create-jobs.py')
-rwxr-xr-xutils/create-jobs.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/utils/create-jobs.py b/utils/create-jobs.py
index 48df1bc..ed705cf 100755
--- a/utils/create-jobs.py
+++ b/utils/create-jobs.py
@@ -57,6 +57,8 @@ def parse_cmdline(machines, tests, rfs_types):
help="The device tags to be used to create the job.", nargs='*', default="")
parser.add_argument('--commit', dest='vcs_commit', action='store',
help="The build hash.")
+ parser.add_argument('--build-id', dest='build_id', action='store',
+ help="The uniq build information, the build id.")
args = parser.parse_args()
@@ -86,7 +88,7 @@ def main():
lava_callback=args.callback_from, kci_callback=args.callback_to,
rfs_image=args.rootfs_img, version=args.version,
kernel_image=args.kernel_img,
- dtb_image=args.dtb_img,
+ 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)