test

master
parent 2c86ce4a12
commit 4fdcc43124
  1. 14
      .drone.yml

@ -11,19 +11,7 @@ steps:
- mkdir -p rules
- cd rules && for f in *; do cp "$f" "$${DRONE_REPO_OWNER}-$${DRONE_REPO_NAME}-$f"; done && cd -
- 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
# - ssh -p ${{REMOTE_PORT}} -i /tmp/key $${REMOTE_USER}@$${REMOTE_HOST} killall -s SIGHUP prometheus
environment:
SSH_KEY:
from_secret: ssh_key
REMOTE_HOST:
from_secret: remote_host
REMOTE_PORT:
from_secret: remote_port
REMOTE_USER:
from_secret: remote_user
image_pull_secrets:

Loading…
Cancel
Save