Skip to content

Commit 3c3c630

Browse files
authored
feat: update graal-sdk to 24 and graalvm-A to 21.x (#815)
* feat: update graal-sdk to 24 and graalvm-A to 22.x
1 parent fab5006 commit 3c3c630

4 files changed

Lines changed: 7 additions & 7 deletions

File tree

.cloudbuild/graalvm-a.Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
FROM ghcr.io/graalvm/graalvm-community:17.0.9-ol7
16-
RUN gu install native-image && \
17-
yum update -y && \
15+
FROM ghcr.io/graalvm/graalvm-community:21.0.2-ol7-20240116
16+
17+
RUN yum update -y && \
1818
yum install -y wget unzip git && \
1919
# Install maven
2020
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 && \

.cloudbuild/graalvm-a.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ commandTests:
1717
- name: "version"
1818
command: ["java", "-version"]
1919
# java -version outputs to stderr...
20-
expectedError: ["openjdk version \"17.0.9\"", "GraalVM CE 17.0.9"]
20+
expectedError: ["openjdk version \"21.0.2\"", "GraalVM CE 21.0.2"]
2121
- name: "maven"
2222
command: ["mvn", "-version"]
2323
expectedOutput: ["Apache Maven 3.9.4"]

.kokoro/presubmit/downstream-build.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
set -eo pipefail
1717
set -x
1818

19-
2019
function modify_shared_config() {
2120
xmllint --shell pom.xml <<EOF
2221
setns x=http://maven.apache.org/POM/4.0.0
@@ -54,7 +53,7 @@ pushd sdk-platform-java/showcase/gapic-showcase
5453
SHOWCASE_VERSION=$(mvn help:evaluate -Dexpression=gapic-showcase.version -q -DforceStdout)
5554
popd
5655

57-
## Start showcase server
56+
# Start showcase server
5857
mkdir -p /usr/src/showcase
5958
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
6059
pushd /usr/src/showcase/

native-image-shared-config/pom.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,12 +58,13 @@
5858
</licenses>
5959

6060
<properties>
61+
<graal-sdk.version>24.0.2</graal-sdk.version>
6162
<surefire.version>3.3.1</surefire.version>
62-
<graal-sdk.version>22.3.5</graal-sdk.version>
6363
<graal-sdk-nativeimage.version>24.0.2</graal-sdk-nativeimage.version>
6464
<native-maven-plugin.version>0.10.2</native-maven-plugin.version>
6565
<junit-vintage-engine.version>5.10.3</junit-vintage-engine.version>
6666
<opentest4j.version>1.3.0</opentest4j.version>
67+
<ignoredDependencies>org.graalvm.sdk:nativeimage</ignoredDependencies>
6768
</properties>
6869

6970
<dependencyManagement>

0 commit comments

Comments
 (0)