fix: feat: restore .woodpecker/smoke-init.yml pipeline (#140)
Some checks failed
Some checks failed
This commit is contained in:
parent
39e4b73ea0
commit
0409de2790
1 changed files with 16 additions and 0 deletions
16
.woodpecker/smoke-init.yml
Normal file
16
.woodpecker/smoke-init.yml
Normal file
|
|
@ -0,0 +1,16 @@
|
||||||
|
steps:
|
||||||
|
- name: smoke-init
|
||||||
|
image: python:3-alpine
|
||||||
|
when:
|
||||||
|
event: pull_request
|
||||||
|
path:
|
||||||
|
- "bin/disinto"
|
||||||
|
- "lib/load-project.sh"
|
||||||
|
- "lib/env.sh"
|
||||||
|
- "tests/**"
|
||||||
|
- ".woodpecker/smoke-init.yml"
|
||||||
|
commands:
|
||||||
|
- apk add --no-cache bash curl jq git coreutils
|
||||||
|
- python3 tests/mock-forgejo.py &
|
||||||
|
- 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
|
||||||
Loading…
Add table
Add a link
Reference in a new issue