This repository was archived by the owner on May 14, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1515
1616set -eo pipefail
1717
18+ SHOWCASE_VERSION=0.26.1
19+
1820# # Get the directory of the build script
1921scriptDir=$( realpath " $( dirname " ${BASH_SOURCE[0]} " ) " )
2022# # cd to the parent directory, i.e. the root of the git repo
6163popd
6264
6365# ## Round 3
66+ # Run showcase tests in GraalVM
67+
68+ # Start showcase server
69+ mkdir -p /usr/src/showcase
70+ 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
71+ pushd /usr/src/showcase/
72+ tar -xf showcase-*
73+ ./gapic-showcase run &
74+
75+ # Run showcase tests with `native` profile
76+ popd
77+ pushd showcase
78+ mvn test -Pnative,-showcase -Denforcer.skip=true -ntp -B
79+ popd
80+
81+ # ## Round 4
6482# Run the updated java-shared-dependencies BOM against google-cloud-java
6583pushd google-cloud-java
6684source ./.kokoro/common.sh
6785RETURN_CODE=0
6886setup_application_credentials
6987setup_cloud " $MODULES_UNDER_TEST "
7088run_graalvm_tests " $MODULES_UNDER_TEST "
89+
90+
91+
7192exit $RETURN_CODE
Original file line number Diff line number Diff line change 2828 "datasourceTemplate" : " maven"
2929 },
3030 {
31- "fileMatch" : [" ^\\ .github/workflows /.*\\ .yaml$ " ],
32- "matchStrings" : [" SHOWCASE_VERSION: (?<currentValue>.+?)\\ n" ],
31+ "fileMatch" : [" ^\\ .kokoro/presubmit /.*\\ .sh " ],
32+ "matchStrings" : [" SHOWCASE_VERSION= (?<currentValue>.+?)\\ n" ],
3333 "datasourceTemplate" : " go"
3434 },
3535 {
You can’t perform that action at this time.
0 commit comments