fix: add coreutils for seq command
This commit is contained in:
parent
1dc1a1f1ea
commit
2e2c51de6e
1 changed files with 1 additions and 1 deletions
|
|
@ -31,7 +31,7 @@ steps:
|
||||||
- name: smoke-init
|
- name: smoke-init
|
||||||
image: python:3-alpine
|
image: python:3-alpine
|
||||||
commands:
|
commands:
|
||||||
- apk add --no-cache bash curl jq git
|
- apk add --no-cache bash curl jq git coreutils
|
||||||
- MOCK_FORGE_PORT=3001 python3 tests/mock-forgejo.py &
|
- MOCK_FORGE_PORT=3001 python3 tests/mock-forgejo.py &
|
||||||
# Wait for mock to be ready
|
# Wait for mock to be ready
|
||||||
- for i in $(seq 1 30); do curl -sf http://localhost:3001/api/v1/version >/dev/null 2>&1 && break || sleep 1; done
|
- for i in $(seq 1 30); do curl -sf http://localhost:3001/api/v1/version >/dev/null 2>&1 && break || sleep 1; done
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue