Skip to content

Commit

Permalink
Upgrade to PostgreSQL 14
Browse files Browse the repository at this point in the history
Signed-off-by: Rui Lopes <rgl@ruilopes.com>
  • Loading branch information
rgl committed Oct 19, 2021
1 parent e8019c9 commit 27213af
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion db/db_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ func NewPostgresDatabaseClient(ctx context.Context, t *testing.T, req NewPostgre
testcontainers.SkipIfProviderIsNotHealthy(t)
postgresC, err := testcontainers.GenericContainer(ctx, testcontainers.GenericContainerRequest{
ContainerRequest: testcontainers.ContainerRequest{
Image: "postgres:13.1",
Image: "postgres:14-alpine",
ExposedPorts: []string{"5432/tcp"},
WaitingFor: wait.ForLog("database system is ready to accept connections"),
Env: map[string]string{
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ services:
condition: service_healthy

db:
image: postgres:10-alpine
image: postgres:14-alpine
restart: unless-stopped
environment:
POSTGRES_DB: tinkerbell
Expand Down

0 comments on commit 27213af

Please sign in to comment.