File tree 3 files changed +23
-57
lines changed
3 files changed +23
-57
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 15
15
16
16
set -eo pipefail
17
17
18
+ SHOWCASE_VERSION=0.26.1
19
+
18
20
# # Get the directory of the build script
19
21
scriptDir=$( realpath " $( dirname " ${BASH_SOURCE[0]} " ) " )
20
22
# # cd to the parent directory, i.e. the root of the git repo
61
63
popd
62
64
63
65
# ## 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
64
82
# Run the updated java-shared-dependencies BOM against google-cloud-java
65
83
pushd google-cloud-java
66
84
source ./.kokoro/common.sh
67
85
RETURN_CODE=0
68
86
setup_application_credentials
69
87
setup_cloud " $MODULES_UNDER_TEST "
70
88
run_graalvm_tests " $MODULES_UNDER_TEST "
89
+
90
+
91
+
71
92
exit $RETURN_CODE
Original file line number Diff line number Diff line change 28
28
"datasourceTemplate" : " maven"
29
29
},
30
30
{
31
- "fileMatch" : [" ^\\ .github/workflows /.*\\ .yaml$ " ],
32
- "matchStrings" : [" SHOWCASE_VERSION: (?<currentValue>.+?)\\ n" ],
31
+ "fileMatch" : [" ^\\ .kokoro/presubmit /.*\\ .sh " ],
32
+ "matchStrings" : [" SHOWCASE_VERSION= (?<currentValue>.+?)\\ n" ],
33
33
"datasourceTemplate" : " go"
34
34
},
35
35
{
You can’t perform that action at this time.
0 commit comments