6 Commits

Author SHA1 Message Date
TP Honey 6663810601 Update .drone.yml 2022-02-15 11:31:23 +00:00
TP Honey 6532d72d4e Update .drone.yml 2022-02-15 11:30:04 +00:00
TP Honey bc93724b2f Merge pull request #4 from tphoney/fix_build
(maint) build tidy up
2022-02-15 11:26:17 +00:00
TP Honey 2d6f59fe2f (maint) build tidy up 2022-02-15 11:24:40 +00:00
TP Honey 724e37a70a (feat) add dig command (#3) 2022-02-14 15:21:26 +00:00
TP Honey 9fabe07502 Update README.md 2021-07-21 08:38:16 +01:00
3 changed files with 5 additions and 36 deletions
+1 -34
View File
@@ -3,36 +3,7 @@ name: default
type: docker
steps:
- name: build plugin for test
image: plugins/docker
settings:
repo: plugins/drone-diagnostics
dockerfile: docker/Dockerfile
username:
from_secret: docker_username
password:
from_secret: docker_password
tags: ${DRONE_COMMIT}
- name: run plugins/drone-diagnostics plugin
image: plugins/drone-diagnostics:${DRONE_COMMIT}
commands:
- env
- ping www.github.com -w 5
- traceroute -T -p 443 www.github.com
- echo "end of test"
trigger:
event:
exclude:
- tag
---
kind: pipeline
name: publish
type: docker
steps:
- name: build plugin for test
- name: release plugin
image: plugins/docker
settings:
repo: plugins/drone-diagnostics
@@ -42,7 +13,3 @@ steps:
password:
from_secret: docker_password
auto_tag: true
trigger:
event:
- tag
+3 -1
View File
@@ -1,6 +1,6 @@
# drone-diagnostics
A plugin with cli tools to diagnose issues in a build.
A plugin with cli tools to diagnose issues in a build. Available here `https://hub.docker.com/r/plugins/drone-diagnostics`
## Usage
@@ -10,6 +10,7 @@ Installed tools:
- ping
- traceroute
- dig
### Example 1
@@ -30,6 +31,7 @@ steps:
- env
- ping www.github.com -w 5
- traceroute -T -p 443 www.github.com
- dig www.apple.com
- echo "end of test"
```
+1 -1
View File
@@ -1,4 +1,4 @@
FROM ubuntu
RUN apt-get update
RUN apt-get install -y traceroute iputils-ping
RUN apt-get install -y traceroute iputils-ping bind9-dnsutils
ENTRYPOINT /bin/bash