diff --git a/.woodpecker/smoke-init.yml b/.woodpecker/smoke-init.yml index 3e1f33a..bcd5f3e 100644 --- a/.woodpecker/smoke-init.yml +++ b/.woodpecker/smoke-init.yml @@ -13,5 +13,5 @@ steps: commands: - apk add --no-cache bash curl jq git coreutils - python3 tests/mock-forgejo.py & - - sleep 2 + - for i in $(seq 1 30); do curl -sf http://localhost:3000/api/v1/version >/dev/null 2>&1 && break || sleep 1; done - bash tests/smoke-init.sh