Skip to content

Commit

Permalink
orchestra/opsys: add almalinux versions
Browse files Browse the repository at this point in the history
Signed-off-by: Kyr Shatskyy <[email protected]>
  • Loading branch information
Kyr Shatskyy committed Feb 19, 2025
1 parent 00ce421 commit 8961ab9
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions teuthology/orchestra/opsys.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@
"7": "maipo",
"6": "santiago",
},
"alma": {
"8.10": "alma",
"9.5": "alma",
},
"rocky": {
"8.10": "rocky",
"9.5": "rocky",
Expand All @@ -57,6 +61,7 @@
"20": "heisenbug",
},
"opensuse": {
"1.0": "tumbleweed",
"15.0": "leap",
"15.1": "leap",
"15.2": "leap",
Expand Down Expand Up @@ -191,6 +196,8 @@ def from_os_release(cls, os_release_str):
elif name == 'centos':
if parse_version(version) >= Version("8.0"):
version = f"{version}.stream"
elif name == 'almalinux':
name = 'alma'
obj = cls(name=name, version=version)
return obj

Expand Down

0 comments on commit 8961ab9

Please sign in to comment.