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: | run: |
PATH=$PATH:~/bin PATH=$PATH:~/bin
./tests/fixturenet-eth-stack/run-test.sh ./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: jobs:
test: test:
name: "Test fixturenet-plugeth stack" name: "Test fixturenet-plugeth stack"
runs-on: ubuntu-latest strategy:
matrix:
os: [ubuntu-latest, ubuntu-latest-arm]
runs-on: ${{ matrix.os }}
steps: steps:
- name: "Clone project repository" - name: "Clone project repository"
uses: actions/checkout@v3 uses: actions/checkout@v3
@ -20,12 +23,12 @@ jobs:
if: ${{ runner.arch == 'arm64' && runner.os == 'Linux' }} if: ${{ runner.arch == 'arm64' && runner.os == 'Linux' }}
uses: deadsnakes/action@v3.0.1 uses: deadsnakes/action@v3.0.1
with: with:
python-version: '3.11' python-version: 3.11
- name: "Install Python cases other than ARM on Linux" - name: "Install Python cases other than ARM on Linux"
if: ${{ ! (runner.arch == 'arm64' && runner.os == 'Linux') }} if: ${{ ! (runner.arch == 'arm64' && runner.os == 'Linux') }}
uses: actions/setup-python@v4 uses: actions/setup-python@v4
with: with:
python-version: '3.11' python-version: 3.11
- name: "Print Python version" - name: "Print Python version"
run: python3 --version run: python3 --version
- name: "Install stack orchestrator" - name: "Install stack orchestrator"
@ -34,3 +37,20 @@ jobs:
run: | run: |
PATH=$PATH:~/bin PATH=$PATH:~/bin
./tests/fixturenet-plugeth-stack/run-test.sh ./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 # Change this file to trigger the job publish-fixturenet-eth-images.yml
Trigger 4
Trigger

View File

@ -9,7 +9,7 @@ STATUSES=(
"beacon phase0" "beacon phase0"
"beacon altair" "beacon altair"
"beacon bellatrix pre-merge" "beacon bellatrix pre-merge"
"beacon bellatrix merge" "beacon post-merge"
"block number $MIN_BLOCK_NUM" "block number $MIN_BLOCK_NUM"
) )
STATUS=0 STATUS=0
@ -69,14 +69,22 @@ while [ $STATUS -lt ${#STATUSES[@]} ]; do
;; ;;
2) 2)
result=`wget --no-check-certificate --quiet -O - "$LIGHTHOUSE_BASE_URL/eth/v2/beacon/blocks/head" | jq -r '.version'` 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 if [ ! -z "$result" ]; then
case "$result" in
"altair" | "bellatrix" | "capella" | "deneb")
inc_status inc_status
;;
esac
fi fi
;; ;;
3) 3)
result=`wget --no-check-certificate --quiet -O - "$LIGHTHOUSE_BASE_URL/eth/v2/beacon/blocks/head" | jq -r '.version'` result=`wget --no-check-certificate --quiet -O - "$LIGHTHOUSE_BASE_URL/eth/v2/beacon/blocks/head" | jq -r '.version'`
if [ ! -z "$result" ] && [ "$result" == "bellatrix" ]; then if [ ! -z "$result" ]; then
case "$result" in
"bellatrix" | "capella" | "deneb")
inc_status inc_status
;;
esac
fi fi
;; ;;
4) 4)