File tree Expand file tree Collapse file tree 2 files changed +3
-11
lines changed
Expand file tree Collapse file tree 2 files changed +3
-11
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 @@ -57,12 +57,6 @@ describe('System Tests', () => {
5757 throw Error ( '"IDP_KEY" env var not found.' ) ;
5858 }
5959
60- // Get ID token for the authentication part
61- const { ID_TOKEN } = process . env ;
62- if ( ! ID_TOKEN ) {
63- throw Error ( '"ID_TOKEN" env var not found.' ) ;
64- }
65-
6660 let BASE_URL , CUSTOM_TOKEN ;
6761 before ( async ( ) => {
6862 // Deploy service using Cloud Build
@@ -152,8 +146,7 @@ describe('System Tests', () => {
152146 method : 'POST' ,
153147 form : { team : 'DOGS' } ,
154148 headers : {
155- Authorization : `Bearer ${ CUSTOM_TOKEN . trim ( ) } ` ,
156- "X-Serverless-Authorization" : `Bearer ${ ID_TOKEN } `
149+ Authorization : `Bearer ${ CUSTOM_TOKEN . trim ( ) } `
157150 } ,
158151 retry : {
159152 limit : 5 ,
@@ -178,8 +171,7 @@ describe('System Tests', () => {
178171 method : 'POST' ,
179172 form : { team : 'DOGS' } ,
180173 headers : {
181- Authorization : 'Bearer iam-a-token' ,
182- "X-Serverless-Authorization" : `Bearer ${ ID_TOKEN } `
174+ Authorization : 'Bearer iam-a-token'
183175 } ,
184176 retry : {
185177 limit : 5 ,
You can’t perform that action at this time.
0 commit comments