Skip to content

Commit

Permalink
feat: update graal-sdk to 24 and graalvm-A to 21.x (#815)
Browse files Browse the repository at this point in the history
* feat: update graal-sdk to 24 and graalvm-A to 22.x
  • Loading branch information
mpeddada1 authored Jul 30, 2024
1 parent fab5006 commit 3c3c630
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .cloudbuild/graalvm-a.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
# See the License for the specific language governing permissions and
# limitations under the License.

FROM ghcr.io/graalvm/graalvm-community:17.0.9-ol7
RUN gu install native-image && \
yum update -y && \
FROM ghcr.io/graalvm/graalvm-community:21.0.2-ol7-20240116

RUN yum update -y && \
yum install -y wget unzip git && \
# Install maven
wget -q https://archive.apache.org/dist/maven/maven-3/3.9.4/binaries/apache-maven-3.9.4-bin.zip -O /tmp/maven.zip && \
Expand Down
2 changes: 1 addition & 1 deletion .cloudbuild/graalvm-a.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ commandTests:
- name: "version"
command: ["java", "-version"]
# java -version outputs to stderr...
expectedError: ["openjdk version \"17.0.9\"", "GraalVM CE 17.0.9"]
expectedError: ["openjdk version \"21.0.2\"", "GraalVM CE 21.0.2"]
- name: "maven"
command: ["mvn", "-version"]
expectedOutput: ["Apache Maven 3.9.4"]
Expand Down
3 changes: 1 addition & 2 deletions .kokoro/presubmit/downstream-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
set -eo pipefail
set -x
function modify_shared_config() {
xmllint --shell pom.xml <<EOF
setns x=http://maven.apache.org/POM/4.0.0
Expand Down Expand Up @@ -54,7 +53,7 @@ pushd sdk-platform-java/showcase/gapic-showcase
SHOWCASE_VERSION=$(mvn help:evaluate -Dexpression=gapic-showcase.version -q -DforceStdout)
popd

## Start showcase server
# Start showcase server
mkdir -p /usr/src/showcase
curl --location https://github.com/googleapis/gapic-showcase/releases/download/v"${SHOWCASE_VERSION}"/gapic-showcase-"${SHOWCASE_VERSION}"-linux-amd64.tar.gz --output /usr/src/showcase/showcase-"${SHOWCASE_VERSION}"-linux-amd64.tar.gz
pushd /usr/src/showcase/
Expand Down
3 changes: 2 additions & 1 deletion native-image-shared-config/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,13 @@
</licenses>

<properties>
<graal-sdk.version>24.0.2</graal-sdk.version>
<surefire.version>3.3.1</surefire.version>
<graal-sdk.version>22.3.5</graal-sdk.version>
<graal-sdk-nativeimage.version>24.0.2</graal-sdk-nativeimage.version>
<native-maven-plugin.version>0.10.2</native-maven-plugin.version>
<junit-vintage-engine.version>5.10.3</junit-vintage-engine.version>
<opentest4j.version>1.3.0</opentest4j.version>
<ignoredDependencies>org.graalvm.sdk:nativeimage</ignoredDependencies>
</properties>

<dependencyManagement>
Expand Down

0 comments on commit 3c3c630

Please sign in to comment.