Skip to content

Commit 38f231b

Browse files
committed
Merge remote-tracking branch 'origin/master' into 2.0.x
# Conflicts: # README.md # build.gradle # embedded-database-spring-test/src/main/java/io/zonky/test/db/flyway/FlywayConfigSnapshot.java # embedded-database-spring-test/src/main/java/io/zonky/test/db/provider/postgres/DockerPostgresDatabaseProvider.java # embedded-database-spring-test/src/main/resources/META-INF/spring-configuration-metadata.json
2 parents 55fbbb5 + 5eba4e0 commit 38f231b

File tree

3 files changed

+29
-12
lines changed

3 files changed

+29
-12
lines changed

build.gradle

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,12 @@ ext {
4040
[name: '7.0.4', flyway: '7.0.4', 'flyway-test': '7.0.0', spring: '5.3.1', 'spring-boot': '2.4.0', 'zonky-postgres': 'default'],
4141
[name: '7.1.1', flyway: '7.1.1', 'flyway-test': '7.0.0', spring: '5.3.1', 'spring-boot': '2.4.0', 'zonky-postgres': 'default'],
4242
[name: '7.2.1', flyway: '7.2.1', 'flyway-test': '7.0.0', spring: '5.3.1', 'spring-boot': '2.4.0', 'zonky-postgres': 'default'],
43-
[name: '7.3.0', flyway: '7.3.0', 'flyway-test': '7.0.0', spring: '5.3.1', 'spring-boot': '2.4.0', 'zonky-postgres': 'default'],
43+
[name: '7.3.2', flyway: '7.3.2', 'flyway-test': '7.0.0', spring: '5.3.1', 'spring-boot': '2.4.0', 'zonky-postgres': 'default'],
44+
[name: '7.4.0', flyway: '7.4.0', 'flyway-test': '7.0.0', spring: '5.3.1', 'spring-boot': '2.4.0', 'zonky-postgres': 'default'],
45+
[name: '7.5.4', flyway: '7.5.4', 'flyway-test': '7.0.0', spring: '5.3.1', 'spring-boot': '2.4.0', 'zonky-postgres': 'default'],
46+
[name: '7.6.0', flyway: '7.6.0', 'flyway-test': '7.0.0', spring: '5.3.1', 'spring-boot': '2.4.0', 'zonky-postgres': 'default'],
47+
[name: '7.7.3', flyway: '7.7.3', 'flyway-test': '7.0.0', spring: '5.3.1', 'spring-boot': '2.4.0', 'zonky-postgres': 'default'],
48+
[name: '7.8.2', flyway: '7.8.2', 'flyway-test': '7.0.0', spring: '5.3.1', 'spring-boot': '2.4.0', 'zonky-postgres': 'default'],
4449
[name: 'no_sb', flyway: 'default', 'flyway-test': 'default', 'zonky-postgres': 'default']
4550
]],
4651
[name: 'liquibase', versions: [
@@ -199,7 +204,7 @@ project(':embedded-database-spring-test') {
199204
compile 'org.testcontainers:mysql:1.15.3'
200205
compile 'org.testcontainers:mariadb:1.15.3'
201206

202-
compile 'io.zonky.test:embedded-postgres:1.2.9', optional
207+
compile 'io.zonky.test:embedded-postgres:1.2.10', optional
203208
compile 'com.opentable.components:otj-pg-embedded:0.13.3', optional
204209
compile 'ru.yandex.qatools.embed:postgresql-embedded:2.10', optional
205210

embedded-database-spring-test/src/main/resources/META-INF/spring-configuration-metadata.json

Lines changed: 20 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -292,28 +292,40 @@
292292
"value": "postgres:9.5"
293293
},
294294
{
295-
"value": "mdillon/postgis:11-alpine"
295+
"value": "postgis/postgis:13-3.1-alpine"
296296
},
297297
{
298-
"value": "mdillon/postgis:10-alpine"
298+
"value": "postgis/postgis:12-3.1-alpine"
299299
},
300300
{
301-
"value": "mdillon/postgis:9.6-alpine"
301+
"value": "postgis/postgis:11-3.1-alpine"
302302
},
303303
{
304-
"value": "mdillon/postgis:9.5-alpine"
304+
"value": "postgis/postgis:10-3.1-alpine"
305305
},
306306
{
307-
"value": "mdillon/postgis:11"
307+
"value": "postgis/postgis:9.6-3.1-alpine"
308308
},
309309
{
310-
"value": "mdillon/postgis:10"
310+
"value": "postgis/postgis:9.5-3.0-alpine"
311311
},
312312
{
313-
"value": "mdillon/postgis:9.6"
313+
"value": "postgis/postgis:13-3.1"
314314
},
315315
{
316-
"value": "mdillon/postgis:9.5"
316+
"value": "postgis/postgis:12-3.1"
317+
},
318+
{
319+
"value": "postgis/postgis:11-3.1"
320+
},
321+
{
322+
"value": "postgis/postgis:10-3.1"
323+
},
324+
{
325+
"value": "postgis/postgis:9.6-3.1"
326+
},
327+
{
328+
"value": "postgis/postgis:9.5-3.0"
317329
}
318330
],
319331
"providers": [

embedded-database-spring-test/src/test/java/io/zonky/test/db/provider/DockerPostgresProviderWithPostgisImageIntegrationTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
@RunWith(SpringRunner.class)
4040
@AutoConfigureEmbeddedDatabase(type = POSTGRES, provider = DOCKER)
4141
@TestPropertySource(properties = {
42-
"zonky.test.database.postgres.docker.image=mdillon/postgis:9.6-alpine"
42+
"zonky.test.database.postgres.docker.image=postgis/postgis:9.6-3.1-alpine"
4343
})
4444
@ContextConfiguration
4545
public class DockerPostgresProviderWithPostgisImageIntegrationTest {
@@ -67,6 +67,6 @@ public void testDataSource() throws SQLException {
6767

6868
jdbcTemplate.update("create extension postgis");
6969
String postgisVersion = jdbcTemplate.queryForObject("select postgis_version()", String.class);
70-
assertThat(postgisVersion).startsWith("2.5");
70+
assertThat(postgisVersion).startsWith("3.1");
7171
}
7272
}

0 commit comments

Comments
 (0)