chore: redact s3 contents
This commit is contained in:
parent
ec8e002276
commit
cb3b499674
1 changed files with 2 additions and 4 deletions
6
.github/workflows/tests-integ-release.yml
vendored
6
.github/workflows/tests-integ-release.yml
vendored
|
|
@ -115,15 +115,13 @@ jobs:
|
|||
|
||||
#NOTE: This step should succeed. The role should have permission only to list all buckets.
|
||||
- name: list buckets
|
||||
run: |
|
||||
aws s3 ls
|
||||
run: aws s3 ls > /dev/null
|
||||
|
||||
#NOTE: This step should fail. we don't want the role to have permission to see the bucket contents.
|
||||
- name: try to list bucket contents
|
||||
id: bucketContentsStep
|
||||
continue-on-error: true
|
||||
run: |
|
||||
aws s3 ls s3://cawsc-integ-tests-bucket
|
||||
run: aws s3 ls s3://cawsc-integ-tests-bucket > /dev/null
|
||||
|
||||
#But the test fails if we could list the bucket contents.
|
||||
- name: fail if we can list bucket contents
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue