Skip to content

Commit f2e1454

Browse files
build: introduce testing infra for GraalVM "C" (googleapis#2092)
* build: introduce GraalVM "C" testing * chore: use latest image c version
1 parent b3ed2cf commit f2e1454

File tree

5 files changed

+7
-55
lines changed

5 files changed

+7
-55
lines changed

.kokoro/build.sh

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -70,21 +70,6 @@ integration)
7070
RETURN_CODE=$?
7171
;;
7272
graalvm)
73-
# Run Unit and Integration Tests with Native Image
74-
mvn -B ${INTEGRATION_TEST_ARGS} -ntp -Pnative test
75-
RETURN_CODE=$?
76-
;;
77-
graalvm17)
78-
# Run Unit and Integration Tests with Native Image
79-
mvn -B ${INTEGRATION_TEST_ARGS} -ntp -Pnative test
80-
RETURN_CODE=$?
81-
;;
82-
graalvmA)
83-
# Run Unit and Integration Tests with Native Image
84-
mvn -B ${INTEGRATION_TEST_ARGS} -ntp -Pnative,native-tests,native-deps test -pl '!google-http-client-appengine'
85-
RETURN_CODE=$?
86-
;;
87-
graalvmB)
8873
# Run Unit and Integration Tests with Native Image
8974
mvn -B ${INTEGRATION_TEST_ARGS} -ntp -Pnative,native-tests,native-deps test -pl '!google-http-client-appengine'
9075
RETURN_CODE=$?

.kokoro/presubmit/graalvm-native-17.cfg

Lines changed: 0 additions & 33 deletions
This file was deleted.

.kokoro/presubmit/graalvm-native-a.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build_file: "google-http-java-client/.kokoro/build.sh"
44

55
env_vars: {
66
key: "JOB_TYPE"
7-
value: "graalvmA"
7+
value: "graalvm"
88
}
99

1010
# TODO: remove this after we've migrated all tests and scripts

.kokoro/presubmit/graalvm-native-b.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build_file: "google-http-java-client/.kokoro/build.sh"
44

55
env_vars: {
66
key: "JOB_TYPE"
7-
value: "graalvmB"
7+
value: "graalvm"
88
}
99

1010
# TODO: remove this after we've migrated all tests and scripts

.kokoro/presubmit/graalvm-native.cfg renamed to .kokoro/presubmit/graalvm-native-c.cfg

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
# Format: //devtools/kokoro/config/proto/build.proto
22

3-
# Configure the docker image for kokoro-trampoline.
4-
env_vars: {
5-
key: "TRAMPOLINE_IMAGE"
6-
value: "gcr.io/cloud-devrel-kokoro-resources/graalvm:22.3.3"
7-
}
3+
build_file: "google-http-java-client/.kokoro/build.sh"
84

95
env_vars: {
106
key: "JOB_TYPE"
@@ -31,3 +27,7 @@ env_vars: {
3127
key: "SECRET_MANAGER_KEYS"
3228
value: "java-it-service-account"
3329
}
30+
31+
container_properties {
32+
docker_image: "us-docker.pkg.dev/java-graalvm-ci-prod/graalvm-integration-testing/graalvm_c:1.15.4"
33+
}

0 commit comments

Comments
 (0)