Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update localstack/localstack docker tag to v3.3.0 #661

Merged
merged 5 commits into from
Mar 29, 2024
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@ -11,7 +11,7 @@ services:
- "5432:5432"

localstack:
image: localstack/localstack:3.2.0
image: localstack/localstack:3.3.0
ports:
- "4566:4566"
environment:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public class LocalStackConfig {
static {
localStackContainer =
new LocalStackContainer(
DockerImageName.parse("localstack/localstack").withTag("3.1.0"))
DockerImageName.parse("localstack/localstack").withTag("3.3.0"))
.withServices(CLOUDWATCH)
.withExposedPorts(4566);
localStackContainer.start();
Expand Down
2 changes: 1 addition & 1 deletion aws-dynamodb-project/docker/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: '3.8'
services:
localstack:
image: localstack/localstack:3.2.0
image: localstack/localstack:3.3.0
ports:
- "4566:4566"
environment:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
@Slf4j
public class LocalStackConfig {
protected static final LocalStackContainer LOCAL_STACK_CONTAINER =
new LocalStackContainer(DockerImageName.parse("localstack/localstack").withTag("3.1.0"))
new LocalStackContainer(DockerImageName.parse("localstack/localstack").withTag("3.3.0"))
.withCopyFileToContainer(
MountableFile.forHostPath(".localstack/"),
"/etc/localstack/init/ready.d/")
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 @@ -2,7 +2,7 @@ version: '3.8'
services:

localstack:
image: localstack/localstack:3.2.0
image: localstack/localstack:3.3.0
ports:
- "4566:4566"
environment:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public class LocalStackConfig {
private static final Logger log = LoggerFactory.getLogger(LocalStackConfig.class);

static LocalStackContainer localStackContainer =
new LocalStackContainer(DockerImageName.parse("localstack/localstack:3.2.0"));
new LocalStackContainer(DockerImageName.parse("localstack/localstack:3.3.0"));

static {
localStackContainer.start();
Expand Down
2 changes: 1 addition & 1 deletion aws-kinesis-project/producer/docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: '3.8'
services:

localstack:
image: localstack/localstack:3.2.0
image: localstack/localstack:3.3.0
ports:
- "4566:4566"
environment:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public class TestKinesisProducerApplication {
@Bean
LocalStackContainer localStackContainer(DynamicPropertyRegistry dynamicPropertyRegistry) {
LocalStackContainer localStackContainer =
new LocalStackContainer(DockerImageName.parse("localstack/localstack:3.2.0"));
new LocalStackContainer(DockerImageName.parse("localstack/localstack").withTag("3.3.0"));
dynamicPropertyRegistry.add("spring.cloud.aws.endpoint", localStackContainer::getEndpoint);
dynamicPropertyRegistry.add(
"spring.cloud.aws.region.static", localStackContainer::getRegion);
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 @@ -13,7 +13,7 @@ services:
- aws-lambda

localstack:
image: localstack/localstack:3.2.0
image: localstack/localstack:3.3.0
ports:
- "127.0.0.1:4566:4566" # LocalStack Gateway
- "127.0.0.1:4510-4559:4510-4559" # external services port range
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,14 @@ class ApplicationIntegrationTest {
static Network network = Network.newNetwork();

@Container
static PostgreSQLContainer<?> postgres = new PostgreSQLContainer<>("postgres:16.1-alpine")
static PostgreSQLContainer<?> postgres = new PostgreSQLContainer<>("postgres:16.2-alpine")
.withNetwork(network)
.withNetworkAliases("postgres")
.withReuse(true);

@Container
static LocalStackContainer localstack = new LocalStackContainer(
DockerImageName.parse("localstack/localstack:3.1.0"))
DockerImageName.parse("localstack/localstack").withTag("3.3.0"))
.withNetwork(network)
.withEnv("LOCALSTACK_HOST", "localhost.localstack.cloud")
.withEnv("LAMBDA_DOCKER_NETWORK", ((Network.NetworkImpl) network).getName())
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.1-alpine"));
return new PostgreSQLContainer<>(DockerImageName.parse("postgres:16.2-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 @@ -11,7 +11,7 @@ services:
- "5432:5432"

localstack:
image: localstack/localstack:3.2.0
image: localstack/localstack:3.3.0
ports:
- "4566:4566"
environment:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public class LocalStackContainerConfig {

@Container
private static final LocalStackContainer localStackContainer =
new LocalStackContainer(DockerImageName.parse("localstack/localstack").withTag("3.1.0"))
new LocalStackContainer(DockerImageName.parse("localstack/localstack").withTag("3.3.0"))
.withCopyFileToContainer(
MountableFile.forHostPath("localstack/"),
"/etc/localstack/init/ready.d/")
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 @@ -11,7 +11,7 @@ services:
- "5432:5432"

localstack:
image: localstack/localstack:3.2.0
image: localstack/localstack:3.3.0
ports:
- "127.0.0.1:4566:4566" # LocalStack Gateway
- "127.0.0.1:4510-4559:4510-4559" # external services port range
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ PostgreSQLContainer<?> postgresContainer() {
LocalStackContainer localstackContainer(DynamicPropertyRegistry registry) {
LocalStackContainer localStackContainer =
new LocalStackContainer(
DockerImageName.parse("localstack/localstack").withTag("3.2.0"))
DockerImageName.parse("localstack/localstack").withTag("3.3.0"))
.withCopyFileToContainer(
MountableFile.forHostPath(".localstack/"),
"/etc/localstack/init/ready.d/")
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 @@ -11,7 +11,7 @@ services:
- "5432:5432"

localstack:
image: localstack/localstack:3.2.0
image: localstack/localstack:3.3.0
ports:
- "4566:4566"
environment:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
public interface DBTestContainer {

@Container @ServiceConnection
PostgreSQLContainer<?> sqlContainer = new PostgreSQLContainer<>("postgres:16.1-alpine");
PostgreSQLContainer<?> sqlContainer = new PostgreSQLContainer<>("postgres:16.2-alpine");
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public class LocalStackContainerConfig {

@Container
private static final LocalStackContainer localStackContainer =
new LocalStackContainer(DockerImageName.parse("localstack/localstack").withTag("3.1.0"))
new LocalStackContainer(DockerImageName.parse("localstack/localstack").withTag("3.3.0"))
.withCopyFileToContainer(
MountableFile.forHostPath("localstack/"),
"/etc/localstack/init/ready.d/")
Expand Down
2 changes: 1 addition & 1 deletion aws-ses-project/docker/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: '3.8'
services:
localstack:
image: localstack/localstack:3.2.0
image: localstack/localstack:3.3.0
ports:
- "4566:4566"
environment:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public class LocalStackConfig {

static final LocalStackContainer localStackContainer =
new LocalStackContainer(
DockerImageName.parse("localstack/localstack").withTag("3.1.0"));
DockerImageName.parse("localstack/localstack").withTag("3.3.0"));

static {
localStackContainer.start();
Expand Down
2 changes: 1 addition & 1 deletion aws-sns-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:

localstack:
image: localstack/localstack:3.2.0
image: localstack/localstack:3.3.0
ports:
- "4566:4566"
environment:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public class ContainersConfig {
@Bean
LocalStackContainer localstackContainer(DynamicPropertyRegistry registry) {
LocalStackContainer localStackContainer =
new LocalStackContainer(DockerImageName.parse("localstack/localstack:3.1.0"));
new LocalStackContainer(DockerImageName.parse("localstack/localstack").withTag("3.3.0"));
registry.add("spring.cloud.aws.credentials.access-key", localStackContainer::getAccessKey);
registry.add("spring.cloud.aws.credentials.secret-key", localStackContainer::getSecretKey);
registry.add("spring.cloud.aws.region.static", localStackContainer::getRegion);
Expand Down
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 @@ -16,7 +16,7 @@ services:
retries: 5

localstack:
image: localstack/localstack:3.2.0
image: localstack/localstack:3.3.0
environment:
- AWS_DEFAULT_REGION=us-east-1
- EDGE_PORT=4566
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
properties = {
"spring.jpa.hibernate.ddl-auto=validate",
"spring.test.database.replace=none",
"spring.datasource.url=jdbc:tc:postgresql:16.1-alpine:///db"
"spring.datasource.url=jdbc:tc:postgresql:16.2-alpine:///db"
})
class SchemaValidationTest {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ public class TestcontainersConfig {
@Bean
@ServiceConnection
public PostgreSQLContainer<?> postgreSQLContainer() {
return new PostgreSQLContainer<>("postgres:16.1-alpine");
return new PostgreSQLContainer<>("postgres:16.2-alpine");
}

@Bean
LocalStackContainer localstackContainer(DynamicPropertyRegistry registry) {
LocalStackContainer localStackContainer =
new LocalStackContainer(DockerImageName.parse("localstack/localstack:3.1.0"))
new LocalStackContainer(DockerImageName.parse("localstack/localstack").withTag("3.3.0"))
.withReuse(true);
registry.add("spring.cloud.aws.credentials.access-key", localStackContainer::getAccessKey);
registry.add("spring.cloud.aws.credentials.secret-key", localStackContainer::getSecretKey);
Expand Down
Loading