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

feat: update graal-sdk to 24 and graalvm-A to 21.x #815

Merged
merged 22 commits into from
Jul 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
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
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
Loading