hash
hash copied to clipboard
SRE-46: Upgrade Docker Postgres to 18.1-alpine3.23
Upgrades the Docker Postgres base image to 18.1-alpine3.23
π What is the purpose of this PR?
Upgrades the Postgres Docker base image from version 17-alpine3.22 to 18.1-alpine3.23. This change only affects local Docker development, not production AWS.
π What does this change?
- Updates the Postgres Docker base image in
apps/hash-external-services/postgres/Dockerfilefrom17-alpine3.22to18.1-alpine3.23
Pre-Merge Checklist π
π’ Has this modified a publishable library?
This PR:
- [x] does not modify any publishable blocks or libraries, or modifications do not need publishing
π Does this require a change to the docs?
The changes in this PR:
- [x] are internal and do not require a docs change
πΈοΈ Does this require a change to the Turbo Graph?
The changes in this PR:
- [x] do not affect the execution graph
π‘ What tests cover this?
- Existing tests should cover this change
β How to test this?
- Checkout the branch
- Start the development environment with Docker
- Confirm that Postgres starts correctly with the new version
PR Summary
Upgrade Postgres to 18 across Docker and RDS, and switch the bastion host to ARM (t4g, arm64 AMI).
-
Postgres:
- Docker: base image updated to
postgres:18.1-alpine3.23inapps/hash-external-services/postgres/Dockerfile. - AWS RDS Terraform: parameter group
family->postgres18andengine_version->18ininfra/terraform/hash/postgres/postgres.tf.
- Docker: base image updated to
-
Bastion (Terraform module):
- Instance type changed to
t4g.nanoininfra/terraform/modules/bastion/bastion.tf. - AMI lookup updated to arm64 Amazon Linux 2023 (
al2023-ami-2023.*-kernel-6.1-arm64) witharchitecture=arm64,virtualization-type=hvmininfra/terraform/modules/bastion/main.tf.
- Instance type changed to
Written by Cursor Bugbot for commit 49f74a042536e99e3ccaf39de4e9215e6b08d6e8. This will update automatically on new commits. Configure here.