Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(ci): fix web identity token path for aws s3 assume role test #3141

Merged
merged 1 commit into from
Sep 20, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/service_test_s3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,13 +126,13 @@ jobs:
script: return await core.getIDToken("sts.amazonaws.com")
result-encoding: string
- name: Write ID token to file
run: echo "${{ steps.id-token.outputs.result }}" > web_identity_token
run: echo "${{ steps.id-token.outputs.result }}" > core/tests/data/web_identity_token
- name: Test
shell: bash
working-directory: core
run: cargo nextest run s3
env:
AWS_WEB_IDENTITY_TOKEN_FILE: web_identity_token
AWS_WEB_IDENTITY_TOKEN_FILE: tests/data/web_identity_token
AWS_ROLE_ARN: arn:aws:iam::952853449216:role/opendal-testing-assume
OPENDAL_S3_TEST: on
OPENDAL_S3_ROOT: assume
Expand Down