Skip to content

Commit

Permalink
MacOS newer Quarkus is trying to use builder image instead of locally…
Browse files Browse the repository at this point in the history
… installed mandrel
  • Loading branch information
Karm committed Jan 27, 2025
1 parent e74b945 commit 9a92beb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions jenkins/jobs/tests/Constants.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ class Constants {
free -h
df -h
ps aux | grep java
export QUARKUS_NATIVE_CONTAINER_BUILD=false
mvn --batch-mode clean verify -Ptestsuite -DincludeTags=reproducers,perfcheck,runtimes -Dquarkus.version=${QUARKUS_VERSION}
'''

Expand Down Expand Up @@ -114,6 +115,7 @@ class Constants {
df -h
ps aux | grep java
export QUARKUS_NATIVE_CONTAINER_RUNTIME=podman
export QUARKUS_NATIVE_CONTAINER_BUILD=false
podman machine init --now || true
podman machine stop || true
podman machine set --memory 8192
Expand Down Expand Up @@ -175,6 +177,7 @@ class Constants {
cd quarkus
export MAVEN_OPTS="-Xmx5g -XX:MaxMetaspaceSize=5g"
export QUARKUS_NATIVE_CONTAINER_RUNTIME=podman
export QUARKUS_NATIVE_CONTAINER_BUILD=false
# Get rid of docker.io
find . -name "pom.xml" -exec sed -i 's~image>docker.io/~image>quay.io/karmkarm/~g' {} \\;
find . -name "*.java" -exec sed -i 's~"apachepulsar/pulsar:~"quay.io/karmkarm/apachepulsar/pulsar:~g' {} \\;
Expand Down

0 comments on commit 9a92beb

Please sign in to comment.