dashboard/.woodpecker/.test.yaml
Tom Neuber 191b20f899
All checks were successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/push/deploy Pipeline was successful
.woodpecker/.test.yaml: we don't need clone in this step
2024-10-07 13:38:47 +02:00

21 lines
514 B
YAML

skip_clone: true
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