This commit is contained in:
parent
6d9ae78e7d
commit
809aa52d88
44
.drone.yml
Normal file
44
.drone.yml
Normal file
@ -0,0 +1,44 @@
|
|||||||
|
---
|
||||||
|
kind: pipeline
|
||||||
|
type: docker
|
||||||
|
name: default
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: build
|
||||||
|
image: golang
|
||||||
|
environment:
|
||||||
|
CGO_ENABLED: 0
|
||||||
|
commands:
|
||||||
|
- go vet
|
||||||
|
- go build
|
||||||
|
|
||||||
|
- name: upload
|
||||||
|
image: plugins/s3
|
||||||
|
settings:
|
||||||
|
bucket: artifacts
|
||||||
|
access_key:
|
||||||
|
from_secret: MINIO_ACCESS_KEY
|
||||||
|
secret_key:
|
||||||
|
from_secret: MINIO_SECRET_KEY
|
||||||
|
endpoint: https://minio.burble.dn42
|
||||||
|
region: uk-lon3
|
||||||
|
path_style: true
|
||||||
|
source: dnsmasq_exporter
|
||||||
|
target: /dnsmasq_exporter/${DRONE_BRANCH}
|
||||||
|
|
||||||
|
---
|
||||||
|
kind: secret
|
||||||
|
name: MINIO_ACCESS_KEY
|
||||||
|
get:
|
||||||
|
path: burble.dn42/kv/data/drone/minio
|
||||||
|
name: ACCESS_KEY
|
||||||
|
|
||||||
|
---
|
||||||
|
kind: secret
|
||||||
|
name: MINIO_SECRET_KEY
|
||||||
|
get:
|
||||||
|
path: burble.dn42/kv/data/drone/minio
|
||||||
|
name: SECRET_KEY
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
|||||||
# dnsmasq exporter
|
# dnsmasq exporter
|
||||||
|
|
||||||
[](https://travis-ci.org/google/dnsmasq_exporter)
|
[](https://ci.burble.dn42/mirrors/dnsmasq_exporter)
|
||||||
|
|
||||||
dnsmasq_exporter is an exporter for [Prometheus](https://prometheus.io/),
|
dnsmasq_exporter is an exporter for [Prometheus](https://prometheus.io/),
|
||||||
allowing you to monitor/alert on the number of DHCP leases and various DNS
|
allowing you to monitor/alert on the number of DHCP leases and various DNS
|
||||||
|
Loading…
x
Reference in New Issue
Block a user