File tree Expand file tree Collapse file tree 2 files changed +1
-9
lines changed
Expand file tree Collapse file tree 2 files changed +1
-9
lines changed Original file line number Diff line number Diff line change 5858 - |
5959 ./test/retry.sh "gcloud run deploy ${_SERVICE} \
6060 --image gcr.io/${PROJECT_ID}/${_SERVICE}:${_VERSION} \
61- --no- allow-unauthenticated \
61+ --allow-unauthenticated \
6262 --region ${_REGION} \
6363 --service-account ${_SERVICE_ACCOUNT} \
6464 --add-cloudsql-instances ${_CLOUD_SQL_CONNECTION_NAME} \
Original file line number Diff line number Diff line change @@ -51,12 +51,6 @@ describe('System Tests', () => {
5151 throw Error ( '"DB_PASSWORD" env var not found.' ) ;
5252 }
5353
54- // Get ID token for the authentication part
55- const { ID_TOKEN } = process . env ;
56- if ( ! ID_TOKEN ) {
57- throw Error ( '"ID_TOKEN" env var not found.' ) ;
58- }
59-
6054 // Get Firebase Key to create Id Tokens
6155 const { IDP_KEY } = process . env ;
6256 if ( ! IDP_KEY ) {
@@ -160,7 +154,6 @@ describe('System Tests', () => {
160154 form : { team : 'DOGS' } ,
161155 headers : {
162156 Authorization : `Bearer ${ CUSTOM_TOKEN . trim ( ) } ` ,
163- 'X-Serverless-Authorization' : `Bearer ${ ID_TOKEN } ` ,
164157 } ,
165158 retry : {
166159 limit : 5 ,
@@ -186,7 +179,6 @@ describe('System Tests', () => {
186179 form : { team : 'DOGS' } ,
187180 headers : {
188181 Authorization : 'Bearer iam-a-token' ,
189- 'X-Serverless-Authorization' : `Bearer ${ ID_TOKEN } ` ,
190182 } ,
191183 retry : {
192184 limit : 5 ,
You can’t perform that action at this time.
0 commit comments