Capture the head block in the DB entirely. #27
6
.github/workflows/on-pr.yml
vendored
6
.github/workflows/on-pr.yml
vendored
@ -65,10 +65,10 @@ jobs:
|
|||||||
|
|
||||||
- name: Check to make sure HEALTH file is present
|
- name: Check to make sure HEALTH file is present
|
||||||
run: |
|
run: |
|
||||||
docker compose -f "$GITHUB_WORKSPACE/stack-orchestrator/docker/local/docker-compose-ipld-ethcl-indexer.yml" cp ipld-ethcl-indexer:/root/HEALTH ./HEALTH
|
|
||||||
while [ $? -ne 0 ]; do !!; done
|
while [ $(docker compose -f "$GITHUB_WORKSPACE/stack-orchestrator/docker/local/docker-compose-ipld-ethcl-indexer.yml" cp ipld-ethcl-indexer:/root/HEALTH ./HEALTH; echo $?) -ne 0 ]; do sleep 10; !!; done
|
||||||
cat ./HEALTH
|
cat ./HEALTH
|
||||||
if [[ "$(cat ./HEALTH)" -eq "0" ]]; then echo "Application boot successful" && exit 0; else exit 1; fi
|
if [[ "$(cat ./HEALTH)" -eq "0" ]]; then echo "Application boot successful" && (exit 0); else (exit 1); fi
|
||||||
|
|
||||||
unit-test:
|
unit-test:
|
||||||
name: Run Unit Tests
|
name: Run Unit Tests
|
||||||
|
Loading…
Reference in New Issue
Block a user