Skip to content

Commit

Permalink
chore: split presubmit and nightly native image runs according to job…
Browse files Browse the repository at this point in the history
… name (#9048)
  • Loading branch information
mpeddada1 committed Jan 30, 2023
1 parent 28f72e4 commit 7611a91
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 5 deletions.
28 changes: 28 additions & 0 deletions .kokoro/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,34 @@ case ${JOB_TYPE} in
echo "No Integration Tests to run"
fi
;;
graalvm-aiplatform-presubmit)
module_list=("java-aiplatform")
printf "Running GraalVM checks for:\n%s\n" "${module_list}"
setup_cloud "$module_list"
install_modules
run_graalvm_tests "$module_list"
;;
graalvm-compute-presubmit)
module_list=("java-compute")
printf "Running GraalVM checks for:\n%s\n" "${module_list}"
setup_cloud "$module_list"
install_modules
run_graalvm_tests "$module_list"
;;
graalvm17-aiplatform-presubmit)
module_list=("java-aiplatform")
printf "Running GraalVM checks for:\n%s\n" "${module_list}"
setup_cloud "$module_list"
install_modules
run_graalvm_tests "$module_list"
;;
graalvm17-compute-presubmit)
module_list=("java-compute")
printf "Running GraalVM checks for:\n%s\n" "${module_list}"
setup_cloud "$module_list"
install_modules
run_graalvm_tests "$module_list"
;;
graalvm)
generate_graalvm_modules_list
if [ ! -z "${module_list}" ]; then
Expand Down
2 changes: 1 addition & 1 deletion .kokoro/presubmit/graalvm-native-17-aiplatform.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ env_vars: {

env_vars: {
key: "JOB_TYPE"
value: "graalvm17"
value: "graalvm17-aiplatform-presubmit"
}

# TODO: remove this after we've migrated all tests and scripts
Expand Down
2 changes: 1 addition & 1 deletion .kokoro/presubmit/graalvm-native-17-compute.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ env_vars: {

env_vars: {
key: "JOB_TYPE"
value: "graalvm17"
value: "graalvm17-compute-presubmit"
}

# TODO: remove this after we've migrated all tests and scripts
Expand Down
2 changes: 1 addition & 1 deletion .kokoro/presubmit/graalvm-native-aiplatform.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ env_vars: {

env_vars: {
key: "JOB_TYPE"
value: "graalvm"
value: "graalvm-aiplatform-presubmit"
}

# TODO: remove this after we've migrated all tests and scripts
Expand Down
4 changes: 2 additions & 2 deletions .kokoro/presubmit/graalvm-native-compute.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
# Configure the docker image for kokoro-trampoline.
env_vars: {
key: "TRAMPOLINE_IMAGE"
value: "gcr.io/cloud-devrel-kokoro-resources/graalvm17:22.3.0"
value: "gcr.io/cloud-devrel-kokoro-resources/graalvm:22.3.0"
}

env_vars: {
key: "JOB_TYPE"
value: "graalvm17"
value: "graalvm-compute-presubmit"
}

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

0 comments on commit 7611a91

Please sign in to comment.