diff --git a/.github/workflows/build_trtllm.yaml b/.github/workflows/build_trtllm.yaml index eb8d52d9..14d6d492 100644 --- a/.github/workflows/build_trtllm.yaml +++ b/.github/workflows/build_trtllm.yaml @@ -7,13 +7,13 @@ on: description: "Which instance type to use to run the workflow" required: true secrets: -# AWS_ACCESS_KEY_ID: -# description: "AWS S3 access key id to connect to the S3 bucket containing sccache content" -# required: true -# -# AWS_SECRET_ACCESS_KEY: -# description: "AWS S3 secret access key to connect to the S3 bucket containing sccache content" -# required: true + AWS_ACCESS_KEY_ID: + description: "AWS S3 access key id to connect to the S3 bucket containing sccache content" + required: true + + AWS_SECRET_ACCESS_KEY: + description: "AWS S3 secret access key to connect to the S3 bucket containing sccache content" + required: true AWS_ROLE_GITHUB_TGI_SCCACHE: description: "AWS S3 Role to assume when connecting to the S3 bucket containing sccache content" @@ -60,7 +60,9 @@ jobs: uses: aws-actions/configure-aws-credentials@v4 with: aws-region: us-east-1 - role-to-assume: ${{ secrets.AWS_ROLE_GITHUB_TGI_TEST }} + aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} + aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} + role-to-assume: ${{ secrets.AWS_ROLE_GITHUB_TGI_SCCACHE }} role-duration-seconds: 7200 output-credentials: true diff --git a/.github/workflows/trtllm_tests.yaml b/.github/workflows/trtllm_tests.yaml index 090870ad..179b83f1 100644 --- a/.github/workflows/trtllm_tests.yaml +++ b/.github/workflows/trtllm_tests.yaml @@ -29,7 +29,10 @@ jobs: uses: ./.github/workflows/build_trtllm.yaml with: runs-on: aws-highmemory-64-plus-priv - secrets: inherit + secrets: + AWS_ACCESS_KEY_ID: ${{ secrets.S3_AWS_ACCESS_KEY_ID }} + AWS_SECRET_ACCESS_KEY: ${{ secrets.S3_AWS_SECRET_ACCESS_KEY }} + AWS_ROLE_GITHUB_TGI_SCCACHE: ${{ secrets.AWS_ROLE_GITHUB_TGI_TEST }} run-tests: needs: build-and-push