From 7fa2a7db3f45ad9e4603217fed3197813e111477 Mon Sep 17 00:00:00 2001 From: George Gastaldi Date: Mon, 24 Aug 2020 15:43:18 -0300 Subject: [PATCH] Upgrade to GraalVM 20.2.0 Fixes #11576 --- .github/workflows/native-cron-build.yml.disabled | 4 ++-- bom/application/pom.xml | 2 +- build-parent/pom.xml | 2 +- .../src/main/java/io/quarkus/deployment/pkg/NativeConfig.java | 2 +- .../io/quarkus/deployment/pkg/steps/NativeImageBuildStep.java | 1 + independent-projects/bootstrap/pom.xml | 2 +- 6 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/native-cron-build.yml.disabled b/.github/workflows/native-cron-build.yml.disabled index e5b8db4b1e7d0..11b4ab98b7ecb 100644 --- a/.github/workflows/native-cron-build.yml.disabled +++ b/.github/workflows/native-cron-build.yml.disabled @@ -20,7 +20,7 @@ jobs: run: sudo systemctl stop mysql - name: Pull docker image - run: docker pull quay.io/quarkus/ubi-quarkus-native-image:20.1.0-java${{ matrix.java }} + run: docker pull quay.io/quarkus/ubi-quarkus-native-image:20.2.0-java${{ matrix.java }} - name: Set up JDK ${{ matrix.java }} # Uses sha for added security since tags can be updated @@ -55,7 +55,7 @@ jobs: run: mvn -B install -DskipTests -DskipITs -Dformat.skip - name: Run integration tests in native - run: mvn -B --settings .github/mvn-settings.xml verify -f integration-tests/pom.xml --fail-at-end -Dno-format -Ddocker -Dnative -Dquarkus.native.container-build=true -Dquarkus.native.builder-image=quay.io/quarkus/ubi-quarkus-native-image:20.1.0-java${{ matrix.java }} -Dtest-postgresql -Dtest-elasticsearch -Dtest-mysql -Dtest-db2 -Dtest-amazon-services -Dtest-vault -Dtest-neo4j -Dtest-keycloak -Dtest-kafka -Dtest-mssql -Dtest-mariadb -Dmariadb.url="jdbc:mariadb://localhost:3308/hibernate_orm_test" -pl '!io.quarkus:quarkus-integration-test-google-cloud-functions-http,!io.quarkus:quarkus-integration-test-google-cloud-functions,!io.quarkus:quarkus-integration-test-funqy-google-cloud-functions' + run: mvn -B --settings .github/mvn-settings.xml verify -f integration-tests/pom.xml --fail-at-end -Dno-format -Ddocker -Dnative -Dquarkus.native.container-build=true -Dquarkus.native.builder-image=quay.io/quarkus/ubi-quarkus-native-image:20.2.0-java${{ matrix.java }} -Dtest-postgresql -Dtest-elasticsearch -Dtest-mysql -Dtest-db2 -Dtest-amazon-services -Dtest-vault -Dtest-neo4j -Dtest-keycloak -Dtest-kafka -Dtest-mssql -Dtest-mariadb -Dmariadb.url="jdbc:mariadb://localhost:3308/hibernate_orm_test" -pl '!io.quarkus:quarkus-integration-test-google-cloud-functions-http,!io.quarkus:quarkus-integration-test-google-cloud-functions,!io.quarkus:quarkus-integration-test-funqy-google-cloud-functions' - name: Report if: always() diff --git a/bom/application/pom.xml b/bom/application/pom.xml index 9c00b70807349..656f259ef7a29 100644 --- a/bom/application/pom.xml +++ b/bom/application/pom.xml @@ -77,7 +77,7 @@ 3.6.0 2.1.0 - 20.1.0 + 20.2.0 1.0.4.Final 2.11.2 1.0.0.Final diff --git a/build-parent/pom.xml b/build-parent/pom.xml index 3098e391b5a46..1f293abfae68b 100644 --- a/build-parent/pom.xml +++ b/build-parent/pom.xml @@ -33,7 +33,7 @@ - 20.1.0 + 20.2.0 20.1.0.1.Final 4.1.1 1.1.0 diff --git a/core/deployment/src/main/java/io/quarkus/deployment/pkg/NativeConfig.java b/core/deployment/src/main/java/io/quarkus/deployment/pkg/NativeConfig.java index 480340fa88a84..8a901fcf6d77d 100644 --- a/core/deployment/src/main/java/io/quarkus/deployment/pkg/NativeConfig.java +++ b/core/deployment/src/main/java/io/quarkus/deployment/pkg/NativeConfig.java @@ -128,7 +128,7 @@ public class NativeConfig { /** * The docker image to use to do the image build */ - @ConfigItem(defaultValue = "quay.io/quarkus/ubi-quarkus-native-image:20.1.0-java11") + @ConfigItem(defaultValue = "quay.io/quarkus/ubi-quarkus-native-image:20.2.0-java11") public String builderImage; /** diff --git a/core/deployment/src/main/java/io/quarkus/deployment/pkg/steps/NativeImageBuildStep.java b/core/deployment/src/main/java/io/quarkus/deployment/pkg/steps/NativeImageBuildStep.java index 15c59625dc5a3..479173568e30b 100644 --- a/core/deployment/src/main/java/io/quarkus/deployment/pkg/steps/NativeImageBuildStep.java +++ b/core/deployment/src/main/java/io/quarkus/deployment/pkg/steps/NativeImageBuildStep.java @@ -658,6 +658,7 @@ static final class Version implements Comparable { static final Version SNAPSHOT_MANDREL = new Version("Snapshot", Integer.MAX_VALUE, Integer.MAX_VALUE, Distribution.MANDREL); static final Version VERSION_20_1 = new Version("GraalVM 20.1", 20, 1, Distribution.ORACLE); + // Keeping 20.1 until Mandrel is updated static final Version CURRENT = VERSION_20_1; final String fullVersion; diff --git a/independent-projects/bootstrap/pom.xml b/independent-projects/bootstrap/pom.xml index 92b6bb5c6e892..f46ab505db6bb 100644 --- a/independent-projects/bootstrap/pom.xml +++ b/independent-projects/bootstrap/pom.xml @@ -45,7 +45,7 @@ 1.2.6 1.0.4 1.2.0.Final - 20.1.0 + 20.2.0 2.6.0 3.0.0-M5 1.3.0