From: Jonathan Rajotte Date: Mon, 8 Mar 2021 18:56:27 +0000 (-0500) Subject: systems-tests: canary jobs use custom lttng version string 'canary' X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=7ce9e41770d1c62d9d4d6eb69979eb6630fcf7b7;p=lttng-ci.git systems-tests: canary jobs use custom lttng version string 'canary' Harcode the resulting version string to "2.10". We will need to rework this since it is error prone to hard code a specific version here. We either fix the uptstream or we find an elegant way to find the tag of a commit for a shallow repository downstream. Signed-off-by: Jonathan Rajotte --- diff --git a/scripts/system-tests/lava2-submit.py b/scripts/system-tests/lava2-submit.py index c6c1319..4ed8a26 100644 --- a/scripts/system-tests/lava2-submit.py +++ b/scripts/system-tests/lava2-submit.py @@ -220,6 +220,8 @@ def main(): if args.lttng_version == "master": lttng_version_string = "master" + elif args.lttng_version == "canary": + lttng_version_string = "2.10" else: major, minor = parse_stable_version(args.lttng_version) lttng_version_string = str(major) + "." + str(minor)