Merge remote-tracking branch 'vdb.to/main' into HEAD
Some checks failed
Test Ethereum Plugeth Fixturenet Stack / Test fixturenet-plugeth stack (ubuntu-latest) (pull_request) Has been cancelled
Test Ethereum Plugeth Fixturenet Stack / Test fixturenet-plugeth stack (ubuntu-latest-arm) (pull_request) Has been cancelled
Test Ethereum Fixturenet Stack / Run Ethereum Fixturenet stack test (pull_request) Has been cancelled

This commit is contained in:
Roy Crihfield 2024-08-05 08:53:42 -05:00
commit 02d966e523
4 changed files with 54 additions and 10 deletions

View File

@ -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 }}

View File

@ -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 }}

View File

@ -1,3 +1,2 @@
# Change this file to trigger the job publish-fixturenet-eth-images.yml
Trigger
Trigger
4

View File

@ -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)