Skip to content

Commit

Permalink
Add support end of life date for PostgreSQL 15
Browse files Browse the repository at this point in the history
  • Loading branch information
dirkmueller committed Nov 30, 2024
1 parent 9b8a099 commit 5092e3e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/bci_build/package/postgres.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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",
Expand Down

0 comments on commit 5092e3e

Please sign in to comment.