Correct command
This commit is contained in:
parent
bdcbc88e88
commit
dd52e480fb
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
|
||||
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
|
||||
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:
|
||||
name: Run Unit Tests
|
||||
|
Loading…
Reference in New Issue
Block a user