dashboard/.woodpecker/.test.yaml
Aaron Riedel 7ecd1ba594
Some checks failed
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/push/deploy Pipeline failed
add woodpecker pipeline
2024-08-07 21:36:57 +02:00

20 lines
No EOL
496 B
YAML

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