diff --git a/.github/actions/build-test-image/action.yml b/.github/actions/build-test-image/action.yml index 29c5fa853..307e8ff08 100644 --- a/.github/actions/build-test-image/action.yml +++ b/.github/actions/build-test-image/action.yml @@ -18,6 +18,9 @@ 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 @@ -32,6 +35,11 @@ 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/curl -X 'POST' \\" "b/.github/workflows/curl -X 'POST' \\" new file mode 100644 index 000000000..73c0a80b0 --- /dev/null +++ "b/.github/workflows/curl -X 'POST' \\" @@ -0,0 +1,6 @@ +curl -X 'POST' \ + 'http://localhost:5234/execute' \ + -H 'accept: application/json' \ + -H 'traceId: 00-d451a2b705c7a3a735c9dcb405685f1e-a6931ab1e18fc164-01' \ + -H 'Content-Type: application/json' \ + -d '{"config":{"datasources":[],"providers":[{"input":{"address":"0x37e5bde04b268efda93097e0f253dccf9e0c6d4ecc15bcc46a9630ced80cbf2"},"name":"basic-address","type":"@chainlink/gauntlet-starknet/lib/starknet.js/account"},{"input":{"debug":true,"privateKey":"0x00000000000000000000000000000000ce8ec2d32b89f7210c739879a31b0e9e"},"name":"basic-pk","type":"@chainlink/gauntlet-starknet/lib/starknet.js/signer"},{"input":{"checkStatus":true,"url":"http://devnet:5050"},"name":"basic-url","type":"@chainlink/gauntlet-starknet/lib/starknet.js/provider"}]},"operation":{"args":{},"name":"starknet/data-feeds/aggregator-proxy@1.0.0:declare"},"plan":null,"snapshot":null}' \ No newline at end of file diff --git a/.github/workflows/integration-tests-smoke.yml b/.github/workflows/integration-tests-smoke.yml index 170919136..45c2b972c 100644 --- a/.github/workflows/integration-tests-smoke.yml +++ b/.github/workflows/integration-tests-smoke.yml @@ -116,13 +116,6 @@ 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/* - env: - GITHUB_TOKEN: ${{ steps.setup-github-token.outputs.access-token }} - name: Checkout the repo uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 with: @@ -133,6 +126,7 @@ 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}} diff --git a/.github/workflows/relayer.yml b/.github/workflows/relayer.yml index 0d8540fa5..6b5142a69 100644 --- a/.github/workflows/relayer.yml +++ b/.github/workflows/relayer.yml @@ -81,8 +81,6 @@ jobs: 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/* - env: - GITHUB_TOKEN: ${{ steps.setup-github-token.outputs.access-token }} - name: Ensure "make gomodtidy" has been run run: | make gomodtidy