From b2e6af3ed7e45f103f6d535d14444e339bfb2a7c Mon Sep 17 00:00:00 2001 From: Sarah Funkhouser <147884153+golanglemonade@users.noreply.github.com> Date: Sun, 9 Aug 2026 13:40:51 -0600 Subject: [PATCH] deps: update dev deps for postgres 18 Signed-off-by: Sarah Funkhouser <147884153+golanglemonade@users.noreply.github.com> --- Taskfile.yaml | 6 +++--- db/atlas.hcl | 2 +- internal/entdb/client.go | 2 +- pkg/gala/test_helpers_test.go | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Taskfile.yaml b/Taskfile.yaml index 801d768aa8..beb6568ac3 100644 --- a/Taskfile.yaml +++ b/Taskfile.yaml @@ -28,8 +28,8 @@ includes: env: - ATLAS_POSTGRES_DB_URI: "postgres:17-alpine" - TEST_DB_URL: "docker://postgres:17-alpine" + ATLAS_POSTGRES_DB_URI: "postgres:18-alpine" + TEST_DB_URL: "docker://postgres:18-alpine" TEST_DB_CONTAINER_EXPIRY: "20" # in minutes TEST_FGA_URL: "localhost:8080" ENV: config @@ -321,7 +321,7 @@ tasks: desc: runs and outputs results of created go tests aliases: ["go:test:psql", "test:psql"] env: - TEST_DB_URL: "docker://postgres:17-alpine" + TEST_DB_URL: "docker://postgres:18-alpine" GOFLAGS: "{{.GO_INLINE_FLAG}}" cmds: - go test -v ./... -tags test diff --git a/db/atlas.hcl b/db/atlas.hcl index cef4d742ba..c3a6dc3aae 100644 --- a/db/atlas.hcl +++ b/db/atlas.hcl @@ -14,7 +14,7 @@ data "remote_dir" "migrations" { } docker "postgres" "dev" { - image = "postgres:17" + image = "postgres:18" schema = "public" baseline = file("baseline/extensions.sql") } diff --git a/internal/entdb/client.go b/internal/entdb/client.go index 6b3bd2d985..80bd85b6b4 100644 --- a/internal/entdb/client.go +++ b/internal/entdb/client.go @@ -40,7 +40,7 @@ var postgresExtensions = []string{ const ( // defaultDBTestImage is the default docker image to use for testing - defaultDBTestImage = "docker://postgres:17-alpine" + defaultDBTestImage = "docker://postgres:18-alpine" ) type client struct { diff --git a/pkg/gala/test_helpers_test.go b/pkg/gala/test_helpers_test.go index 20bdd24ec8..38f44e77ba 100644 --- a/pkg/gala/test_helpers_test.go +++ b/pkg/gala/test_helpers_test.go @@ -10,7 +10,7 @@ import ( const ( // defaultTestImage is the default docker image for test databases - defaultTestImage = "docker://postgres:17-alpine" + defaultTestImage = "docker://postgres:18-alpine" // defaultTestQueueName is the default queue name for gala tests defaultTestQueueName = "gala_test" // defaultTestWorkerCount is the default worker count for gala tests