From 83bddf79a07d1d24c45ca388e8b2512a498a56fb Mon Sep 17 00:00:00 2001 From: Vaibhav Kamra Date: Fri, 17 Mar 2023 08:36:29 -0700 Subject: [PATCH] Use AWS keys for long running test (#2817) This switches the sanity test to use static keys since the test runs longer than an hour #### Does this PR need a docs update or release note? - [ ] :white_check_mark: Yes, it's included - [ ] :clock1: Yes, but in a later PR - [x] :no_entry: No #### Type of change - [ ] :sunflower: Feature - [ ] :bug: Bugfix - [ ] :world_map: Documentation - [x] :robot: Test - [ ] :computer: CI/Deployment - [ ] :broom: Tech Debt/Cleanup --- .github/workflows/sanity-test.yaml | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/.github/workflows/sanity-test.yaml b/.github/workflows/sanity-test.yaml index 78a73d179..1ae2d5338 100644 --- a/.github/workflows/sanity-test.yaml +++ b/.github/workflows/sanity-test.yaml @@ -31,6 +31,8 @@ jobs: CORSO_PASSPHRASE: ${{ secrets.INTEGRATION_TEST_CORSO_PASSPHRASE }} TEST_RESULT: "test_results" CORSO_BUCKET: ${{ secrets.CI_TESTS_S3_BUCKET }} + AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} + AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_ACCESS_KEY_SECRET }} defaults: run: @@ -49,14 +51,6 @@ jobs: - run: mkdir test_results - # AWS creds - - name: Configure AWS credentials from Test account - uses: aws-actions/configure-aws-credentials@v2 - with: - role-to-assume: ${{ secrets.AWS_IAM_ROLE }} - role-session-name: integration-testing - aws-region: us-east-1 - # run the tests - name: Version Test run: |