add woodpecker pipeline
This commit is contained in:
parent
a7a0c55f7a
commit
7ecd1ba594
3 changed files with 103 additions and 0 deletions
20
.woodpecker/.test.yaml
Normal file
20
.woodpecker/.test.yaml
Normal file
|
@ -0,0 +1,20 @@
|
|||
steps:
|
||||
- name: test (prod)
|
||||
image: git.ar21.de/yolokube/dashboard:${CI_PIPELINE_NUMBER}
|
||||
commands:
|
||||
- nginx
|
||||
- curl -fsS -m 10 --retry 5 -o /dev/null http://localhost:8080
|
||||
when:
|
||||
- branch: master
|
||||
event: push
|
||||
- name: test (staging)
|
||||
image: git.ar21.de/yolokube/dashboard:staging-${CI_PIPELINE_NUMBER}
|
||||
commands:
|
||||
- nginx
|
||||
- curl -fsS -m 10 --retry 5 -o /dev/null http://localhost:8080
|
||||
when:
|
||||
- branch:
|
||||
exclude: master
|
||||
event: push
|
||||
depends_on:
|
||||
- build
|
Loading…
Add table
Add a link
Reference in a new issue