From 769c9a21247b6eb565796e1cc42caf2ab33f8fc3 Mon Sep 17 00:00:00 2001 From: chray-zhang Date: Wed, 13 Nov 2024 22:11:06 -0500 Subject: [PATCH] Reverted some stuff --- .github/actions/build-test-image/action.yml | 8 -------- .github/workflows/integration-tests-smoke.yml | 6 +++++- 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/.github/actions/build-test-image/action.yml b/.github/actions/build-test-image/action.yml index 307e8ff08..29c5fa853 100644 --- a/.github/actions/build-test-image/action.yml +++ b/.github/actions/build-test-image/action.yml @@ -18,9 +18,6 @@ inputs: QA_AWS_ACCOUNT_NUMBER: description: The AWS region the ECR repository is located in, should only be needed for public ECR repositories, used in configuring docker/login-action required: true - GITHUB_TOKEN: - description: The GATI Token that we can use to pull private repos - required: true runs: using: composite @@ -35,11 +32,6 @@ runs: tag: ${{ inputs.tag }} AWS_REGION: ${{ inputs.QA_AWS_REGION }} AWS_ROLE_TO_ASSUME: ${{ inputs.QA_AWS_ROLE_TO_ASSUME }} - - name: Setup Go with private repo access - shell: bash - run: | - git config --global url."https://x-access-token:${{ inputs.GITHUB_TOKEN }}@github.com/".insteadOf "https://github.com/" - go env -w GOPRIVATE=github.com/smartcontractkit/* - name: Build and Publish Test Runner if: steps.check-image.outputs.exists == 'false' uses: smartcontractkit/chainlink-github-actions/docker/build-push@fc3e0df622521019f50d772726d6bf8dc919dd38 # v2.3.19 diff --git a/.github/workflows/integration-tests-smoke.yml b/.github/workflows/integration-tests-smoke.yml index 45c2b972c..91db25454 100644 --- a/.github/workflows/integration-tests-smoke.yml +++ b/.github/workflows/integration-tests-smoke.yml @@ -116,6 +116,11 @@ jobs: aws-role-arn: ${{ secrets.AWS_OIDC_GLOBAL_READ_ONLY_TOKEN_ISSUER_ROLE_ARN }} aws-lambda-url: ${{ secrets.GATI_RELENG_LAMBDA_URL }} aws-region: ${{ secrets.QA_AWS_REGION }} + - name: Setup Go with private repo access + shell: bash + run: | + git config --global url."https://x-access-token:${{ steps.setup-github-token.outputs.access-token }}@github.com/".insteadOf "https://github.com/" + go env -w GOPRIVATE=github.com/smartcontractkit/* - name: Checkout the repo uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 with: @@ -126,7 +131,6 @@ jobs: QA_AWS_ROLE_TO_ASSUME: ${{ secrets.QA_AWS_ROLE_TO_ASSUME }} QA_AWS_REGION: ${{ secrets.QA_AWS_REGION }} QA_AWS_ACCOUNT_NUMBER: ${{ secrets.QA_AWS_ACCOUNT_NUMBER }} - GITHUB_TOKEN : ${{ steps.setup-github-token.outputs.access-token }} run_tests: name: Run Smoke Tests ${{matrix.image.name}}