Skip to content

Commit

Permalink
Switch nodejs 20 BCI to SLE 15 SP5 from SP6
Browse files Browse the repository at this point in the history
  • Loading branch information
dcermak committed Nov 16, 2023
1 parent 642ff30 commit 7a817e5
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/bci_build/package/node.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,7 @@ def _get_node_kwargs(ver: Literal[16, 18, 20], os_version: OsVersion):
return {
"name": "nodejs",
"os_version": os_version,
"is_latest": (
(ver == 18 and os_version == OsVersion.SP5)
or (ver == 20 and os_version == OsVersion.TUMBLEWEED)
),
"is_latest": ver == 20,
"supported_until": _NODEJS_SUPPORT_ENDS.get(ver, None),
"package_name": f"nodejs-{ver}-image",
"pretty_name": f"Node.js {ver} development",
Expand Down Expand Up @@ -58,7 +55,7 @@ def _get_node_kwargs(ver: Literal[16, 18, 20], os_version: OsVersion):
**_get_node_kwargs(18, OsVersion.SP5), support_level=SupportLevel.L3
),
LanguageStackContainer(
**_get_node_kwargs(20, OsVersion.SP6), support_level=SupportLevel.L3
**_get_node_kwargs(20, OsVersion.SP5), support_level=SupportLevel.L3
),
LanguageStackContainer(**_get_node_kwargs(20, OsVersion.TUMBLEWEED)),
]

0 comments on commit 7a817e5

Please sign in to comment.