e2e-long-main #46
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Weekly run of the E2E testnet using the long-running manifest on main | |
# !! Relevant changes to this file should be propagated to the e2e-nightly-<V>x | |
# files for the supported backport branches, when appropriate, modulo version | |
# markers. | |
name: e2e-long-main | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '0 3 * * 3' | |
jobs: | |
e2e-long-test: | |
runs-on: ubuntu-latest | |
timeout-minutes: 120 | |
steps: | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: '1.22' | |
- uses: actions/checkout@v4 | |
with: | |
ref: 'v0.37.x' | |
- name: Build | |
working-directory: test/e2e | |
# Run make jobs in parallel, since we can't run steps in parallel. | |
run: make -j2 docker runner | |
- name: Run testnet | |
working-directory: test/e2e | |
run: ./run-multiple.sh networks/long.toml | |
e2e-long-fail: | |
needs: e2e-long-test | |
if: ${{ failure() }} | |
runs-on: ubuntu-latest | |
steps: | |
- name: Notify Slack on failure | |
uses: slackapi/slack-github-action@v1.27.0 | |
env: | |
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} | |
SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK | |
BRANCH: ${{ github.ref_name }} | |
RUN_URL: "${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}" | |
COMMITS_URL: "${{ github.server_url }}/${{ github.repository }}/commits/${{ github.ref_name }}" | |
with: | |
payload: | | |
{ | |
"blocks": [ | |
{ | |
"type": "section", | |
"text": { | |
"type": "mrkdwn", | |
"text": ":skull: Weekly long-run E2E tests for `${{ env.BRANCH }}` failed. See the <${{ env.RUN_URL }}|run details> and the <${{ env.COMMITS_URL }}|latest commits> possibly related to the failure." | |
} | |
} | |
] | |
} |