From 371970d27128442e7ea2e1a37d9e3e8687192316 Mon Sep 17 00:00:00 2001 From: Adam Hamrick Date: Thu, 1 Aug 2024 09:18:59 -0400 Subject: [PATCH 1/4] Fix Compatibility Image --- .github/workflows/ccip-client-compatibility-tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ccip-client-compatibility-tests.yml b/.github/workflows/ccip-client-compatibility-tests.yml index fb3584b165..e08eadba50 100644 --- a/.github/workflows/ccip-client-compatibility-tests.yml +++ b/.github/workflows/ccip-client-compatibility-tests.yml @@ -29,7 +29,7 @@ on: type: string env: - CHAINLINK_IMAGE: ${{ secrets.QA_AWS_ACCOUNT_NUMBER }}.dkr.ecr.${{ secrets.QA_AWS_REGION }}.amazonaws.com/chainlink + CHAINLINK_IMAGE: ${{ secrets.QA_AWS_ACCOUNT_NUMBER }}.dkr.ecr.${{ secrets.QA_AWS_REGION }}.amazonaws.com/ccip INTERNAL_DOCKER_REPO: ${{ secrets.QA_AWS_ACCOUNT_NUMBER }}.dkr.ecr.${{ secrets.QA_AWS_REGION }}.amazonaws.com MOD_CACHE_VERSION: 2 From 92795a83aba0aaea7655c435e098d3d0e92cd669 Mon Sep 17 00:00:00 2001 From: Adam Hamrick Date: Fri, 2 Aug 2024 10:08:41 -0400 Subject: [PATCH 2/4] Adds release suffix for CCIP releases --- .github/workflows/integration-tests.yml | 41 +++++++++++++++++++++++-- 1 file changed, 38 insertions(+), 3 deletions(-) diff --git a/.github/workflows/integration-tests.yml b/.github/workflows/integration-tests.yml index 28f02a7094..ba0a2d1333 100644 --- a/.github/workflows/integration-tests.yml +++ b/.github/workflows/integration-tests.yml @@ -808,7 +808,7 @@ jobs: echo "Error: The latest_version is empty. The migration tests need a verison to run." exit 1 fi - echo "latest_version=${latest_version}" >> "$GITHUB_OUTPUT" + echo "latest_version=${latest_version}-release" >> "$GITHUB_OUTPUT" - name: Name Versions run: | echo "Running migration tests from version '${{ steps.get_latest_version.outputs.latest_version }}' to: '${{ inputs.evm-ref || github.sha }}'" @@ -868,5 +868,40 @@ jobs: env: SLACK_BOT_TOKEN: ${{ secrets.QA_SLACK_API_KEY }} with: - channel-id: "#team-test-tooling-internal" - slack-message: ":x: :mild-panic-intensifies: Node Migration Tests Failed: \n${{ format('https://github.com/{0}/actions/runs/{1}', github.repository, github.run_id) }}" \ No newline at end of file + channel-id: "C05QQ8Z342V" + slack-message: "CCIP Node Migration Tests Failed :x: \n${{ format('https://github.com/{0}/actions/runs/{1}', github.repository, github.run_id) }}" + payload: | + { + "attachments": [ + { + "color": "${{ contains(join(needs.*.result, ','), 'failure') && '#C62828' || '#2E7D32' }}", + "blocks": [ + { + "type": "header", + "text": { + "type": "plain_text", + "text": "CCIP Version Migration Test Results ${{ contains(join(needs.*.result, ','), 'failure') && ':x:' || ':white_check_mark:'}}", + "emoji": true + } + }, + { + "type": "section", + "text": { + "type": "mrkdwn", + "text": "${{ contains(join(needs.*.result, ','), 'failure') && 'Some tests failed! Notifying ' || 'All Good!' }}" + } + }, + { + "type": "divider" + }, + { + "type": "section", + "text": { + "type": "mrkdwn", + "text": "<${{ github.server_url }}/${{ github.repository }}/releases/tag/${{ github.ref_name }}|${{ github.ref_name }}> | <${{ github.server_url }}/${{ github.repository }}/commit/${{ github.sha }}|${{ github.sha }}> | <${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}|Run>" + } + } + ] + } + ] + } From cc50eb6c3dc23c6a589a46777b74329579f72694 Mon Sep 17 00:00:00 2001 From: Adam Hamrick Date: Fri, 2 Aug 2024 10:08:55 -0400 Subject: [PATCH 3/4] Adds release suffix for CCIP releases --- .github/workflows/integration-tests.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/integration-tests.yml b/.github/workflows/integration-tests.yml index ba0a2d1333..339bc98df4 100644 --- a/.github/workflows/integration-tests.yml +++ b/.github/workflows/integration-tests.yml @@ -808,6 +808,7 @@ jobs: echo "Error: The latest_version is empty. The migration tests need a verison to run." exit 1 fi + # CCIP uses the `-release` suffix for their versions echo "latest_version=${latest_version}-release" >> "$GITHUB_OUTPUT" - name: Name Versions run: | From c9cda83496198a1e20cfb71da7ebb359e4fc0f8c Mon Sep 17 00:00:00 2001 From: Adam Hamrick Date: Fri, 2 Aug 2024 10:31:08 -0400 Subject: [PATCH 4/4] Fixes bad image name --- .github/workflows/client-compatibility-tests.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/client-compatibility-tests.yml b/.github/workflows/client-compatibility-tests.yml index 228920842a..19ed0329fd 100644 --- a/.github/workflows/client-compatibility-tests.yml +++ b/.github/workflows/client-compatibility-tests.yml @@ -29,7 +29,7 @@ on: type: string env: - CHAINLINK_IMAGE: ${{ secrets.QA_AWS_ACCOUNT_NUMBER }}.dkr.ecr.${{ secrets.QA_AWS_REGION }}.amazonaws.com/chainlink + CHAINLINK_IMAGE: ${{ secrets.QA_AWS_ACCOUNT_NUMBER }}.dkr.ecr.${{ secrets.QA_AWS_REGION }}.amazonaws.com/chainlink-ccip INTERNAL_DOCKER_REPO: ${{ secrets.QA_AWS_ACCOUNT_NUMBER }}.dkr.ecr.${{ secrets.QA_AWS_REGION }}.amazonaws.com MOD_CACHE_VERSION: 2 @@ -270,7 +270,6 @@ jobs: if: | always() && needs.should-run.outputs.should_run == 'true' && - github.ref_type != 'tag' && ( needs.select-versions.outputs.evm_implementations != '' || github.event.inputs.base64TestList != ''