From 555c134e024cef741c611bca1752363ace827d51 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 3 Nov 2024 00:35:25 +0530 Subject: [PATCH] chore(deps): update postgres docker tag to v17 (#771) * 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 --- aws-cloudwatch-project/docker/docker-compose.yml | 2 +- .../src/test/java/com/example/awsspring/TestApplication.java | 2 +- aws-kinesis-project/consumer/docker/docker-compose.yml | 2 +- .../com/learning/aws/spring/TestKinesisConsumerApplication.java | 2 +- aws-lambda-project/docker/docker-compose.yml | 2 +- .../java/com/learning/awslambda/common/ContainersConfig.java | 2 +- aws-parameterstore-project/docker/docker-compose.yml | 2 +- .../src/test/java/com/example/awsspring/TestApplication.java | 2 +- aws-s3-project/docker/docker-compose.yml | 2 +- .../src/test/java/com/learning/awspring/TestS3Application.java | 2 +- aws-secretmanager-project/docker/docker-compose.yml | 2 +- .../test/java/com/example/awsspring/common/DBTestContainer.java | 2 +- aws-sqs-project/docker/docker-compose.yml | 2 +- .../com/learning/awspring/config/SQLTestcontainersConfig.java | 2 +- 14 files changed, 14 insertions(+), 14 deletions(-) diff --git a/aws-cloudwatch-project/docker/docker-compose.yml b/aws-cloudwatch-project/docker/docker-compose.yml index d2b88628..9710c950 100644 --- a/aws-cloudwatch-project/docker/docker-compose.yml +++ b/aws-cloudwatch-project/docker/docker-compose.yml @@ -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 diff --git a/aws-cloudwatch-project/src/test/java/com/example/awsspring/TestApplication.java b/aws-cloudwatch-project/src/test/java/com/example/awsspring/TestApplication.java index 92fa5c49..abb44b6e 100644 --- a/aws-cloudwatch-project/src/test/java/com/example/awsspring/TestApplication.java +++ b/aws-cloudwatch-project/src/test/java/com/example/awsspring/TestApplication.java @@ -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) { diff --git a/aws-kinesis-project/consumer/docker/docker-compose.yml b/aws-kinesis-project/consumer/docker/docker-compose.yml index cd3efc53..9e76675c 100644 --- a/aws-kinesis-project/consumer/docker/docker-compose.yml +++ b/aws-kinesis-project/consumer/docker/docker-compose.yml @@ -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: diff --git a/aws-kinesis-project/consumer/src/test/java/com/learning/aws/spring/TestKinesisConsumerApplication.java b/aws-kinesis-project/consumer/src/test/java/com/learning/aws/spring/TestKinesisConsumerApplication.java index daa37db3..df4b753e 100644 --- a/aws-kinesis-project/consumer/src/test/java/com/learning/aws/spring/TestKinesisConsumerApplication.java +++ b/aws-kinesis-project/consumer/src/test/java/com/learning/aws/spring/TestKinesisConsumerApplication.java @@ -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) { diff --git a/aws-lambda-project/docker/docker-compose.yml b/aws-lambda-project/docker/docker-compose.yml index 6822884e..dd9bc969 100644 --- a/aws-lambda-project/docker/docker-compose.yml +++ b/aws-lambda-project/docker/docker-compose.yml @@ -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 diff --git a/aws-lambda-project/src/test/java/com/learning/awslambda/common/ContainersConfig.java b/aws-lambda-project/src/test/java/com/learning/awslambda/common/ContainersConfig.java index c9118256..2c003583 100644 --- a/aws-lambda-project/src/test/java/com/learning/awslambda/common/ContainersConfig.java +++ b/aws-lambda-project/src/test/java/com/learning/awslambda/common/ContainersConfig.java @@ -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")); } } diff --git a/aws-parameterstore-project/docker/docker-compose.yml b/aws-parameterstore-project/docker/docker-compose.yml index 79fd0574..75f400dc 100644 --- a/aws-parameterstore-project/docker/docker-compose.yml +++ b/aws-parameterstore-project/docker/docker-compose.yml @@ -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 diff --git a/aws-parameterstore-project/src/test/java/com/example/awsspring/TestApplication.java b/aws-parameterstore-project/src/test/java/com/example/awsspring/TestApplication.java index 4c4e7a85..e95dac8a 100644 --- a/aws-parameterstore-project/src/test/java/com/example/awsspring/TestApplication.java +++ b/aws-parameterstore-project/src/test/java/com/example/awsspring/TestApplication.java @@ -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) { diff --git a/aws-s3-project/docker/docker-compose.yml b/aws-s3-project/docker/docker-compose.yml index 9c57983c..784fa293 100644 --- a/aws-s3-project/docker/docker-compose.yml +++ b/aws-s3-project/docker/docker-compose.yml @@ -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 diff --git a/aws-s3-project/src/test/java/com/learning/awspring/TestS3Application.java b/aws-s3-project/src/test/java/com/learning/awspring/TestS3Application.java index c0304ab0..998806fb 100644 --- a/aws-s3-project/src/test/java/com/learning/awspring/TestS3Application.java +++ b/aws-s3-project/src/test/java/com/learning/awspring/TestS3Application.java @@ -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); } diff --git a/aws-secretmanager-project/docker/docker-compose.yml b/aws-secretmanager-project/docker/docker-compose.yml index 0bc41385..d8ee8a9a 100644 --- a/aws-secretmanager-project/docker/docker-compose.yml +++ b/aws-secretmanager-project/docker/docker-compose.yml @@ -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 diff --git a/aws-secretmanager-project/src/test/java/com/example/awsspring/common/DBTestContainer.java b/aws-secretmanager-project/src/test/java/com/example/awsspring/common/DBTestContainer.java index 75062b70..c167817b 100644 --- a/aws-secretmanager-project/src/test/java/com/example/awsspring/common/DBTestContainer.java +++ b/aws-secretmanager-project/src/test/java/com/example/awsspring/common/DBTestContainer.java @@ -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")); } diff --git a/aws-sqs-project/docker/docker-compose.yml b/aws-sqs-project/docker/docker-compose.yml index 082a31a4..9e18a8da 100644 --- a/aws-sqs-project/docker/docker-compose.yml +++ b/aws-sqs-project/docker/docker-compose.yml @@ -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 diff --git a/aws-sqs-project/src/test/java/com/learning/awspring/config/SQLTestcontainersConfig.java b/aws-sqs-project/src/test/java/com/learning/awspring/config/SQLTestcontainersConfig.java index 95a72131..8ad37f00 100644 --- a/aws-sqs-project/src/test/java/com/learning/awspring/config/SQLTestcontainersConfig.java +++ b/aws-sqs-project/src/test/java/com/learning/awspring/config/SQLTestcontainersConfig.java @@ -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")); } }