Skip to content

Commit

Permalink
Update to latest version
Browse files Browse the repository at this point in the history
  • Loading branch information
rajadilipkolli authored Sep 30, 2024
1 parent 33fba97 commit b11e3e8
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ GenericContainer<?> zipkinContainer() {
@Bean
@ServiceConnection
PostgreSQLContainer<?> postgreSqlContainer() {
return new PostgreSQLContainer<>("postgres:16-alpine").withReuse(true);
return new PostgreSQLContainer<>("postgres:17-alpine").withReuse(true);
}

@Bean
Expand Down
2 changes: 1 addition & 1 deletion inventory-service/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@
<configuration>
<database>
<type>POSTGRES</type>
<containerImage>postgres:16-alpine</containerImage>
<containerImage>postgres:17-alpine</containerImage>
<username>test</username>
<password>test</password>
<databaseName>test</databaseName>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public class ContainersConfig {
@Bean
@ServiceConnection
PostgreSQLContainer<?> postgreSQLContainer() {
return new PostgreSQLContainer<>(DockerImageName.parse("postgres:16-alpine"))
return new PostgreSQLContainer<>(DockerImageName.parse("postgres:17-alpine"))
.withReuse(true);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ public interface PostGreSQLContainer {

@ServiceConnection
PostgreSQLContainer<?> postgreSQLContainer =
new PostgreSQLContainer<>(DockerImageName.parse("postgres").withTag("16-alpine"))
new PostgreSQLContainer<>(DockerImageName.parse("postgres").withTag("17-alpine"))
.withReuse(true);
}
2 changes: 1 addition & 1 deletion payment-service/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@
<configuration>
<database>
<type>POSTGRES</type>
<containerImage>postgres:16-alpine</containerImage>
<containerImage>postgres:17-alpine</containerImage>
<username>test</username>
<password>test</password>
<databaseName>test</databaseName>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public class TestPaymentApplication {
@Bean
@ServiceConnection
PostgreSQLContainer<?> postgreSQLContainer() {
return new PostgreSQLContainer<>(DockerImageName.parse("postgres").withTag("16-alpine"))
return new PostgreSQLContainer<>(DockerImageName.parse("postgres").withTag("17-alpine"))
.withReuse(true);
}

Expand Down

0 comments on commit b11e3e8

Please sign in to comment.