File tree Expand file tree Collapse file tree 2 files changed +8
-35
lines changed Expand file tree Collapse file tree 2 files changed +8
-35
lines changed Original file line number Diff line number Diff line change 90
90
project_id : ' ${{ vars.PROJECT_ID }}'
91
91
workload_identity_provider : ' ${{ vars.WIF_PROVIDER_NAME }}'
92
92
93
- - uses : ' google-github-actions/setup-gcloud@v2'
94
- with :
95
- version : ' >= 363.0.0'
96
-
97
- - name : ' gcloud'
98
- run : |-
99
- gcloud secrets versions access "latest" --secret "${{ vars.SECRET_NAME }}"
100
-
101
93
- id : ' oauth-federated-token'
102
94
name : ' oauth-federated-token'
103
95
run : |-
@@ -107,6 +99,14 @@ jobs:
107
99
--fail \
108
100
--header "Authorization: Bearer ${{ steps.auth-default.outputs.auth_token }}"
109
101
102
+ - uses : ' google-github-actions/setup-gcloud@v2'
103
+ with :
104
+ version : ' >= 363.0.0'
105
+
106
+ - name : ' gcloud'
107
+ run : |-
108
+ gcloud secrets versions access "latest" --secret "${{ vars.SECRET_NAME }}"
109
+
110
110
111
111
#
112
112
# Workload Identity Federation through a Service Account
@@ -243,15 +243,6 @@ jobs:
243
243
id_token_audience : ' https://secretmanager.googleapis.com/'
244
244
id_token_include_email : true
245
245
246
- - id : ' auth-sa-retries'
247
- name : ' auth-sa-retries'
248
- uses : ' ./'
249
- with :
250
- retries : ' 2'
251
- backoff : ' 200'
252
- backoff_limit : ' 1000'
253
- credentials_json : ' ${{ secrets.SERVICE_ACCOUNT_KEY_JSON }}'
254
-
255
246
#
256
247
# This test ensures that the GOOGLE_APPLICATION_CREDENTIALS environment
257
248
# variable is shared with the container and that the path of the file is on
Original file line number Diff line number Diff line change @@ -208,24 +208,6 @@ generate any tokens.
208
208
will contain "email" and "email_verified" claims. This is only valid when
209
209
"token_format" is "id_token". The default value is false.
210
210
211
- ### Inputs: Retry options
212
-
213
- The following inputs are for controlling retry behavior. By default, this GitHub
214
- Action will retry API calls in an attempt to reduce transient failures. You can
215
- control and disable the retry behavior with these inputs.
216
-
217
- - `retries`: (Optional) Number of times to retry a failed authentication
218
- attempt. This is useful for automated pipelines that may execute before IAM
219
- permissions are fully propogated or intermittent connectivity failures. The
220
- default value is "3".
221
-
222
- - `backoff`: (Optional) Delay time before trying another authentication
223
- attempt. This is implemented using a fibonacci backoff method (e.g.
224
- 1-1-2-3-5). This value defaults to 250 milliseconds.
225
-
226
- - `backoff_limit`: (Optional) Limits the retry backoff to the specified value.
227
- The default value is no limit.
228
-
229
211
### Inputs: Miscellaneous
230
212
231
213
The following inputs are for controlling the behavior of this GitHub Actions,
You can’t perform that action at this time.
0 commit comments