fix

master
parent c44a21d09b
commit c812456c74
  1. 2
      .drone.yml

@ -13,7 +13,7 @@ steps:
- promtool check rules rules/*
- mkdir -p discovery
- '[ -f discovery.conf.d/dns.yaml ] && generate-dns-sd.py discovery.conf.d/dns.yaml > discovery/dns-${DRONE_REPO_OWNER}-${DRONE_REPO_NAME}.yaml'
- scp -P $${REMOTE_PORT} -i /tmp/key rules discovery $${REMOTE_USER}@$${REMOTE_HOST}:/var/lib/prometheus
- scp -P $${REMOTE_PORT} -i /tmp/key -r rules discovery $${REMOTE_USER}@$${REMOTE_HOST}:/var/lib/prometheus
- ssh -p $${REMOTE_PORT} -i /tmp/key $${REMOTE_USER}@$${REMOTE_HOST} killall -s SIGHUP prometheus
environment:
SSH_KEY:

Loading…
Cancel
Save