update attempts

This commit is contained in:
Waylon Walker 2020-07-26 14:58:37 +00:00
parent 054b297a70
commit b4065e3235

View file

@ -18,7 +18,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@master - uses: actions/checkout@main
# - uses: nanasess/setup-chromedriver@master # - uses: nanasess/setup-chromedriver@master
# with: # with:
# # Optional: do not specify to match Chrome's version # # Optional: do not specify to match Chrome's version
@ -42,7 +42,7 @@ jobs:
run: | run: |
trap 'kill $(jobs -p)' EXIT trap 'kill $(jobs -p)' EXIT
attempt_counter=0 attempt_counter=0
max_attempts=45 max_attempts=100
mkdir -p build/reports/agent mkdir -p build/reports/agent
docker-compose -f docker-compose.yml logs -f | tee build/reports/agent/log.txt& docker-compose -f docker-compose.yml logs -f | tee build/reports/agent/log.txt&
until curl -s http://localhost:8585/api/status | jq '.registered' | grep true; do until curl -s http://localhost:8585/api/status | jq '.registered' | grep true; do