Skip to content

Commit e50dde3

Browse files
authored
Disable testresources and downgrade docker images (#9084)
This is an attempt to fix the JIT-only regression introduced by f2b0b60 .
1 parent c0a0aa9 commit e50dde3

11 files changed

+23
-23
lines changed

frameworks/Java/micronaut/micronaut-data-jdbc-graalvm.dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ FROM ghcr.io/graalvm/native-image-community:21-ol9 as build
22
RUN microdnf install findutils # Gradle 8.7 requires xargs
33
COPY . /home/gradle/src
44
WORKDIR /home/gradle/src
5-
RUN ./gradlew micronaut-data-jdbc:nativeCompile -x test --no-daemon
5+
RUN ./gradlew micronaut-data-jdbc:nativeCompile -x test -x internalStartTestResourcesService --no-daemon
66

77
FROM cgr.dev/chainguard/wolfi-base:latest
88
WORKDIR /micronaut

frameworks/Java/micronaut/micronaut-data-jdbc.dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
FROM gradle:8.7.0-jdk21 as build
1+
FROM gradle:8.7.0-jdk17 as build
22
COPY --chown=gradle:gradle . /home/gradle/src
33
WORKDIR /home/gradle/src
4-
RUN gradle micronaut-data-jdbc:build -x test --no-daemon
4+
RUN gradle micronaut-data-jdbc:build -x test -x internalStartTestResourcesService --no-daemon
55

6-
FROM openjdk:22
6+
FROM openjdk:21
77
WORKDIR /micronaut
88
COPY --from=build /home/gradle/src/micronaut-data-jdbc/build/libs/micronaut-data-jdbc-all.jar micronaut.jar
99
COPY run_benchmark.sh run_benchmark.sh

frameworks/Java/micronaut/micronaut-data-mongodb-graalvm.dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ FROM ghcr.io/graalvm/native-image-community:21-ol9 as build
22
RUN microdnf install findutils # Gradle 8.7 requires xargs
33
COPY . /home/gradle/src
44
WORKDIR /home/gradle/src
5-
RUN ./gradlew micronaut-data-mongodb:nativeCompile -x test --no-daemon
5+
RUN ./gradlew micronaut-data-mongodb:nativeCompile -x test -x internalStartTestResourcesService --no-daemon
66

77
FROM cgr.dev/chainguard/wolfi-base:latest
88
WORKDIR /micronaut

frameworks/Java/micronaut/micronaut-data-mongodb.dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
FROM gradle:8.7.0-jdk21 as build
1+
FROM gradle:8.7.0-jdk17 as build
22
COPY --chown=gradle:gradle . /home/gradle/src
33
WORKDIR /home/gradle/src
4-
RUN gradle micronaut-data-mongodb:build -x test --no-daemon
4+
RUN gradle micronaut-data-mongodb:build -x test -x internalStartTestResourcesService --no-daemon
55

6-
FROM openjdk:22
6+
FROM openjdk:21
77
WORKDIR /micronaut
88
COPY --from=build /home/gradle/src/micronaut-data-mongodb/build/libs/micronaut-data-mongodb-all.jar micronaut.jar
99
COPY run_benchmark.sh run_benchmark.sh

frameworks/Java/micronaut/micronaut-data-r2dbc-graalvm.dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ FROM ghcr.io/graalvm/native-image-community:21-ol9 as build
22
RUN microdnf install findutils # Gradle 8.7 requires xargs
33
COPY . /home/gradle/src
44
WORKDIR /home/gradle/src
5-
RUN ./gradlew micronaut-data-r2dbc:nativeCompile -x test --no-daemon
5+
RUN ./gradlew micronaut-data-r2dbc:nativeCompile -x test -x internalStartTestResourcesService --no-daemon
66

77
FROM cgr.dev/chainguard/wolfi-base:latest
88
WORKDIR /micronaut

frameworks/Java/micronaut/micronaut-data-r2dbc.dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
FROM gradle:8.7.0-jdk21 as build
1+
FROM gradle:8.7.0-jdk17 as build
22
COPY --chown=gradle:gradle . /home/gradle/src
33
WORKDIR /home/gradle/src
4-
RUN gradle micronaut-data-r2dbc:build -x test --no-daemon
4+
RUN gradle micronaut-data-r2dbc:build -x test -x internalStartTestResourcesService --no-daemon
55

6-
FROM openjdk:22
6+
FROM openjdk:21
77
WORKDIR /micronaut
88
COPY --from=build /home/gradle/src/micronaut-data-r2dbc/build/libs/micronaut-data-r2dbc-all.jar micronaut.jar
99
COPY run_benchmark.sh run_benchmark.sh

frameworks/Java/micronaut/micronaut-graalvm.dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ FROM ghcr.io/graalvm/native-image-community:21-ol9 as build
22
RUN microdnf install findutils # Gradle 8.7 requires xargs
33
COPY . /home/gradle/src
44
WORKDIR /home/gradle/src
5-
RUN ./gradlew micronaut-vertx-pg-client:nativeCompile -x test --no-daemon
5+
RUN ./gradlew micronaut-vertx-pg-client:nativeCompile -x test -x internalStartTestResourcesService --no-daemon
66

77
FROM cgr.dev/chainguard/wolfi-base:latest
88
RUN apk --no-cache update && apk add libstdc++

frameworks/Java/micronaut/micronaut-jdbc-graalvm.dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ FROM ghcr.io/graalvm/native-image-community:21-ol9 as build
22
RUN microdnf install findutils # Gradle 8.7 requires xargs
33
COPY . /home/gradle/src
44
WORKDIR /home/gradle/src
5-
RUN ./gradlew micronaut-jdbc:nativeCompile -x test --no-daemon
5+
RUN ./gradlew micronaut-jdbc:nativeCompile -x test -x internalStartTestResourcesService --no-daemon
66

77
FROM cgr.dev/chainguard/wolfi-base:latest
88
WORKDIR /micronaut

frameworks/Java/micronaut/micronaut-jdbc.dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
FROM gradle:8.7.0-jdk21 as build
1+
FROM gradle:8.7.0-jdk17 as build
22
COPY --chown=gradle:gradle . /home/gradle/src
33
WORKDIR /home/gradle/src
4-
RUN gradle micronaut-jdbc:build -x test --no-daemon
4+
RUN gradle micronaut-jdbc:build -x test -x internalStartTestResourcesService --no-daemon
55

6-
FROM openjdk:22
6+
FROM openjdk:21
77
WORKDIR /micronaut
88
COPY --from=build /home/gradle/src/micronaut-jdbc/build/libs/micronaut-jdbc-all.jar micronaut.jar
99
COPY run_benchmark.sh run_benchmark.sh

frameworks/Java/micronaut/micronaut-r2dbc.dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
FROM gradle:8.7.0-jdk21 as build
1+
FROM gradle:8.7.0-jdk17 as build
22
COPY --chown=gradle:gradle . /home/gradle/src
33
WORKDIR /home/gradle/src
4-
RUN gradle micronaut-r2dbc:build -x test --no-daemon
4+
RUN gradle micronaut-r2dbc:build -x test -x internalStartTestResourcesService --no-daemon
55

6-
FROM openjdk:22
6+
FROM openjdk:21
77
WORKDIR /micronaut
88
COPY --from=build /home/gradle/src/micronaut-r2dbc/build/libs/micronaut-r2dbc-all.jar micronaut.jar
99
COPY run_benchmark.sh run_benchmark.sh

0 commit comments

Comments
 (0)