fix: restore smoke-init CI pipeline using mock Forgejo (#124)
This commit is contained in:
parent
105070e379
commit
7190abb4e1
3 changed files with 4 additions and 6 deletions
|
|
@ -32,7 +32,7 @@ steps:
|
|||
image: python:3-alpine
|
||||
commands:
|
||||
- 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 > /tmp/mock.log 2>&1 &
|
||||
# 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
|
||||
- SMOKE_FORGE_URL=http://localhost:3001 FORGE_URL=http://localhost:3001 bash tests/smoke-init.sh
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue