File tree Expand file tree Collapse file tree 5 files changed +9
-2
lines changed
Expand file tree Collapse file tree 5 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 113113 " endpoints/getting-started" ,
114114 " endpoints/getting-started-grpc" ,
115115 " error-reporting" ,
116+ " eventarc/audit-storage" ,
116117 " eventarc/generic" ,
117118 " eventarc/pubsub" ,
118119 " functions/concepts/afterResponse" ,
Original file line number Diff line number Diff line change 8686 " dialogflow-cx" , // NOT_FOUND: com.google.apps.framework.request.NotFoundException: Agent 'undefined' does not exist
8787 " dlp" , // [ERR_REQUIRE_ESM]: require() of ES Module
8888 " document-ai" , // [ERR_REQUIRE_ESM]: require() of ES Module
89- " eventarc/audit-storage" , // (untested) Environment Variable 'SERVICE_NAME' not found
9089 " functions/billing" , // (untested) Error: Request failed with status code 500
9190 " functions/imagemagick" , // (untested) Error: A bucket name is needed to use Cloud Storage
9291 " functions/ocr/app" , // (untested) Error: Bucket not provided. Make sure you have a "bucket" property in your request
Original file line number Diff line number Diff line change 1+ {
2+ "env" : {
3+ "SERVICE_NAME" : " eventarc-audit-storage" ,
4+ "CONTAINER_IMAGE" : " gcr.io/${PROJECT_ID}/run-${SERVICE_NAME}-${RUN_ID}"
5+ }
6+ }
Original file line number Diff line number Diff line change @@ -35,6 +35,7 @@ gcloud run deploy "${SERVICE_NAME}" \
3535 --region=" ${REGION:- us-central1} " \
3636 ${FLAGS} \
3737 --platform=managed \
38+ --add-custom-audiences=" https://action.test/" \
3839 --quiet
3940set +x
4041
Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ requireEnv() {
2020 test " ${! 1} " || (echo " Environment Variable '$1 ' not found" && exit 1)
2121}
2222requireEnv SERVICE_NAME
23+ requireEnv ID_TOKEN
2324
2425echo ' ---'
2526test/deploy.sh
@@ -40,7 +41,6 @@ function cleanup {
4041trap cleanup EXIT
4142
4243# TODO: Perform authentication inside the test.
43- export ID_TOKEN=$( gcloud auth print-identity-token)
4444export BASE_URL=$( test/url.sh)
4545
4646test -z " $BASE_URL " && echo " BASE_URL value is empty" && exit 1
You can’t perform that action at this time.
0 commit comments