This is an automated email from the ASF dual-hosted git repository.

xuanwo pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-opendal.git


The following commit(s) were added to refs/heads/main by this push:
     new 57218c624 chore(ci): fix web identity token path for aws s3 assume 
role test (#3141)
57218c624 is described below

commit 57218c6243a2fc448af1b609eca82ce25fe7e1cf
Author: everpcpc <[email protected]>
AuthorDate: Wed Sep 20 15:35:58 2023 +0800

    chore(ci): fix web identity token path for aws s3 assume role test (#3141)
    
    fix: web identity token path
---
 .github/workflows/service_test_s3.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/service_test_s3.yml 
b/.github/workflows/service_test_s3.yml
index ffadfb368..14e34420b 100644
--- a/.github/workflows/service_test_s3.yml
+++ b/.github/workflows/service_test_s3.yml
@@ -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

Reply via email to