systems-tests: canary jobs use custom lttng version string 'canary'
authorJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Mon, 8 Mar 2021 18:56:27 +0000 (13:56 -0500)
committerJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Mon, 8 Mar 2021 18:57:49 +0000 (13:57 -0500)
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 <jonathan.rajotte-julien@efficios.com>
scripts/system-tests/lava2-submit.py

index c6c131961e1aad60a121dda82799620ea9c6338d..4ed8a26a719e867a64a0591edd1532681e7b1249 100644 (file)
@@ -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)
This page took 0.024894 seconds and 4 git commands to generate.