Skip to content

Commit

Permalink
Merge pull request #2095 from SUSE/postgres_eol
Browse files Browse the repository at this point in the history
Add support end of life date for PostgreSQL 15
  • Loading branch information
dcermak authored Dec 2, 2024
2 parents caf2e7f + 5092e3e commit 64d7039
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 64d7039

Please sign in to comment.