From 79abc1781691e340342f6093314027c96dc5b223 Mon Sep 17 00:00:00 2001 From: Billy Trend Date: Thu, 6 Jun 2024 14:12:36 +0100 Subject: [PATCH 1/7] Add aws auth --- .github/workflows/test.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 18ec5cb..033dfb5 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -8,6 +8,12 @@ jobs: - uses: actions/checkout@v2 - name: Install modules run: yarn + - name: Configure AWS credentials + uses: aws-actions/configure-aws-credentials@v1 + with: + role-to-assume: arn:aws:iam::455073351313:role/single-container-gha-workflow + aws-region: us-west-2 + role-session-name: ci_role_session - name: Run tests env: COHERE_API_KEY: ${{ secrets.COHERE_API_KEY }} From 164b98cd290675bd31905f7eb837921336993321 Mon Sep 17 00:00:00 2001 From: Billy Trend Date: Thu, 6 Jun 2024 14:17:23 +0100 Subject: [PATCH 2/7] asdf --- .github/workflows/test.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 033dfb5..1ae05fd 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -8,12 +8,12 @@ jobs: - uses: actions/checkout@v2 - name: Install modules run: yarn - - name: Configure AWS credentials - uses: aws-actions/configure-aws-credentials@v1 - with: - role-to-assume: arn:aws:iam::455073351313:role/single-container-gha-workflow - aws-region: us-west-2 - role-session-name: ci_role_session + # - name: Configure AWS credentials + # uses: aws-actions/configure-aws-credentials@v1 + # with: + # role-to-assume: arn:aws:iam::455073351313:role/single-container-gha-workflow + # aws-region: us-west-2 + # role-session-name: ci_role_session - name: Run tests env: COHERE_API_KEY: ${{ secrets.COHERE_API_KEY }} From 23b509c68366bf1195a3f19aa434a27334aaae08 Mon Sep 17 00:00:00 2001 From: Billy Trend Date: Thu, 6 Jun 2024 14:20:32 +0100 Subject: [PATCH 3/7] Format --- .github/workflows/test.yml | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1ae05fd..5f7bb6b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -5,19 +5,19 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - name: Install modules - run: yarn - # - name: Configure AWS credentials - # uses: aws-actions/configure-aws-credentials@v1 - # with: - # role-to-assume: arn:aws:iam::455073351313:role/single-container-gha-workflow - # aws-region: us-west-2 - # role-session-name: ci_role_session - - name: Run tests - env: - COHERE_API_KEY: ${{ secrets.COHERE_API_KEY }} - AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} - AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} - AWS_SESSION_TOKEN: ${{ secrets.AWS_SESSION_TOKEN }} - run: yarn run jest + - uses: actions/checkout@v2 + - name: Install modules + run: yarn + - name: Configure AWS credentials + uses: aws-actions/configure-aws-credentials@v1 + with: + role-to-assume: arn:aws:iam::455073351313:role/single-container-gha-workflow + aws-region: us-west-2 + role-session-name: ci_role_session + - name: Run tests + env: + COHERE_API_KEY: ${{ secrets.COHERE_API_KEY }} + AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} + AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} + AWS_SESSION_TOKEN: ${{ secrets.AWS_SESSION_TOKEN }} + run: yarn run jest From 032f405da61d1d73746ebc6011e1afefe8509e7c Mon Sep 17 00:00:00 2001 From: billytrend-cohere <144115527+billytrend-cohere@users.noreply.github.com> Date: Tue, 25 Jun 2024 09:59:42 -0500 Subject: [PATCH 4/7] Update test.yml --- .github/workflows/test.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 5f7bb6b..ef24da6 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -8,12 +8,12 @@ jobs: - uses: actions/checkout@v2 - name: Install modules run: yarn - - name: Configure AWS credentials - uses: aws-actions/configure-aws-credentials@v1 - with: - role-to-assume: arn:aws:iam::455073351313:role/single-container-gha-workflow - aws-region: us-west-2 - role-session-name: ci_role_session + # - name: Configure AWS credentials + # uses: aws-actions/configure-aws-credentials@v1 + # with: + # role-to-assume: arn:aws:iam::455073351313:role/single-container-gha-workflow + # aws-region: us-west-2 + # role-session-name: ci_role_session - name: Run tests env: COHERE_API_KEY: ${{ secrets.COHERE_API_KEY }} From b253de7e71f06c30f47cc4232ec5375111ef5044 Mon Sep 17 00:00:00 2001 From: billytrend-cohere <144115527+billytrend-cohere@users.noreply.github.com> Date: Tue, 25 Jun 2024 11:25:41 -0500 Subject: [PATCH 5/7] Update test.yml --- .github/workflows/test.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ef24da6..7d8ee7b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -8,12 +8,12 @@ jobs: - uses: actions/checkout@v2 - name: Install modules run: yarn - # - name: Configure AWS credentials - # uses: aws-actions/configure-aws-credentials@v1 - # with: - # role-to-assume: arn:aws:iam::455073351313:role/single-container-gha-workflow - # aws-region: us-west-2 - # role-session-name: ci_role_session + - name: Configure AWS credentials + uses: aws-actions/configure-aws-credentials@e3dd6a429d7300a6a4c196c26e071d42e0343502 # v4.0.2 + with: + role-to-assume: arn:aws:iam::455073351313:role/single-container-gha-workflow + aws-region: us-west-2 + role-session-name: ci_role_session - name: Run tests env: COHERE_API_KEY: ${{ secrets.COHERE_API_KEY }} From d4c189bd286b9ee058afce9c82c6a7cd0f0b7049 Mon Sep 17 00:00:00 2001 From: billytrend-cohere <144115527+billytrend-cohere@users.noreply.github.com> Date: Wed, 26 Jun 2024 10:23:23 -0500 Subject: [PATCH 6/7] Update test.yml --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7d8ee7b..f8f2282 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -11,7 +11,7 @@ jobs: - name: Configure AWS credentials uses: aws-actions/configure-aws-credentials@e3dd6a429d7300a6a4c196c26e071d42e0343502 # v4.0.2 with: - role-to-assume: arn:aws:iam::455073351313:role/single-container-gha-workflow + role-to-assume: ... aws-region: us-west-2 role-session-name: ci_role_session - name: Run tests From d705e7fa1b899a64f95427f9f39411cf8fcef5b6 Mon Sep 17 00:00:00 2001 From: billytrend-cohere <144115527+billytrend-cohere@users.noreply.github.com> Date: Wed, 26 Jun 2024 10:24:14 -0500 Subject: [PATCH 7/7] Update test.yml --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f8f2282..f87b8ad 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -11,7 +11,7 @@ jobs: - name: Configure AWS credentials uses: aws-actions/configure-aws-credentials@e3dd6a429d7300a6a4c196c26e071d42e0343502 # v4.0.2 with: - role-to-assume: ... + role-to-assume: .... aws-region: us-west-2 role-session-name: ci_role_session - name: Run tests