File tree 8 files changed +16
-13
lines changed
004-quarkus-HHH-and-HV/src/test/java/io/quarkus/qe/hibernate/validator
006-quartz-manually-scheduled-job/src/test/java/io/quarkus/qe/quartz
013-quarkus-oidc-restclient
601-spring-data-primitive-types/src/test/java/io/quarkus/qe/spring/data
8 files changed +16
-13
lines changed Original file line number Diff line number Diff line change @@ -208,7 +208,6 @@ jobs:
208
208
with :
209
209
version : ${{ matrix.graalvm-version }}
210
210
java-version : ${{ matrix.graalvm-java-version }}
211
- components : ' native-image'
212
211
github-token : ${{ secrets.GITHUB_TOKEN }}
213
212
- name : Configure Pagefile
214
213
# Increased the page-file size due to memory-consumption of native-image command
Original file line number Diff line number Diff line change 44
44
strategy :
45
45
matrix :
46
46
java : [ 17 ]
47
- image : [ "ubi-quarkus-mandrel-builder-image:jdk-21"]
48
47
steps :
49
48
- uses : actions/checkout@v4
50
49
- uses : actions/cache@v4
88
87
strategy :
89
88
matrix :
90
89
java : [ 17 ]
90
+ image : [ "ubi-quarkus-mandrel-builder-image:jdk-21"]
91
91
steps :
92
92
- uses : actions/checkout@v4
93
93
- uses : actions/cache@v4
@@ -130,7 +130,8 @@ jobs:
130
130
131
131
MODULES_ARG="${CHANGED// /,}"
132
132
mvn -am -fae -V -B -s .github/mvn-settings.xml -fae -pl $MODULES_ARG clean verify -Dnative \
133
- -Dquarkus.native.container-build=true -Dquarkus.native.native-image-xmx=4g
133
+ -Dquarkus.native.container-build=true -Dquarkus.native.native-image-xmx=4g \
134
+ -Dquarkus.native.builder-image=quay.io/quarkus/${{ matrix.image }}
134
135
- name : Zip Artifacts
135
136
if : failure()
136
137
run : |
@@ -181,7 +182,6 @@ jobs:
181
182
with :
182
183
version : ${{ matrix.graalvm-version }}
183
184
java-version : ${{ matrix.graalvm-java-version }}
184
- components : ' native-image'
185
185
github-token : ${{ secrets.GITHUB_TOKEN }}
186
186
- name : Configure Pagefile
187
187
# Increased the page-file size due to memory-consumption of native-image command
Original file line number Diff line number Diff line change 1
1
package io .quarkus .qe .hibernate .validator ;
2
2
3
+ import io .quarkus .test .common .TestResourceScope ;
3
4
import io .quarkus .test .common .WithTestResource ;
4
5
import io .quarkus .test .h2 .H2DatabaseTestResource ;
5
6
6
- @ WithTestResource (value = H2DatabaseTestResource .class , restrictToAnnotatedClass = false )
7
+ @ WithTestResource (value = H2DatabaseTestResource .class , scope = TestResourceScope . MATCHING_RESOURCES )
7
8
public class TestResources {
8
9
}
Original file line number Diff line number Diff line change 1
1
package io .quarkus .qe .quartz ;
2
2
3
+ import io .quarkus .test .common .TestResourceScope ;
3
4
import io .quarkus .test .common .WithTestResource ;
4
5
import io .quarkus .test .h2 .H2DatabaseTestResource ;
5
6
6
- @ WithTestResource (value = H2DatabaseTestResource .class , restrictToAnnotatedClass = false )
7
+ @ WithTestResource (value = H2DatabaseTestResource .class , scope = TestResourceScope . MATCHING_RESOURCES )
7
8
public class TestResources {
8
9
}
Original file line number Diff line number Diff line change 30
30
</dependency >
31
31
<dependency >
32
32
<groupId >io.quarkus</groupId >
33
- <artifactId >quarkus-oidc -client-filter</artifactId >
33
+ <artifactId >quarkus-resteasy -client-oidc -filter</artifactId >
34
34
</dependency >
35
35
<dependency >
36
36
<groupId >io.quarkus</groupId >
37
- <artifactId >quarkus-oidc-token-propagation</artifactId >
37
+ <artifactId >quarkus-resteasy-client- oidc-token-propagation</artifactId >
38
38
</dependency >
39
39
<dependency >
40
40
<groupId >org.keycloak</groupId >
Original file line number Diff line number Diff line change @@ -28,13 +28,13 @@ quarkus.oidc-client.test-user.grant-options.password.password=test-user
28
28
29
29
# RestClient
30
30
io.quarkus.qe.ping.clients.PongClient/mp-rest/url =http://localhost:8081
31
- io.quarkus.qe.ping.clients.PongClient/mp-rest/scope =javax .inject.Singleton
31
+ io.quarkus.qe.ping.clients.PongClient/mp-rest/scope =jakarta .inject.Singleton
32
32
33
33
io.quarkus.qe.ping.clients.ReactivePongClient/mp-rest/url =http://localhost:8081
34
- io.quarkus.qe.ping.clients.ReactivePongClient/mp-rest/scope =javax .inject.Singleton
34
+ io.quarkus.qe.ping.clients.ReactivePongClient/mp-rest/scope =jakarta .inject.Singleton
35
35
36
36
io.quarkus.qe.ping.clients.LookupAuthorizationPongClient/mp-rest/url =http://localhost:8081
37
- io.quarkus.qe.ping.clients.LookupAuthorizationPongClient/mp-rest/scope =javax .inject.Singleton
37
+ io.quarkus.qe.ping.clients.LookupAuthorizationPongClient/mp-rest/scope =jakarta .inject.Singleton
38
38
39
39
io.quarkus.qe.ping.clients.AutoAcquireTokenPongClient/mp-rest/url =http://localhost:8081
40
40
Original file line number Diff line number Diff line change 14
14
15
15
import io .quarkus .qe .containers .KeycloakTestResource ;
16
16
import io .quarkus .qe .model .Score ;
17
+ import io .quarkus .test .common .TestResourceScope ;
17
18
import io .quarkus .test .common .WithTestResource ;
18
19
import io .restassured .RestAssured ;
19
20
import io .restassured .config .RestAssuredConfig ;
20
21
import io .restassured .http .ContentType ;
21
22
22
- @ WithTestResource (value = KeycloakTestResource .class , restrictToAnnotatedClass = false )
23
+ @ WithTestResource (value = KeycloakTestResource .class , scope = TestResourceScope . MATCHING_RESOURCES )
23
24
public abstract class AbstractPingPongResourceTest {
24
25
25
26
private static final String PING_ENDPOINT = "/%s-ping" ;
Original file line number Diff line number Diff line change 1
1
package io .quarkus .qe .spring .data ;
2
2
3
+ import io .quarkus .test .common .TestResourceScope ;
3
4
import io .quarkus .test .common .WithTestResource ;
4
5
import io .quarkus .test .h2 .H2DatabaseTestResource ;
5
6
6
- @ WithTestResource (value = H2DatabaseTestResource .class , restrictToAnnotatedClass = false )
7
+ @ WithTestResource (value = H2DatabaseTestResource .class , scope = TestResourceScope . MATCHING_RESOURCES )
7
8
public class TestResources {
8
9
}
You can’t perform that action at this time.
0 commit comments