]> git-server-git.apps.pok.os.sepia.ceph.com Git - teuthology.git/commitdiff
orchestra/opsys: add tumbleweed version to the distro version map 2027/head
authorKyrylo Shatskyy <kyrylo.shatskyy@gmail.com>
Wed, 26 Feb 2025 18:42:05 +0000 (19:42 +0100)
committerKyrylo Shatskyy <kyrylo.shatskyy@gmail.com>
Wed, 26 Feb 2025 19:22:42 +0000 (20:22 +0100)
openSUSE Tumbleweed is a rolling release, so it has fixed version number
and changable version id is represented by a date of snapshot,
example of vm image:

openSUSE-Tumbleweed-Minimal-VM.x86_64-1.0.0-Cloud-Snapshot20250224.qcow2

In comparison, openSUSE Leap has regular release, incremental version, for example:
15.0, 15.1, ..., 15.6, etc., and recently introduced 16.0 alpha.

Because there is no sense to stick to the date, it is changing almost daily,
it is suggested to fix Tumbleweed version to 1.0 to distinguish from Leap.
As a side effect, once Teuthology locks a node with imaged Tumbleweed
it updates os version correctly to date of release in paddles, and
pulpito display it interface correspondingly as the date.

Signed-off-by: Kyrylo Shatskyy <kyrylo.shatskyy@clyso.com>
teuthology/orchestra/opsys.py

index 8f72f888ec8de346bdb1142ab4828dac79d0151f..b94f0d76aecf3e916b947abef63a9b651f92a533 100644 (file)
@@ -61,6 +61,7 @@ DISTRO_CODENAME_MAP = {
         "20": "heisenbug",
     },
     "opensuse": {
+        "1.0": "tumbleweed",
         "15.0": "leap",
         "15.1": "leap",
         "15.2": "leap",