]> git-server-git.apps.pok.os.sepia.ceph.com Git - teuthology.git/commit
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)
commitb54779b3260028a9e8fbb7f108d8537fd09c7ad7
tree76335e29797e2459c08a1b9c7dc0bd2ec7794099
parent851c6a8afd0d6106776f79c4c62b17d4003791e4
orchestra/opsys: add tumbleweed version to the distro version map

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