Compare commits
5 Commits
afb23d1e9d
...
02d966e523
Author | SHA1 | Date | |
---|---|---|---|
02d966e523 | |||
f2d11f314c | |||
7ef20f94b3 | |||
27503949ab | |||
fe5e10fdbc |
@ -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 }}
|
||||
|
@ -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 }}
|
||||
|
@ -1,3 +1,2 @@
|
||||
# Change this file to trigger the job publish-fixturenet-eth-images.yml
|
||||
Trigger
|
||||
Trigger
|
||||
4
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user