fix(deps): update micronaut.aot to v2.6.0 #891
graalvm-latest.yml
on: pull_request
build_matrix
3m 21s
Matrix: build
Annotations
3 errors and 2 warnings
MicronautAOTDockerSpec.generates a native optimized docker image:
functional-tests/src/test/groovy/io/micronaut/gradle/aot/MicronautAOTDockerSpec.groovy#L85
Condition not satisfied:
dockerFile == """ FROM ghcr.io/graalvm/native-image-community:17-ol${DefaultVersions.ORACLELINUX} AS graalvm WORKDIR /home/app COPY --link layers/libs /home/app/libs COPY --link layers/app /home/app/ RUN mkdir /home/app/config-dirs RUN mkdir -p /home/app/config-dirs/generateResourcesConfigFile RUN mkdir -p /home/app/config-dirs/io.netty/netty-common/4.0.0.Final RUN mkdir -p /home/app/config-dirs/ch.qos.logback/logback-classic/4.0.0 COPY --link config-dirs/generateResourcesConfigFile /home/app/config-dirs/generateResourcesConfigFile COPY --link config-dirs/io.netty/netty-common/4.0.0.Final /home/app/config-dirs/io.netty/netty-common/4.0.0.Final COPY --link config-dirs/ch.qos.logback/logback-classic/4.0.0 /home/app/config-dirs/ch.qos.logback/logback-classic/4.0.0 RUN native-image FROM cgr.dev/chainguard/wolfi-base:latest EXPOSE 8080 COPY --link --from=graalvm /home/app/application /app/application ENTRYPOINT ["/app/application"]""".stripIndent().trim()
| | | | | |
| | | 9 | FROM ghcr.io/graalvm/native-image-community:17-ol9 AS graalvm
| | class io.micronaut.gradle.DefaultVersions | WORKDIR /home/app
| | | COPY --link layers/libs /home/app/libs
| | | COPY --link layers/app /home/app/
| | | RUN mkdir /home/app/config-dirs
| | | RUN mkdir -p /home/app/config-dirs/generateResourcesConfigFile
| | | RUN mkdir -p /home/app/config-dirs/io.netty/netty-common/4.0.0.Final
| | | RUN mkdir -p /home/app/config-dirs/ch.qos.logback/logback-classic/4.0.0
| | | COPY --link config-dirs/generateResourcesConfigFile /home/app/config-dirs/generateResourcesConfigFile
| | | COPY --link config-dirs/io.netty/netty-common/4.0.0.Final /home/app/config-dirs/io.netty/netty-common/4.0.0.Final
| | | COPY --link config-dirs/ch.qos.logback/logback-classic/4.0.0 /home/app/config-dirs/ch.qos.logback/logback-classic/4.0.0
| | | RUN native-image
| | | FROM cgr.dev/chainguard/wolfi-base:latest
| | | EXPOSE 8080
| | | COPY --link --from=graalvm /home/app/application /app/application
| | | ENTRYPOINT ["/app/application"]
| |
| | FROM ghcr.io/graalvm/native-image-community:17-ol9 AS graalvm
| | WORKDIR /home/app
| | COPY --link layers/libs /home/app/libs
| | COPY --link layers/app /home/app/
| | RUN mkdir /home/app/config-dirs
| | RUN mkdir -p /home/app/config-dirs/generateResourcesConfigFile
| | RUN mkdir -p /home/app/config-dirs/io.netty/netty-common/4.0.0.Final
| | RUN mkdir -p /home/app/config-dirs/ch.qos.logback/logback-classic/4.0.0
| | COPY --link config-dirs/generateResourcesConfigFile /home/app/config-dirs/generateResourcesConfigFile
| | COPY --link config-dirs/io.netty/netty-common/4.0.0.Final /home/app/config-dirs/io.netty/netty-common/4.0.0.Final
| | COPY --link config-dirs/ch.qos.logback/logback-classic/4.0.0 /home/app/config-dirs/ch.qos.logback/logback-classic/4.0.0
| | RUN native-image
| | FROM cgr.dev/chainguard/wolfi-base:latest
| | EXPOSE 8080
| | COPY --link --from=graalvm /home/app/application /app/application
| | ENTRYPOINT ["/app/application"]
| false
| Strings too large to calculate edit distance.
FROM ghcr.io/graalvm/native-image-community:17-ol9 AS graalvm
WORKDIR /home/app
COPY --link layers/libs /home/app/libs
COPY --link layers/app /home/app/
RUN mkdir /home/app/config-dirs
RUN mkdir -p /home/app/config-dirs/generateResourcesConfigFile
RUN mkdir -p /home/app/config-dirs/io.netty/netty-common/4.0.0.Final
RUN mkdir -p /home/app/config-dirs/io.netty/netty-transport/4.0.0.Final
RUN mkdir -p /home/app/config-dirs/ch.qos.logback/logback-classic/4.0.0
COPY --link config-dirs/generateResourcesConfigFile /home/app/config-dirs/generateResourcesConfigFile
COPY --link config-dirs/io.netty/netty-common/4.0.0.Final /home/app/config-dirs/io.netty/netty-common/4.0.0.Final
COPY --link config-dirs/io.netty/netty-transport/4.0.0.Final /home/app/config-dirs/io.netty/netty-transport/4.0.0.Final
COPY --link config-dirs/ch.qos.logback/logback-classic/4.0.0 /home/app/config-dirs/ch.qos.logback/logback-classic/4.0.0
RUN native-image
FROM cgr.dev/chainguard/wolfi-base:latest
EXPOSE 8080
COPY --link --from=graalvm /home/app/application /app/application
ENTRYPOINT ["/app/application"]
|
DockerNativeFunctionalTest.can configure an alternate working directory:
functional-tests/src/test/groovy/io/micronaut/gradle/docker/DockerNativeFunctionalTest.groovy#L674
Condition not satisfied:
dockerFile == """ FROM ghcr.io/graalvm/native-image-community:17-ol${DefaultVersions.ORACLELINUX} AS graalvm WORKDIR /home/alternate COPY --link layers/libs /home/alternate/libs COPY --link layers/app /home/alternate/ COPY --link layers/resources /home/alternate/resources RUN mkdir /home/alternate/config-dirs RUN mkdir -p /home/alternate/config-dirs/generateResourcesConfigFile RUN mkdir -p /home/alternate/config-dirs/io.netty/netty-common/4.0.0.Final COPY --link config-dirs/generateResourcesConfigFile /home/alternate/config-dirs/generateResourcesConfigFile COPY --link config-dirs/io.netty/netty-common/4.0.0.Final /home/alternate/config-dirs/io.netty/netty-common/4.0.0.Final RUN native-image FROM cgr.dev/chainguard/wolfi-base:latest EXPOSE 8080 HEALTHCHECK CMD curl -s localhost:8090/health | grep '"status":"UP"' COPY --link --from=graalvm /home/alternate/application /app/application ENTRYPOINT ["/app/application", "-Xmx64m"]""".stripIndent().trim()
| | | | | |
| | | 9 | FROM ghcr.io/graalvm/native-image-community:17-ol9 AS graalvm
| | class io.micronaut.gradle.DefaultVersions | WORKDIR /home/alternate
| | | COPY --link layers/libs /home/alternate/libs
| | | COPY --link layers/app /home/alternate/
| | | COPY --link layers/resources /home/alternate/resources
| | | RUN mkdir /home/alternate/config-dirs
| | | RUN mkdir -p /home/alternate/config-dirs/generateResourcesConfigFile
| | | RUN mkdir -p /home/alternate/config-dirs/io.netty/netty-common/4.0.0.Final
| | | COPY --link config-dirs/generateResourcesConfigFile /home/alternate/config-dirs/generateResourcesConfigFile
| | | COPY --link config-dirs/io.netty/netty-common/4.0.0.Final /home/alternate/config-dirs/io.netty/netty-common/4.0.0.Final
| | | RUN native-image
| | | FROM cgr.dev/chainguard/wolfi-base:latest
| | | EXPOSE 8080
| | | HEALTHCHECK CMD curl -s localhost:8090/health | grep '"status":"UP"'
| | | COPY --link --from=graalvm /home/alternate/application /app/application
| | | ENTRYPOINT ["/app/application", "-Xmx64m"]
| |
| | FROM ghcr.io/graalvm/native-image-community:17-ol9 AS graalvm
| | WORKDIR /home/alternate
| | COPY --link layers/libs /home/alternate/libs
| | COPY --link layers/app /home/alternate/
| | COPY --link layers/resources /home/alternate/resources
| | RUN mkdir /home/alternate/config-dirs
| | RUN mkdir -p /home/alternate/config-dirs/generateResourcesConfigFile
| | RUN mkdir -p /home/alternate/config-dirs/io.netty/netty-common/4.0.0.Final
| | COPY --link config-dirs/generateResourcesConfigFile /home/alternate/config-dirs/generateResourcesConfigFile
| | COPY --link config-dirs/io.netty/netty-common/4.0.0.Final /home/alternate/config-dirs/io.netty/netty-common/4.0.0.Final
| | RUN native-image
| | FROM cgr.dev/chainguard/wolfi-base:latest
| | EXPOSE 8080
| | HEALTHCHECK CMD curl -s localhost:8090/health | grep '"status":"UP"'
| | COPY --link --from=graalvm /home/alternate/application /app/application
| | ENTRYPOINT ["/app/application", "-Xmx64m"]
| false
| Strings too large to calculate edit distance.
FROM ghcr.io/graalvm/native-image-community:17-ol9 AS graalvm
WORKDIR /home/alternate
COPY --link layers/libs /home/alternate/libs
COPY --link layers/app /home/alternate/
COPY --link layers/resources /home/alternate/resources
RUN mkdir /home/alternate/config-dirs
RUN mkdir -p /home/alternate/config-dirs/generateResourcesConfigFile
RUN mkdir -p /home/alternate/config-dirs/io.netty/netty-common/4.0.0.Final
RUN mkdir -p /home/alternate/config-dirs/io.netty/netty-transport/4.0.0.Final
COPY --link config-dirs/generateResourcesConfigFile /home/alternate/config-dirs/generateResourcesConfigFile
COPY --link config-dirs/io.netty/netty-common/4.0.0.Final /home/alternate/config-dirs/io.netty/netty-common/4.0.0.Final
COPY --link config-dirs/io.netty/netty-transport/4.0.0.Final /home/alternate/config-dirs/io.netty/netty-transport/4.0.0.Final
RUN native-image
FROM cgr.dev/chainguard/wolfi-base:latest
EXPOSE 8080
HEALTHCHECK CMD curl -s localhost:8090/health | grep '"status":"UP"'
COPY --link --from=graalvm /home/alternate/application /app/application
ENTRYPOINT ["/app/application", "-Xmx64m"]
|
OpenApiServerGeneratorSpec.can generate an java OpenAPI server implementation with custom name and local file:
openapi-plugin/src/test/groovy/io/micronaut/openapi/gradle/OpenApiServerGeneratorSpec.groovy#L162
Condition not satisfied:
result.task(":compileJava").outcome == TaskOutcome.SUCCESS
| | | | |
| :compileJava=FAILED FAILED | class org.gradle.testkit.runner.TaskOutcome
| false
<org.gradle.testkit.runner.internal.FeatureCheckBuildResult@6f28a07e delegateBuildResult=org.gradle.testkit.runner.internal.DefaultBuildResult@498bfeec outputFeatureCheck=org.gradle.testkit.runner.internal.feature.BuildResultOutputFeatureCheck@33490054>
|
build_matrix
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|