File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -26,15 +26,6 @@ ERROR_OUTPUT_DIR="$(mktemp -d)"
2626# trap 'rm -r "${ERROR_OUTPUT_DIR}"' EXIT
2727URL=" dot-lesv-qa-999.prom-qa.sandbox.google.com"
2828
29- # $1 - project
30- # $2 - PATH
31- # $3 - search string
32- function TestIt() {
33- curl -X GET " https://${1} -${URL} /${2} " | \
34- tee " ${ERROR_OUTPUT_DIR} /response.txt" | \
35- grep " ${3} "
36- }
37-
3829export GOOGLE_APPLICATION_CREDENTIALS=${KOKORO_GFILE_DIR} /service-acct.json
3930export GOOGLE_CLOUD_PROJECT=java-docs-samples-testing
4031export PATH=/google-cloud-sdk/bin:$PATH
@@ -73,5 +64,5 @@ gcloud auth activate-service-account\
7364
7465./deployAll.sh
7566
76- echo " ******** DONE ********"
67+ echo " ******** Success ********"
7768
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ export CLOUDSDK_API_ENDPOINT_OVERRIDES_APPENGINE='https://staging-appengine.sand
1313# $2 - PATH
1414# $3 - search string
1515function TestIt() {
16- curl -X GET " https://${1} -${URL} /${2} " | \
16+ curl -s --show-error " https://${1} -${URL} /${2} " | \
1717 tee -a " ${ERROR_OUTPUT_DIR} /response.txt" | \
1818 grep " ${3} "
1919}
@@ -50,4 +50,4 @@ TestIt "kotlin-spark-appengine-standard" "hello" \
5050 " Hello Spark Kotlin running on Java8 App Engine Standard."
5151
5252TestIt " sparkjava-appengine-standard" " " \
53- " Hello from SparkJava running on GAE Standard Java8 runtime. "
53+ " Hello from SparkJava running on GAE Standard Java8 runtime"
You can’t perform that action at this time.
0 commit comments