File tree Expand file tree Collapse file tree 3 files changed +8
-1
lines changed
Expand file tree Collapse file tree 3 files changed +8
-1
lines changed 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