From 47e6d9992e1a78609092ff99956fc8d17acf2565 Mon Sep 17 00:00:00 2001 From: Bartek Tofel Date: Thu, 18 Jan 2024 12:38:43 -0300 Subject: [PATCH] update GHA version --- .github/workflows/integration-tests.yml | 520 ++++++++++++------------ 1 file changed, 260 insertions(+), 260 deletions(-) diff --git a/.github/workflows/integration-tests.yml b/.github/workflows/integration-tests.yml index d327815a18b..0708747fcd6 100644 --- a/.github/workflows/integration-tests.yml +++ b/.github/workflows/integration-tests.yml @@ -498,7 +498,7 @@ jobs: path: ./integration-tests/smoke/traces/trace-data.json - name: Print failed test summary if: always() - uses: smartcontractkit/chainlink-github-actions/chainlink-testing-framework/show-test-summary@473c1d9a762f0e07c77f3ab234e6c88824813dcb # v2.2.16 + uses: smartcontractkit/chainlink-github-actions/chainlink-testing-framework/show-test-summary@882b45231ed4ab273b0bd56ec4ab6bf0c31324b6 # v2.2.16 with: test_directory: ./integration-tests/smoke/ @@ -650,270 +650,270 @@ jobs: continue-on-error: true ### Solana Section - get_solana_sha: - name: Get Solana Sha From Go Mod - environment: Integration - runs-on: ubuntu-latest - outputs: - sha: ${{ steps.getsha.outputs.sha }} - steps: - - name: Checkout the repo - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 - with: - ref: ${{ github.event.pull_request.head.sha || github.event.merge_group.head_sha }} - - name: Setup Go - uses: ./.github/actions/setup-go - with: - only-modules: "true" - - name: Get the sha from go mod - id: getshortsha - run: | - sol_ver=$(go list -m -json github.com/smartcontractkit/chainlink-solana | jq -r .Version) - if [ -z "${sol_ver}" ]; then - echo "Error: could not get the solana version from the go.mod file, look above for error(s)" - exit 1 - fi - short_sha="${sol_ver##*-}" - echo "short sha is: ${short_sha}" - echo "short_sha=${short_sha}" >> "$GITHUB_OUTPUT" - - name: Checkout solana - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 - with: - repository: smartcontractkit/chainlink-solana - ref: develop - fetch-depth: 0 - path: solanapath - - name: Get long sha - id: getsha - run: | - cd solanapath - full_sha=$(git rev-parse ${{steps.getshortsha.outputs.short_sha}}) - if [ -z "${full_sha}" ]; then - echo "Error: could not get the full sha from the short sha using git, look above for error(s)" - exit 1 - fi - echo "sha is: ${full_sha}" - echo "sha=${full_sha}" >> "$GITHUB_OUTPUT" + # get_solana_sha: + # name: Get Solana Sha From Go Mod + # environment: Integration + # runs-on: ubuntu-latest + # outputs: + # sha: ${{ steps.getsha.outputs.sha }} + # steps: + # - name: Checkout the repo + # uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 + # with: + # ref: ${{ github.event.pull_request.head.sha || github.event.merge_group.head_sha }} + # - name: Setup Go + # uses: ./.github/actions/setup-go + # with: + # only-modules: "true" + # - name: Get the sha from go mod + # id: getshortsha + # run: | + # sol_ver=$(go list -m -json github.com/smartcontractkit/chainlink-solana | jq -r .Version) + # if [ -z "${sol_ver}" ]; then + # echo "Error: could not get the solana version from the go.mod file, look above for error(s)" + # exit 1 + # fi + # short_sha="${sol_ver##*-}" + # echo "short sha is: ${short_sha}" + # echo "short_sha=${short_sha}" >> "$GITHUB_OUTPUT" + # - name: Checkout solana + # uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 + # with: + # repository: smartcontractkit/chainlink-solana + # ref: develop + # fetch-depth: 0 + # path: solanapath + # - name: Get long sha + # id: getsha + # run: | + # cd solanapath + # full_sha=$(git rev-parse ${{steps.getshortsha.outputs.short_sha}}) + # if [ -z "${full_sha}" ]; then + # echo "Error: could not get the full sha from the short sha using git, look above for error(s)" + # exit 1 + # fi + # echo "sha is: ${full_sha}" + # echo "sha=${full_sha}" >> "$GITHUB_OUTPUT" - get_projectserum_version: - name: Get ProjectSerum Version - environment: integration - runs-on: ubuntu-latest - needs: [get_solana_sha] - outputs: - projectserum_version: ${{ steps.psversion.outputs.projectserum_version }} - steps: - - name: Checkout the solana repo - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 - with: - repository: smartcontractkit/chainlink-solana - ref: ${{ needs.get_solana_sha.outputs.sha }} - - name: Get ProjectSerum Version - id: psversion - uses: smartcontractkit/chainlink-solana/.github/actions/projectserum_version@4b971869e26b79c7ce3fb7c98005cc2e3f350915 # stable action on Oct 12 2022 + # get_projectserum_version: + # name: Get ProjectSerum Version + # environment: integration + # runs-on: ubuntu-latest + # needs: [get_solana_sha] + # outputs: + # projectserum_version: ${{ steps.psversion.outputs.projectserum_version }} + # steps: + # - name: Checkout the solana repo + # uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 + # with: + # repository: smartcontractkit/chainlink-solana + # ref: ${{ needs.get_solana_sha.outputs.sha }} + # - name: Get ProjectSerum Version + # id: psversion + # uses: smartcontractkit/chainlink-solana/.github/actions/projectserum_version@4b971869e26b79c7ce3fb7c98005cc2e3f350915 # stable action on Oct 12 2022 - solana-test-image-exists: - environment: integration - permissions: - checks: write - pull-requests: write - id-token: write - contents: read - name: Check If Solana Test Image Exists - runs-on: ubuntu-latest - needs: [get_solana_sha] - outputs: - exists: ${{ steps.check-image.outputs.exists }} - steps: - - name: Check if image exists - id: check-image - uses: smartcontractkit/chainlink-github-actions/docker/image-exists@e865e376b8c2d594028c8d645dd6c47169b72974 # v2.2.16 - with: - repository: chainlink-solana-tests - tag: ${{ needs.get_solana_sha.outputs.sha }} - AWS_REGION: ${{ secrets.QA_AWS_REGION }} - AWS_ROLE_TO_ASSUME: ${{ secrets.QA_AWS_ROLE_TO_ASSUME }} + # solana-test-image-exists: + # environment: integration + # permissions: + # checks: write + # pull-requests: write + # id-token: write + # contents: read + # name: Check If Solana Test Image Exists + # runs-on: ubuntu-latest + # needs: [get_solana_sha] + # outputs: + # exists: ${{ steps.check-image.outputs.exists }} + # steps: + # - name: Check if image exists + # id: check-image + # uses: smartcontractkit/chainlink-github-actions/docker/image-exists@e865e376b8c2d594028c8d645dd6c47169b72974 # v2.2.16 + # with: + # repository: chainlink-solana-tests + # tag: ${{ needs.get_solana_sha.outputs.sha }} + # AWS_REGION: ${{ secrets.QA_AWS_REGION }} + # AWS_ROLE_TO_ASSUME: ${{ secrets.QA_AWS_ROLE_TO_ASSUME }} - solana-build-contracts: - environment: integration - permissions: - checks: write - pull-requests: write - id-token: write - contents: read - name: Solana Build Artifacts - runs-on: ubuntu20.04-16cores-64GB - needs: - [ - changes, - get_projectserum_version, - solana-test-image-exists, - get_solana_sha, - ] - container: - image: projectserum/build:${{ needs.get_projectserum_version.outputs.projectserum_version }} - env: - RUSTUP_HOME: "/root/.rustup" - FORCE_COLOR: 1 - steps: - - name: Collect Metrics - if: needs.changes.outputs.src == 'true' || github.event_name == 'workflow_dispatch' - id: collect-gha-metrics - uses: smartcontractkit/push-gha-metrics-action@d1618b772a97fd87e6505de97b872ee0b1f1729a # v2.0.2 - with: - basic-auth: ${{ secrets.GRAFANA_CLOUD_BASIC_AUTH }} - hostname: ${{ secrets.GRAFANA_CLOUD_HOST }} - this-job-name: Solana Build Artifacts - continue-on-error: true - - name: Checkout the solana repo - # Use v3.6.0 because the custom runner (container configured above) - # doesn't have node20 installed which is required for versions >=4 - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0 - with: - repository: smartcontractkit/chainlink-solana - ref: ${{ needs.get_solana_sha.outputs.sha }} - - name: Build contracts - if: (needs.changes.outputs.src == 'true' || github.event_name == 'workflow_dispatch') && needs.solana-test-image-exists.outputs.exists == 'false' - uses: smartcontractkit/chainlink-solana/.github/actions/build_contract_artifacts@21675b3a7dcdff8e790391708d4763020cace21e # stable action on December 18 2023 - with: - ref: ${{ needs.get_solana_sha.outputs.sha }} + # solana-build-contracts: + # environment: integration + # permissions: + # checks: write + # pull-requests: write + # id-token: write + # contents: read + # name: Solana Build Artifacts + # runs-on: ubuntu20.04-16cores-64GB + # needs: + # [ + # changes, + # get_projectserum_version, + # solana-test-image-exists, + # get_solana_sha, + # ] + # container: + # image: projectserum/build:${{ needs.get_projectserum_version.outputs.projectserum_version }} + # env: + # RUSTUP_HOME: "/root/.rustup" + # FORCE_COLOR: 1 + # steps: + # - name: Collect Metrics + # if: needs.changes.outputs.src == 'true' || github.event_name == 'workflow_dispatch' + # id: collect-gha-metrics + # uses: smartcontractkit/push-gha-metrics-action@d1618b772a97fd87e6505de97b872ee0b1f1729a # v2.0.2 + # with: + # basic-auth: ${{ secrets.GRAFANA_CLOUD_BASIC_AUTH }} + # hostname: ${{ secrets.GRAFANA_CLOUD_HOST }} + # this-job-name: Solana Build Artifacts + # continue-on-error: true + # - name: Checkout the solana repo + # # Use v3.6.0 because the custom runner (container configured above) + # # doesn't have node20 installed which is required for versions >=4 + # uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0 + # with: + # repository: smartcontractkit/chainlink-solana + # ref: ${{ needs.get_solana_sha.outputs.sha }} + # - name: Build contracts + # if: (needs.changes.outputs.src == 'true' || github.event_name == 'workflow_dispatch') && needs.solana-test-image-exists.outputs.exists == 'false' + # uses: smartcontractkit/chainlink-solana/.github/actions/build_contract_artifacts@21675b3a7dcdff8e790391708d4763020cace21e # stable action on December 18 2023 + # with: + # ref: ${{ needs.get_solana_sha.outputs.sha }} - solana-build-test-image: - environment: integration - permissions: - checks: write - pull-requests: write - id-token: write - contents: read - name: Solana Build Test Image - runs-on: ubuntu20.04-16cores-64GB - needs: - [ - solana-build-contracts, - solana-test-image-exists, - changes, - get_solana_sha, - ] - env: - CONTRACT_ARTIFACTS_PATH: contracts/target/deploy - steps: - - name: Collect Metrics - if: (needs.changes.outputs.src == 'true' || github.event_name == 'workflow_dispatch') && needs.solana-test-image-exists.outputs.exists == 'false' - id: collect-gha-metrics - uses: smartcontractkit/push-gha-metrics-action@d1618b772a97fd87e6505de97b872ee0b1f1729a # v2.0.2 - with: - basic-auth: ${{ secrets.GRAFANA_CLOUD_BASIC_AUTH }} - hostname: ${{ secrets.GRAFANA_CLOUD_HOST }} - this-job-name: Solana Build Test Image - continue-on-error: true - - name: Checkout the repo - if: (needs.changes.outputs.src == 'true' || github.event_name == 'workflow_dispatch') && needs.solana-test-image-exists.outputs.exists == 'false' - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 - with: - repository: smartcontractkit/chainlink-solana - ref: ${{ needs.get_solana_sha.outputs.sha }} - - name: Build Test Image - if: (needs.changes.outputs.src == 'true' || github.event_name == 'workflow_dispatch') && needs.solana-test-image-exists.outputs.exists == 'false' - uses: ./.github/actions/build-test-image - with: - tag: ${{ needs.get_solana_sha.outputs.sha }} - artifacts_path: ${{ env.CONTRACT_ARTIFACTS_PATH }} - 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 }} - - run: echo "this exists so we don't have to run anything else if the build is skipped" - if: needs.changes.outputs.src == 'false' || needs.solana-test-image-exists.outputs.exists == 'true' + # solana-build-test-image: + # environment: integration + # permissions: + # checks: write + # pull-requests: write + # id-token: write + # contents: read + # name: Solana Build Test Image + # runs-on: ubuntu20.04-16cores-64GB + # needs: + # [ + # solana-build-contracts, + # solana-test-image-exists, + # changes, + # get_solana_sha, + # ] + # env: + # CONTRACT_ARTIFACTS_PATH: contracts/target/deploy + # steps: + # - name: Collect Metrics + # if: (needs.changes.outputs.src == 'true' || github.event_name == 'workflow_dispatch') && needs.solana-test-image-exists.outputs.exists == 'false' + # id: collect-gha-metrics + # uses: smartcontractkit/push-gha-metrics-action@d1618b772a97fd87e6505de97b872ee0b1f1729a # v2.0.2 + # with: + # basic-auth: ${{ secrets.GRAFANA_CLOUD_BASIC_AUTH }} + # hostname: ${{ secrets.GRAFANA_CLOUD_HOST }} + # this-job-name: Solana Build Test Image + # continue-on-error: true + # - name: Checkout the repo + # if: (needs.changes.outputs.src == 'true' || github.event_name == 'workflow_dispatch') && needs.solana-test-image-exists.outputs.exists == 'false' + # uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 + # with: + # repository: smartcontractkit/chainlink-solana + # ref: ${{ needs.get_solana_sha.outputs.sha }} + # - name: Build Test Image + # if: (needs.changes.outputs.src == 'true' || github.event_name == 'workflow_dispatch') && needs.solana-test-image-exists.outputs.exists == 'false' + # uses: ./.github/actions/build-test-image + # with: + # tag: ${{ needs.get_solana_sha.outputs.sha }} + # artifacts_path: ${{ env.CONTRACT_ARTIFACTS_PATH }} + # 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 }} + # - run: echo "this exists so we don't have to run anything else if the build is skipped" + # if: needs.changes.outputs.src == 'false' || needs.solana-test-image-exists.outputs.exists == 'true' - solana-smoke-tests: - if: ${{ !contains(join(github.event.pull_request.labels.*.name, ' '), 'skip-smoke-tests') }} - environment: integration - permissions: - checks: write - pull-requests: write - id-token: write - contents: read - name: Solana Smoke Tests - runs-on: ubuntu20.04-16cores-64GB - needs: - [ - build-chainlink, - solana-build-contracts, - solana-build-test-image, - changes, - get_solana_sha, - ] - env: - CHAINLINK_COMMIT_SHA: ${{ github.sha }} - CHAINLINK_ENV_USER: ${{ github.actor }} - TEST_LOG_LEVEL: debug - CONTRACT_ARTIFACTS_PATH: contracts/target/deploy - steps: - - name: Collect Metrics - if: needs.changes.outputs.src == 'true' || github.event_name == 'workflow_dispatch' - id: collect-gha-metrics - uses: smartcontractkit/push-gha-metrics-action@d1618b772a97fd87e6505de97b872ee0b1f1729a # v2.0.2 - with: - basic-auth: ${{ secrets.GRAFANA_CLOUD_BASIC_AUTH }} - hostname: ${{ secrets.GRAFANA_CLOUD_HOST }} - this-job-name: Solana Smoke Tests - test-results-file: '{"testType":"go","filePath":"/tmp/gotest.log"}' - continue-on-error: true - - name: Checkout the repo - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 - with: - repository: smartcontractkit/chainlink-solana - ref: ${{ needs.get_solana_sha.outputs.sha }} - - name: Run Setup - if: needs.changes.outputs.src == 'true' || github.event_name == 'workflow_dispatch' - uses: smartcontractkit/chainlink-github-actions/chainlink-testing-framework/setup-run-tests-environment@e865e376b8c2d594028c8d645dd6c47169b72974 # v2.2.16 - with: - go_mod_path: ./integration-tests/go.mod - cache_restore_only: true - cache_key_id: core-solana-e2e-${{ env.MOD_CACHE_VERSION }} - aws_registries: ${{ secrets.QA_AWS_ACCOUNT_NUMBER }} - dockerhub_username: ${{ secrets.DOCKERHUB_READONLY_USERNAME }} - dockerhub_password: ${{ secrets.DOCKERHUB_READONLY_PASSWORD }} - QA_AWS_REGION: ${{ secrets.QA_AWS_REGION }} - QA_AWS_ROLE_TO_ASSUME: ${{ secrets.QA_AWS_ROLE_TO_ASSUME }} - QA_KUBECONFIG: ${{ secrets.QA_KUBECONFIG }} - - name: Pull Artfacts - if: needs.changes.outputs.src == 'true' || github.event_name == 'workflow_dispatch' - run: | - IMAGE_NAME=${{ secrets.QA_AWS_ACCOUNT_NUMBER }}.dkr.ecr.${{ secrets.QA_AWS_REGION }}.amazonaws.com/chainlink-solana-tests:${{ needs.get_solana_sha.outputs.sha }} - # Pull the Docker image - docker pull "$IMAGE_NAME" + # solana-smoke-tests: + # if: ${{ !contains(join(github.event.pull_request.labels.*.name, ' '), 'skip-smoke-tests') }} + # environment: integration + # permissions: + # checks: write + # pull-requests: write + # id-token: write + # contents: read + # name: Solana Smoke Tests + # runs-on: ubuntu20.04-16cores-64GB + # needs: + # [ + # build-chainlink, + # solana-build-contracts, + # solana-build-test-image, + # changes, + # get_solana_sha, + # ] + # env: + # CHAINLINK_COMMIT_SHA: ${{ github.sha }} + # CHAINLINK_ENV_USER: ${{ github.actor }} + # TEST_LOG_LEVEL: debug + # CONTRACT_ARTIFACTS_PATH: contracts/target/deploy + # steps: + # - name: Collect Metrics + # if: needs.changes.outputs.src == 'true' || github.event_name == 'workflow_dispatch' + # id: collect-gha-metrics + # uses: smartcontractkit/push-gha-metrics-action@d1618b772a97fd87e6505de97b872ee0b1f1729a # v2.0.2 + # with: + # basic-auth: ${{ secrets.GRAFANA_CLOUD_BASIC_AUTH }} + # hostname: ${{ secrets.GRAFANA_CLOUD_HOST }} + # this-job-name: Solana Smoke Tests + # test-results-file: '{"testType":"go","filePath":"/tmp/gotest.log"}' + # continue-on-error: true + # - name: Checkout the repo + # uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 + # with: + # repository: smartcontractkit/chainlink-solana + # ref: ${{ needs.get_solana_sha.outputs.sha }} + # - name: Run Setup + # if: needs.changes.outputs.src == 'true' || github.event_name == 'workflow_dispatch' + # uses: smartcontractkit/chainlink-github-actions/chainlink-testing-framework/setup-run-tests-environment@e865e376b8c2d594028c8d645dd6c47169b72974 # v2.2.16 + # with: + # go_mod_path: ./integration-tests/go.mod + # cache_restore_only: true + # cache_key_id: core-solana-e2e-${{ env.MOD_CACHE_VERSION }} + # aws_registries: ${{ secrets.QA_AWS_ACCOUNT_NUMBER }} + # dockerhub_username: ${{ secrets.DOCKERHUB_READONLY_USERNAME }} + # dockerhub_password: ${{ secrets.DOCKERHUB_READONLY_PASSWORD }} + # QA_AWS_REGION: ${{ secrets.QA_AWS_REGION }} + # QA_AWS_ROLE_TO_ASSUME: ${{ secrets.QA_AWS_ROLE_TO_ASSUME }} + # QA_KUBECONFIG: ${{ secrets.QA_KUBECONFIG }} + # - name: Pull Artfacts + # if: needs.changes.outputs.src == 'true' || github.event_name == 'workflow_dispatch' + # run: | + # IMAGE_NAME=${{ secrets.QA_AWS_ACCOUNT_NUMBER }}.dkr.ecr.${{ secrets.QA_AWS_REGION }}.amazonaws.com/chainlink-solana-tests:${{ needs.get_solana_sha.outputs.sha }} + # # Pull the Docker image + # docker pull "$IMAGE_NAME" - # Create a container without starting it - CONTAINER_ID=$(docker create "$IMAGE_NAME") + # # Create a container without starting it + # CONTAINER_ID=$(docker create "$IMAGE_NAME") - # Copy the artifacts from the container - mkdir -p ./${{env.CONTRACT_ARTIFACTS_PATH}}/ - docker cp "$CONTAINER_ID:/go/testdir/${{env.CONTRACT_ARTIFACTS_PATH}}/" "./${{env.CONTRACT_ARTIFACTS_PATH}}/../" + # # Copy the artifacts from the container + # mkdir -p ./${{env.CONTRACT_ARTIFACTS_PATH}}/ + # docker cp "$CONTAINER_ID:/go/testdir/${{env.CONTRACT_ARTIFACTS_PATH}}/" "./${{env.CONTRACT_ARTIFACTS_PATH}}/../" - # Remove the created container - docker rm "$CONTAINER_ID" - - name: Run Tests - if: needs.changes.outputs.src == 'true' || github.event_name == 'workflow_dispatch' - uses: smartcontractkit/chainlink-github-actions/chainlink-testing-framework/run-tests@e865e376b8c2d594028c8d645dd6c47169b72974 # v2.2.16 - with: - test_command_to_run: export ENV_JOB_IMAGE=${{ secrets.QA_AWS_ACCOUNT_NUMBER }}.dkr.ecr.${{ secrets.QA_AWS_REGION }}.amazonaws.com/chainlink-solana-tests:${{ needs.get_solana_sha.outputs.sha }} && make test_smoke - cl_repo: ${{ env.CHAINLINK_IMAGE }} - cl_image_tag: ${{ github.sha }} - artifacts_location: /home/runner/work/chainlink-solana/chainlink-solana/integration-tests/logs - publish_check_name: Solana Smoke Test Results - go_mod_path: ./integration-tests/go.mod - cache_key_id: core-solana-e2e-${{ env.MOD_CACHE_VERSION }} - token: ${{ secrets.GITHUB_TOKEN }} - aws_registries: ${{ secrets.QA_AWS_ACCOUNT_NUMBER }} - QA_AWS_REGION: ${{ secrets.QA_AWS_REGION }} - QA_AWS_ROLE_TO_ASSUME: ${{ secrets.QA_AWS_ROLE_TO_ASSUME }} - QA_KUBECONFIG: "" - run_setup: false - - name: Upload test log - uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2 - if: failure() - with: - name: test-log-solana - path: /tmp/gotest.log - retention-days: 7 - continue-on-error: true + # # Remove the created container + # docker rm "$CONTAINER_ID" + # - name: Run Tests + # if: needs.changes.outputs.src == 'true' || github.event_name == 'workflow_dispatch' + # uses: smartcontractkit/chainlink-github-actions/chainlink-testing-framework/run-tests@e865e376b8c2d594028c8d645dd6c47169b72974 # v2.2.16 + # with: + # test_command_to_run: export ENV_JOB_IMAGE=${{ secrets.QA_AWS_ACCOUNT_NUMBER }}.dkr.ecr.${{ secrets.QA_AWS_REGION }}.amazonaws.com/chainlink-solana-tests:${{ needs.get_solana_sha.outputs.sha }} && make test_smoke + # cl_repo: ${{ env.CHAINLINK_IMAGE }} + # cl_image_tag: ${{ github.sha }} + # artifacts_location: /home/runner/work/chainlink-solana/chainlink-solana/integration-tests/logs + # publish_check_name: Solana Smoke Test Results + # go_mod_path: ./integration-tests/go.mod + # cache_key_id: core-solana-e2e-${{ env.MOD_CACHE_VERSION }} + # token: ${{ secrets.GITHUB_TOKEN }} + # aws_registries: ${{ secrets.QA_AWS_ACCOUNT_NUMBER }} + # QA_AWS_REGION: ${{ secrets.QA_AWS_REGION }} + # QA_AWS_ROLE_TO_ASSUME: ${{ secrets.QA_AWS_ROLE_TO_ASSUME }} + # QA_KUBECONFIG: "" + # run_setup: false + # - name: Upload test log + # uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2 + # if: failure() + # with: + # name: test-log-solana + # path: /tmp/gotest.log + # retention-days: 7 + # continue-on-error: true