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

chore: Run GraalVM ITs with Terraform #8808

Merged
merged 1 commit into from
Nov 17, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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: 4 additions & 2 deletions .kokoro/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,9 @@ case ${JOB_TYPE} in
generate_graalvm_modules_list
if [ ! -z "${module_list}" ]; then
printf "Running GraalVM checks for:\n%s\n" "${module_list}"
setup_cloud "$module_list"
install_modules
run_graalvm_tests
run_graalvm_tests "$module_list"
else
echo "Not running GraalVM checks -- No changes in relevant modules"
fi
Expand All @@ -111,8 +112,9 @@ case ${JOB_TYPE} in
generate_graalvm_modules_list
if [ ! -z "${module_list}" ]; then
printf "Running GraalVM 17 checks for:\n%s\n" "${module_list}"
setup_cloud "$module_list"
install_modules
run_graalvm_tests
run_graalvm_tests "$module_list"
else
echo "Not running GraalVM 17 checks -- No changes in relevant modules"
fi
Expand Down
6 changes: 3 additions & 3 deletions .kokoro/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -124,10 +124,10 @@ function run_integration_tests() {
}

function run_graalvm_tests() {
printf "Running GraalVM ITs on:\n%s\n" "${module_list[*]}"
printf "Running GraalVM ITs on:\n%s\n" "$1"

mvn -B ${INTEGRATION_TEST_ARGS} \
-pl "${module_list}" \
-pl "$1" \
-amd \
-ntp \
-DtrimStackTrace=false \
Expand All @@ -141,7 +141,7 @@ function run_graalvm_tests() {
test

RETURN_CODE=$?
printf "Finished Unit and Integration Tests for GraalVM:\n%s\n" "${module_list}"
printf "Finished Unit and Integration Tests for GraalVM:\n%s\n" "$1"
}

function generate_graalvm_modules_list() {
Expand Down