From 5092e3e8ddf069e506823208875a889f6425a757 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dirk=20M=C3=BCller?= Date: Sat, 30 Nov 2024 11:13:37 +0100 Subject: [PATCH] Add support end of life date for PostgreSQL 15 --- src/bci_build/package/postgres.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/bci_build/package/postgres.py b/src/bci_build/package/postgres.py index 8091ffdc9..1a2994f29 100644 --- a/src/bci_build/package/postgres.py +++ b/src/bci_build/package/postgres.py @@ -4,6 +4,7 @@ from bci_build.container_attributes import TCP from bci_build.container_attributes import SupportLevel +from bci_build.os_version import _SUPPORTED_UNTIL_SLE from bci_build.os_version import OsVersion from bci_build.package import DOCKERFILE_RUN from bci_build.package import ApplicationStackContainer @@ -27,6 +28,9 @@ is_latest=ver == _POSTGRES_MAJOR_VERSIONS[0], pretty_name=f"PostgreSQL {ver}", support_level=SupportLevel.ACC, + supported_until=( + _SUPPORTED_UNTIL_SLE[os_version] if os_version.is_sle15 else None + ), from_target_image=generate_from_image_tag(os_version, "bci-micro"), package_list=[ "libpq5",