diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index aab15adf8f..18cc40a07a 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -126,30 +126,9 @@ jobs: fail-fast: false matrix: include: - - make-target: "start-e2e-test" + - make-target: "false" runs-on: ubuntu-20.04 run: ${{ needs.matrix-conditionals.outputs.DEFAULT_TESTS == 'true' }} - - make-target: "start-upgrade-test" - runs-on: ubuntu-20.04 - run: ${{ needs.matrix-conditionals.outputs.UPGRADE_TESTS == 'true' }} - - make-target: "start-upgrade-test-light" - runs-on: ubuntu-20.04 - run: ${{ needs.matrix-conditionals.outputs.UPGRADE_LIGHT_TESTS == 'true' }} - - make-target: "start-upgrade-import-mainnet-test" - runs-on: buildjet-16vcpu-ubuntu-2204 - run: ${{ needs.matrix-conditionals.outputs.UPGRADE_IMPORT_MAINNET_TESTS == 'true' }} - - make-target: "start-e2e-admin-test" - runs-on: ubuntu-20.04 - run: ${{ needs.matrix-conditionals.outputs.ADMIN_TESTS == 'true' }} - - make-target: "start-e2e-performance-test" - runs-on: buildjet-4vcpu-ubuntu-2204 - run: ${{ needs.matrix-conditionals.outputs.PERFORMANCE_TESTS == 'true' }} - - make-target: "start-e2e-import-mainnet-test" - runs-on: buildjet-16vcpu-ubuntu-2204 - run: ${{ needs.matrix-conditionals.outputs.STATEFUL_DATA_TESTS == 'true' }} - - make-target: "start-tss-migration-test" - runs-on: ubuntu-20.04 - run: ${{ needs.matrix-conditionals.outputs.TSS_MIGRATION_TESTS == 'true' }} name: ${{ matrix.make-target }} uses: ./.github/workflows/reusable-e2e.yml with: @@ -165,6 +144,14 @@ jobs: - e2e if: always() steps: + - uses: actions/github-script@v7 + env: + SLACK_WEBHOOK_URL: ${{ secrets.SLACK_INTEGRATION_TESTING_WEBHOOK }} + with: + script: | + const e2eResults = ${{ toJson(needs.e2e) }}; + console.log(e2eResults); + - run: | result="${{ needs.e2e.result }}" if [[ $result == "success" || $result == "skipped" ]]; then diff --git a/.github/workflows/reusable-e2e.yml b/.github/workflows/reusable-e2e.yml index d67f53db0e..ab2181f41b 100644 --- a/.github/workflows/reusable-e2e.yml +++ b/.github/workflows/reusable-e2e.yml @@ -100,15 +100,6 @@ jobs: name: ${{ inputs.make-target }}-docker-logs path: /tmp/logs.txt - - name: Notify Slack on Failure - if: failure() && (github.event_name == 'push' || github.event_name == 'schedule') - uses: 8398a7/action-slack@v3 - with: - status: ${{ job.status }} - fields: repo,message,commit,author,action,eventName,ref,workflow,job,took - env: - SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_CI_ALERTS }} - - name: Stop Private Network if: always() run: |