[wip] fix status script
All checks were successful
Lint Checks / Run linter (pull_request) Successful in 49s
Deploy Test / Run deploy test suite (pull_request) Successful in 5m14s
Webapp Test / Run webapp test suite (pull_request) Successful in 4m50s
K8s Deploy Test / Run deploy test suite on kind/k8s (pull_request) Successful in 9m10s
Smoke Test / Run basic test suite (pull_request) Successful in 4m29s
All checks were successful
Lint Checks / Run linter (pull_request) Successful in 49s
Deploy Test / Run deploy test suite (pull_request) Successful in 5m14s
Webapp Test / Run webapp test suite (pull_request) Successful in 4m50s
K8s Deploy Test / Run deploy test suite on kind/k8s (pull_request) Successful in 9m10s
Smoke Test / Run basic test suite (pull_request) Successful in 4m29s
This commit is contained in:
parent
7f3c68b2cb
commit
a85a85f94b
@ -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,13 +69,13 @@ 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
|
||||
if [ ! -z "$result" ] && ([ "$result" == "altair" ] || [ "$result" == "bellatrix" ] || [ "$result" == "capella" ] || [ "$result" == "deneb" ]); then
|
||||
inc_status
|
||||
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
|
||||
if [ ! -z "$result" ] && ([ "$result" == "bellatrix" ] || [ "$result" == "capella" ] || [ "$result" == "deneb" ]); then
|
||||
inc_status
|
||||
fi
|
||||
;;
|
||||
|
Loading…
Reference in New Issue
Block a user