Skip to content

Commit

Permalink
chore(deps): update postgres docker tag to v17 (#771)
Browse files Browse the repository at this point in the history
* chore(deps): update postgres docker tag to v17

* update in test containers

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Raja Kolli <[email protected]>
  • Loading branch information
renovate[bot] and rajadilipkolli authored Nov 2, 2024
1 parent 2908faf commit 555c134
Show file tree
Hide file tree
Showing 14 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion aws-cloudwatch-project/docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: '3.8'
services:

postgresqldb:
image: postgres:16.4-alpine
image: postgres:17.0-alpine
environment:
- POSTGRES_USER=appuser
- POSTGRES_PASSWORD=secret
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ LocalStackContainer localstackContainer() {
@Bean
@ServiceConnection
PostgreSQLContainer<?> postgreSQLContainer() {
return new PostgreSQLContainer<>(DockerImageName.parse("postgres").withTag("16.4-alpine"));
return new PostgreSQLContainer<>(DockerImageName.parse("postgres").withTag("17.0-alpine"));
}

public static void main(String[] args) {
Expand Down
2 changes: 1 addition & 1 deletion aws-kinesis-project/consumer/docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ services:
- "../.localstack/init-aws.sh:/etc/localstack/init/ready.d/init-aws.sh" # ready hook

postgresqldb:
image: postgres:16.4-alpine
image: postgres:17.0-alpine
hostname: postgresqldb
extra_hosts: [ 'host.docker.internal:host-gateway' ]
environment:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public class TestKinesisConsumerApplication {
@Bean
@ServiceConnection
PostgreSQLContainer<?> postgreSQLContainer() {
return new PostgreSQLContainer<>(DockerImageName.parse("postgres:16.4-alpine"));
return new PostgreSQLContainer<>(DockerImageName.parse("postgres:17.0-alpine"));
}

public static void main(String[] args) {
Expand Down
2 changes: 1 addition & 1 deletion aws-lambda-project/docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: '3.8'
services:

postgresqldb:
image: postgres:16.4-alpine
image: postgres:17.0-alpine
environment:
- POSTGRES_USER=appuser
- POSTGRES_PASSWORD=secret
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ public class ContainersConfig {
@Bean
@ServiceConnection
PostgreSQLContainer<?> postgreSQLContainer() {
return new PostgreSQLContainer<>(DockerImageName.parse("postgres:16.4-alpine"));
return new PostgreSQLContainer<>(DockerImageName.parse("postgres:17.0-alpine"));
}
}
2 changes: 1 addition & 1 deletion aws-parameterstore-project/docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: '3.8'
services:

postgresqldb:
image: postgres:16.4-alpine
image: postgres:17.0-alpine
environment:
- POSTGRES_USER=appuser
- POSTGRES_PASSWORD=secret
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public class TestApplication {
@Bean
@ServiceConnection
PostgreSQLContainer<?> sqlContainer() {
return new PostgreSQLContainer<>(DockerImageName.parse("postgres:16.4-alpine"));
return new PostgreSQLContainer<>(DockerImageName.parse("postgres:17.0-alpine"));
}

public static void main(String[] args) {
Expand Down
2 changes: 1 addition & 1 deletion aws-s3-project/docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: '3.8'
services:

postgresqldb:
image: postgres:16.4-alpine
image: postgres:17.0-alpine
environment:
- POSTGRES_USER=appuser
- POSTGRES_PASSWORD=secret
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public class TestS3Application {
@ServiceConnection
@RestartScope
PostgreSQLContainer<?> postgresContainer() {
return new PostgreSQLContainer<>(DockerImageName.parse("postgres:16.4-alpine"))
return new PostgreSQLContainer<>(DockerImageName.parse("postgres:17.0-alpine"))
.withReuse(true);
}

Expand Down
2 changes: 1 addition & 1 deletion aws-secretmanager-project/docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: '3.8'
services:

postgresqldb:
image: postgres:16.4-alpine
image: postgres:17.0-alpine
environment:
- POSTGRES_USER=appuser
- POSTGRES_PASSWORD=secret
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ public interface DBTestContainer {

@Container @ServiceConnection
PostgreSQLContainer<?> sqlContainer =
new PostgreSQLContainer<>(DockerImageName.parse("postgres").withTag("16.4-alpine"));
new PostgreSQLContainer<>(DockerImageName.parse("postgres").withTag("17.0-alpine"));
}
2 changes: 1 addition & 1 deletion aws-sqs-project/docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: '3.8'
services:

postgresqldb:
image: postgres:16.4-alpine
image: postgres:17.0-alpine
environment:
- POSTGRES_USER=appuser
- POSTGRES_PASSWORD=secret
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ public class SQLTestcontainersConfig {
@Bean
@ServiceConnection
PostgreSQLContainer<?> postgreSQLContainer() {
return new PostgreSQLContainer<>(DockerImageName.parse("postgres").withTag("16.4-alpine"));
return new PostgreSQLContainer<>(DockerImageName.parse("postgres").withTag("17.0-alpine"));
}
}

0 comments on commit 555c134

Please sign in to comment.