Skip to content

Commit

Permalink
feat: upgrade to latest version of localstack
Browse files Browse the repository at this point in the history
  • Loading branch information
rajadilipkolli authored Oct 15, 2023
1 parent 7354205 commit 672e8d9
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 11 deletions.
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("2.2.0"))
DockerImageName.parse("localstack/localstack").withTag("2.3.2"))
.withServices(CLOUDWATCH)
.withExposedPorts(4566);
localStackContainer.start();
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("2.1.0"))
new LocalStackContainer(DockerImageName.parse("localstack/localstack").withTag("2.3.2"))
.withCopyFileToContainer(
MountableFile.forHostPath(".localstack/"),
"/etc/localstack/init/ready.d/")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public class LocalStackConfig {

@Container
static LocalStackContainer localStackContainer =
new LocalStackContainer(DockerImageName.parse("localstack/localstack:2.2.0"));
new LocalStackContainer(DockerImageName.parse("localstack/localstack:2.3.2"));

static {
localStackContainer.start();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public class LocalStackConfig {
System.setProperty("com.amazonaws.sdk.disableCbor", "true");
localStackContainer =
new LocalStackContainer(
DockerImageName.parse("localstack/localstack").withTag("2.1.0"))
DockerImageName.parse("localstack/localstack").withTag("2.3.2"))
.withEnv("EAGER_SERVICE_LOADING", "1")
.withServices(KINESIS)
.withExposedPorts(4566);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
public class LocalStackContainerConfig {

private static final LocalStackContainer localStackContainer =
new LocalStackContainer(DockerImageName.parse("localstack/localstack").withTag("2.1.0"))
new LocalStackContainer(DockerImageName.parse("localstack/localstack").withTag("2.3.2"))
.withCopyFileToContainer(
MountableFile.forHostPath("localstack/"),
"/etc/localstack/init/ready.d/")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ public class TestS3Application {
@ServiceConnection
@RestartScope
PostgreSQLContainer<?> postgresContainer() {
return new PostgreSQLContainer<>(DockerImageName.parse("postgres:15.4-alpine"));
return new PostgreSQLContainer<>(DockerImageName.parse("postgres:16.0-alpine"));
}

static final LocalStackContainer LOCALSTACKCONTAINER =
new LocalStackContainer(DockerImageName.parse("localstack/localstack").withTag("2.2.0"))
new LocalStackContainer(DockerImageName.parse("localstack/localstack").withTag("2.3.2"))
.withCopyFileToContainer(
MountableFile.forHostPath(".localstack/"),
"/etc/localstack/init/ready.d/")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
public class LocalStackContainerConfig {

private static final LocalStackContainer localStackContainer =
new LocalStackContainer(DockerImageName.parse("localstack/localstack").withTag("2.1.0"))
new LocalStackContainer(DockerImageName.parse("localstack/localstack").withTag("2.3.2"))
.withCopyFileToContainer(
MountableFile.forHostPath("localstack/"),
"/etc/localstack/init/ready.d/")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public class LocalStackConfig {

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

static {
localStackContainer.start();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ public class TestcontainersConfig {
@Bean
@ServiceConnection
public PostgreSQLContainer<?> postgreSQLContainer() {
return new PostgreSQLContainer<>("postgres:15.3-alpine");
return new PostgreSQLContainer<>("postgres:16.0-alpine");
}

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

static {
localStackContainer.start();
Expand Down

0 comments on commit 672e8d9

Please sign in to comment.