diff --git a/.gitea/workflows/test-fixturenet-eth.yml b/.gitea/workflows/test-fixturenet-eth.yml index a819ad5..f4d6d9f 100644 --- a/.gitea/workflows/test-fixturenet-eth.yml +++ b/.gitea/workflows/test-fixturenet-eth.yml @@ -34,3 +34,20 @@ jobs: run: | PATH=$PATH:~/bin ./tests/fixturenet-eth-stack/run-test.sh + + - name: Notify Vulcanize Slack on CI failure + if: ${{ always() && github.ref_name == 'main' }} + uses: ravsamhq/notify-slack-action@v2 + with: + status: ${{ job.status }} + notify_when: 'failure' + env: + SLACK_WEBHOOK_URL: ${{ secrets.VULCANIZE_SLACK_CI_ALERTS }} + - name: Notify DeepStack Slack on CI failure + if: ${{ always() && github.ref_name == 'main' }} + uses: ravsamhq/notify-slack-action@v2 + with: + status: ${{ job.status }} + notify_when: 'failure' + env: + SLACK_WEBHOOK_URL: ${{ secrets.DEEPSTACK_SLACK_CI_ALERTS }} diff --git a/.gitea/workflows/test-fixturenet-plugeth.yml b/.gitea/workflows/test-fixturenet-plugeth.yml index 93eea50..4973c2f 100644 --- a/.gitea/workflows/test-fixturenet-plugeth.yml +++ b/.gitea/workflows/test-fixturenet-plugeth.yml @@ -10,7 +10,10 @@ on: jobs: test: name: "Test fixturenet-plugeth stack" - runs-on: ubuntu-latest + strategy: + matrix: + os: [ubuntu-latest, ubuntu-latest-arm] + runs-on: ${{ matrix.os }} steps: - name: "Clone project repository" uses: actions/checkout@v3 @@ -20,12 +23,12 @@ jobs: if: ${{ runner.arch == 'arm64' && runner.os == 'Linux' }} uses: deadsnakes/action@v3.0.1 with: - python-version: '3.11' + python-version: 3.11 - name: "Install Python cases other than ARM on Linux" if: ${{ ! (runner.arch == 'arm64' && runner.os == 'Linux') }} uses: actions/setup-python@v4 with: - python-version: '3.11' + python-version: 3.11 - name: "Print Python version" run: python3 --version - name: "Install stack orchestrator" @@ -34,3 +37,20 @@ jobs: run: | PATH=$PATH:~/bin ./tests/fixturenet-plugeth-stack/run-test.sh + + - name: Notify Vulcanize Slack on CI failure + if: ${{ always() && github.ref_name == 'main' }} + uses: ravsamhq/notify-slack-action@v2 + with: + status: ${{ job.status }} + notify_when: 'failure' + env: + SLACK_WEBHOOK_URL: ${{ secrets.VULCANIZE_SLACK_CI_ALERTS }} + - name: Notify DeepStack Slack on CI failure + if: ${{ always() && github.ref_name == 'main' }} + uses: ravsamhq/notify-slack-action@v2 + with: + status: ${{ job.status }} + notify_when: 'failure' + env: + SLACK_WEBHOOK_URL: ${{ secrets.DEEPSTACK_SLACK_CI_ALERTS }} diff --git a/.gitea/workflows/triggers/publish-fixturenet-eth-images b/.gitea/workflows/triggers/publish-fixturenet-eth-images index a309385..9e4c9aa 100644 --- a/.gitea/workflows/triggers/publish-fixturenet-eth-images +++ b/.gitea/workflows/triggers/publish-fixturenet-eth-images @@ -1,3 +1,2 @@ # Change this file to trigger the job publish-fixturenet-eth-images.yml -Trigger -Trigger +4 \ No newline at end of file diff --git a/stack-orchestrator/container-build/cerc-fixturenet-eth-lighthouse/scripts/status.sh b/stack-orchestrator/container-build/cerc-fixturenet-eth-lighthouse/scripts/status.sh index d9f33d1..7374935 100755 --- a/stack-orchestrator/container-build/cerc-fixturenet-eth-lighthouse/scripts/status.sh +++ b/stack-orchestrator/container-build/cerc-fixturenet-eth-lighthouse/scripts/status.sh @@ -9,7 +9,7 @@ STATUSES=( "beacon phase0" "beacon altair" "beacon bellatrix pre-merge" - "beacon bellatrix merge" + "beacon post-merge" "block number $MIN_BLOCK_NUM" ) STATUS=0 @@ -69,14 +69,22 @@ while [ $STATUS -lt ${#STATUSES[@]} ]; do ;; 2) result=`wget --no-check-certificate --quiet -O - "$LIGHTHOUSE_BASE_URL/eth/v2/beacon/blocks/head" | jq -r '.version'` - if [ ! -z "$result" ] && ([ "$result" == "altair" ] || [ "$result" == "bellatrix" ]); then - inc_status + if [ ! -z "$result" ]; then + case "$result" in + "altair" | "bellatrix" | "capella" | "deneb") + inc_status + ;; + esac fi ;; 3) result=`wget --no-check-certificate --quiet -O - "$LIGHTHOUSE_BASE_URL/eth/v2/beacon/blocks/head" | jq -r '.version'` - if [ ! -z "$result" ] && [ "$result" == "bellatrix" ]; then - inc_status + if [ ! -z "$result" ]; then + case "$result" in + "bellatrix" | "capella" | "deneb") + inc_status + ;; + esac fi ;; 4)