Correct command

This commit is contained in:
Abdul Rabbani 2022-05-05 14:53:51 -04:00
parent bdcbc88e88
commit dd52e480fb

View File

@ -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