Skip to content

Commit

Permalink
only test golang-openssl containers on sle15
Browse files Browse the repository at this point in the history
  • Loading branch information
dirkmueller committed Sep 22, 2023
1 parent 46b7cc6 commit 98c42c3
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions bci_tester/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@
OS_CONTAINER_TAG = "latest"
APP_CONTAINER_PREFIX = "opensuse"
BCI_CONTAINER_PREFIX = "bci"
OS_VERSION_ID = None

#: The Tumbleweed pretty name (from /etc/os-release)
OS_PRETTY_NAME = os.getenv(
Expand Down Expand Up @@ -346,11 +347,17 @@ def create_BCI(
)
for golang_version, stability in (
("1.20", "oldstable"),
("1.21", "stable"),
)
] + [
create_BCI(
build_tag=f"{BCI_CONTAINER_PREFIX}/golang:{golang_version}",
extra_marks=[pytest.mark.__getattr__(f"golang_{stability}")],
available_versions=["15.4", "15.5", "15.6"],
)
for golang_version, stability in (
("oldstable-openssl", "oldstable"),
("stable-openssl", "stable"),
("1.21", "stable"),
# does not exist yet (as of 2023/08/15)
# ("1.21-openssl", "stable"),
)
]

Expand Down

0 comments on commit 98c42c3

Please sign in to comment.