Skip to content

Commit ec485ac

Browse files
authored
Remove documentation on retries (deprecated) (#392)
1 parent a6e2e39 commit ec485ac

File tree

2 files changed

+8
-35
lines changed

2 files changed

+8
-35
lines changed

.github/workflows/test.yml

Lines changed: 8 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -90,14 +90,6 @@ jobs:
9090
project_id: '${{ vars.PROJECT_ID }}'
9191
workload_identity_provider: '${{ vars.WIF_PROVIDER_NAME }}'
9292

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-
10193
- id: 'oauth-federated-token'
10294
name: 'oauth-federated-token'
10395
run: |-
@@ -107,6 +99,14 @@ jobs:
10799
--fail \
108100
--header "Authorization: Bearer ${{ steps.auth-default.outputs.auth_token }}"
109101
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+
110110
111111
#
112112
# Workload Identity Federation through a Service Account
@@ -243,15 +243,6 @@ jobs:
243243
id_token_audience: 'https://secretmanager.googleapis.com/'
244244
id_token_include_email: true
245245

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-
255246
#
256247
# This test ensures that the GOOGLE_APPLICATION_CREDENTIALS environment
257248
# variable is shared with the container and that the path of the file is on

README.md

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -208,24 +208,6 @@ generate any tokens.
208208
will contain "email" and "email_verified" claims. This is only valid when
209209
"token_format" is "id_token". The default value is false.
210210
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-
229211
### Inputs: Miscellaneous
230212
231213
The following inputs are for controlling the behavior of this GitHub Actions,

0 commit comments

Comments
 (0)