Skip to content

Commit

Permalink
Merge pull request #110 from quarkusio/graalvm-20.3.0
Browse files Browse the repository at this point in the history
Add support for GraalVM 2.3.0
  • Loading branch information
cescoffier authored Nov 18, 2020
2 parents 11512ec + 1e9aaee commit 6e0abbe
Show file tree
Hide file tree
Showing 5 changed files with 49 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .github/native-images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,12 @@ buildScript: .github/build-native-images.sh
versions:
- 20.1.0-java11
- 20.2.0-java11
- 20.3.0-java11
tags:
- id: 20.1-java11
target: 20.1.0-java11
- id: 20.2-java11
target: 20.2.0-java11
- id: 20.3-java11
target: 20.3.0-java11
versionCheck: true
3 changes: 3 additions & 0 deletions .github/s2i-native-images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,12 @@ buildScript: .github/build-s2i-native-images.sh
versions:
- 20.1.0-java11
- 20.2.0-java11
- 20.3.0-java11
tags:
- id: 20.1-java11
target: 20.1.0-java11
- id: 20.2-java11
target: 20.2.0-java11
- id: 20.3-java11
target: 20.3.0-java11
versionCheck: false
6 changes: 3 additions & 3 deletions .github/tooling-images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ image: quarkus-tooling.yaml
imageName: quay.io/quarkus/centos-quarkus-maven
buildScript: .github/build-tooling-images.sh
versions:
- 20.1.0-java11
- 20.2.0-java11
- 20.3.0-java11
tags:
- id: 20.1-java11
target: 20.1.0-java11
- id: 20.2-java11
target: 20.2.0-java11
- id: 20.3-java11
target: 20.3.0-java11
versionCheck: false
11 changes: 11 additions & 0 deletions modules/graalvm/20.3.0-java11/configure
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/bin/sh
set -e

SOURCES_DIR=/tmp/artifacts

ls -l ${SOURCES_DIR}
tar xzf ${SOURCES_DIR}/${FILENAME} -C /opt
mv /opt/graalvm-ce-${GRAALVM_VERSION} /opt/graalvm

echo "Installing native-image"
/opt/graalvm/bin/gu --auto-yes install native-image
29 changes: 29 additions & 0 deletions modules/graalvm/20.3.0-java11/module.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
schema_version: 1
name: graalvm
version: &version "20.3.0-java11"

labels:
- name: graalvm-archive-filename
value: &filename graalvm-ce-linux-amd64-20.3.0-java11.tar.gz
- name: graalvm-archive-url
value: &url https://github.com/graalvm/graalvm-ce-builds/releases/download/vm-20.3.0/graalvm-ce-java11-linux-amd64-20.3.0.tar.gz
- name: graalvm-version
value: &suffix java11-20.3.0

envs:
- name: "JAVA_HOME"
value: "/opt/graalvm"
- name: "GRAALVM_HOME"
value: "/opt/graalvm"
- name: "GRAALVM_VERSION"
value: *suffix
- name: "FILENAME"
value: *filename

artifacts:
- name: *filename
url: *url
md5: 7bdd85e00c1e80530d711c8a2e61a153

execute:
- script: configure

0 comments on commit 6e0abbe

Please sign in to comment.