skip waiting for agent
This commit is contained in:
parent
b74b9c98b4
commit
5a9cd831e4
1 changed files with 30 additions and 29 deletions
15
.github/workflows/test-waylonwalker-com.yml
vendored
15
.github/workflows/test-waylonwalker-com.yml
vendored
|
|
@ -29,13 +29,14 @@ jobs:
|
|||
envsubst < .github/ci/docker-compose.yml > docker-compose.yml
|
||||
cat docker-compose.yml
|
||||
docker-compose -f docker-compose.yml up -d
|
||||
# - name: Wait for Agent to Register
|
||||
# run: |
|
||||
# trap 'kill $(jobs -p)' EXIT
|
||||
# attempt_counter=0
|
||||
# max_attempts=100
|
||||
# mkdir -p build/reports/agent
|
||||
# docker-compose -f docker-compose.yml logs -f | tee build/reports/agent/log.txt&
|
||||
- name: Wait for Agent to Register
|
||||
run: |
|
||||
trap 'kill $(jobs -p)' EXIT
|
||||
attempt_counter=0
|
||||
max_attempts=100
|
||||
mkdir -p build/reports/agent
|
||||
docker-compose -f docker-compose.yml logs -f | tee build/reports/agent/log.txt&
|
||||
sleep 20
|
||||
# until curl -s http://localhost:8585/api/status | jq '.registered' | grep true; do
|
||||
# if [ ${attempt_counter} -eq ${max_attempts} ]; then
|
||||
# echo "Agent failed to register. Terminating..."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue