Skip to content

Commit

Permalink
tune aws-nuke
Browse files Browse the repository at this point in the history
  • Loading branch information
test-cli-e2e-aws committed Dec 5, 2024
1 parent ffa7b8a commit f408154
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 10 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,6 @@ jobs:
aws-region: eu-west-1
role-to-assume: arn:aws:iam::911167907168:role/GitHubAction-AssumeRoleWithAction
role-session-name: GitHub_to_AWS_via_FederatedOIDC
- uses: mcblair/[email protected]
with:
role-arn: arn:aws:iam::911167907168:role/GitHubAction-AssumeRoleWithAction
profile-name: aws-nuke
- name: Store test timestamp
run: echo "TIMESTAMP=$(date +'%s')" >> $GITHUB_ENV
- name: Setup test repository SSH key
Expand Down Expand Up @@ -79,8 +75,8 @@ jobs:
plural version
- name: Print Terraform version
run: terraform --version
- name: Print Google Cloud CLI version
run: gcloud --version
- name: Print AWS CLI version
run: aws --version
- name: Create kube directory
run: |
mkdir -p $HOME/.kube
Expand Down Expand Up @@ -248,7 +244,7 @@ jobs:
- file: ${{ env.TESTOUT_PATH }}/test_results.html
filename: rest_results.html
plural-up-azure:
# if: false
if: false
name: plural up / Azure
runs-on: ubuntu-latest
steps:
Expand Down
6 changes: 3 additions & 3 deletions test/plural/lib/aws-teardown.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ executor: aws-teardown
input:
resourceGroup: ''
steps:
- script: aws-nuke run --config ../../nuke-config.yml --force --profile aws-nuke --no-dry-run --no-alias-check --max-wait-retries 10
retry: 3
- script: aws-nuke run --config ../../nuke-config.yml --force --access-key-id $AWS_ACCESS_KEY_ID --secret-access-key $AWS_SECRET_ACCESS_KEY --no-dry-run --no-alias-check --max-wait-retries 10
retry: 5
retry_if:
- result.code ShouldNotEqual 0
delay: 20
delay: 5

0 comments on commit f408154

Please sign in to comment.