run dignostic steps on failure
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
cbff79684d
commit
a36defdb53
34
.drone.yml
34
.drone.yml
@ -38,6 +38,23 @@ steps:
|
||||
- hugo version
|
||||
- hugo --gc=true --minify
|
||||
|
||||
# perform basic checks on failure
|
||||
- name: diagnostics
|
||||
image: plugins/drone-diagnostics
|
||||
pull: if-not-exists
|
||||
commands:
|
||||
- env
|
||||
- ls -lah
|
||||
- ping git.dotya.ml -w 5
|
||||
- ping www.github.com -w 5
|
||||
- traceroute -T -p 443 git.dotya.ml
|
||||
- traceroute -T -p 443 www.github.com
|
||||
- dig dotya.ml
|
||||
- echo "end of test"
|
||||
when:
|
||||
status:
|
||||
- failure
|
||||
|
||||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
@ -136,6 +153,23 @@ steps:
|
||||
branch: master
|
||||
status: success
|
||||
|
||||
# perform basic checks on failure
|
||||
- name: diagnostics
|
||||
image: plugins/drone-diagnostics
|
||||
pull: if-not-exists
|
||||
commands:
|
||||
- env
|
||||
- ls -lah
|
||||
- ping git.dotya.ml -w 5
|
||||
- ping www.github.com -w 5
|
||||
- traceroute -T -p 443 git.dotya.ml
|
||||
- traceroute -T -p 443 www.github.com
|
||||
- dig dotya.ml
|
||||
- echo "end of test"
|
||||
when:
|
||||
status:
|
||||
- failure
|
||||
|
||||
volumes:
|
||||
- name: s
|
||||
host:
|
||||
|
Loading…
Reference in New Issue
Block a user