Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add latest tags to LTSS containers #1720

Merged
merged 1 commit into from
Sep 25, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion src/bci_build/package/basecontainers.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
from pathlib import Path

from bci_build.package import ALL_BASE_OS_VERSIONS
from bci_build.package import ALL_OS_LTSS_VERSIONS
from bci_build.package import ALL_OS_VERSIONS
from bci_build.package import CAN_BE_LATEST_OS_VERSION
from bci_build.package import DOCKERFILE_RUN
Expand Down Expand Up @@ -168,7 +169,9 @@ def _get_supported_until_fips(os_version: OsVersion) -> datetime.date:
build_recipe_type=BuildType.DOCKER,
support_level=SupportLevel.L3,
supported_until=_get_supported_until_fips(os_version),
is_latest=os_version in CAN_BE_LATEST_OS_VERSION,
is_latest=(
os_version in CAN_BE_LATEST_OS_VERSION or os_version in ALL_OS_LTSS_VERSIONS
),
pretty_name=_get_fips_pretty_name(os_version),
package_list=[*os_version.release_package_names, "coreutils"]
+ (
Expand Down