Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for GraalVM 2.3.0 #110

Merged
merged 1 commit into from
Nov 18, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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