File tree Expand file tree Collapse file tree 5 files changed +19
-14
lines changed
integration-test/java/com/ivanfranchin/bookservice
test/java/com/ivanfranchin/bookservice/repository Expand file tree Collapse file tree 5 files changed +19
-14
lines changed Original file line number Diff line number Diff line change 1
1
plugins {
2
2
id ' java'
3
- id ' org.springframework.boot' version ' 3.4.3 '
3
+ id ' org.springframework.boot' version ' 3.4.5 '
4
4
id ' io.spring.dependency-management' version ' 1.1.7'
5
5
}
6
6
@@ -27,10 +27,9 @@ repositories {
27
27
}
28
28
29
29
ext {
30
- set(' springdocOpenApiVersion' , ' 2.8.5 ' )
31
- set(' keycloakVersion' , ' 26.0.4 ' )
30
+ set(' springdocOpenApiVersion' , ' 2.8.6 ' )
31
+ set(' keycloakVersion' , ' 26.0.5 ' )
32
32
set(' httpClient5Version' , ' 5.4.1' )
33
- set(' dockerImagePrefix' , ' ivanfranchin' )
34
33
}
35
34
36
35
// adding integration test
@@ -97,7 +96,3 @@ tasks.named('test') {
97
96
98
97
check. dependsOn integrationTest
99
98
integrationTest. mustRunAfter test
100
-
101
- tasks. named(" bootBuildImage" ) {
102
- imageName = " ${ dockerImagePrefix} /${ project.name} :${ project.version} "
103
- }
Original file line number Diff line number Diff line change @@ -26,9 +26,9 @@ public abstract class AbstractTestcontainers {
26
26
27
27
@ Container
28
28
@ ServiceConnection
29
- private static final MongoDBContainer mongoDBContainer = new MongoDBContainer ("mongo:8.0.5 " );
29
+ private static final MongoDBContainer mongoDBContainer = new MongoDBContainer ("mongo:8.0.6 " );
30
30
31
- private static final GenericContainer <?> keycloakContainer = new GenericContainer <>("quay.io/keycloak/keycloak:26.1.4 " );
31
+ private static final GenericContainer <?> keycloakContainer = new GenericContainer <>("quay.io/keycloak/keycloak:26.2.1 " );
32
32
33
33
protected static Keycloak keycloakBookService ;
34
34
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ class BookRepositoryTest {
24
24
25
25
@ Container
26
26
@ ServiceConnection
27
- private static final MongoDBContainer mongoDBContainer = new MongoDBContainer ("mongo:8.0.5 " );
27
+ private static final MongoDBContainer mongoDBContainer = new MongoDBContainer ("mongo:8.0.6 " );
28
28
29
29
@ Autowired
30
30
private MongoTemplate mongoTemplate ;
Original file line number Diff line number Diff line change 1
1
#! /usr/bin/env bash
2
2
3
- ./gradlew book-service:clean book-service:bootBuildImage -x test -x integrationTest
3
+ DOCKER_IMAGE_PREFIX=" ivanfranchin"
4
+ APP_NAME=" book-service"
5
+ APP_VERSION=" 1.0.0"
6
+ DOCKER_IMAGE_NAME=" ${DOCKER_IMAGE_PREFIX} /${APP_NAME} :${APP_VERSION} "
7
+
8
+ ./gradlew \
9
+ " $APP_NAME " :clean \
10
+ " $APP_NAME " :bootBuildImage \
11
+ -x test \
12
+ -x integrationTest \
13
+ --imageName=" $DOCKER_IMAGE_NAME "
Original file line number Diff line number Diff line change 1
1
#! /usr/bin/env bash
2
2
3
- MONGO_VERSION=" 8.0.5 "
4
- KEYCLOAK_VERSION=" 26.1.4 "
3
+ MONGO_VERSION=" 8.0.6 "
4
+ KEYCLOAK_VERSION=" 26.2.1 "
5
5
6
6
source scripts/my-functions.sh
7
7
You can’t perform that action at this time.
0 commit comments