Skip to content

Instantly share code, notes, and snippets.

@toolmantim
Last active June 17, 2018 11:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save toolmantim/674d5711497ec341c629eade7a6736e8 to your computer and use it in GitHub Desktop.
Save toolmantim/674d5711497ec341c629eade7a6736e8 to your computer and use it in GitHub Desktop.
Checking a prometheus
steps:
- label: "🔍"
command: 'docker run --rm --entrypoint sh -v "$PWD/prometheus.yml:/src/prometheus.yml" prom/prometheus promtool check config /src/prometheus.yml'
steps:
- label: "🔍"
# Equivalent to: docker run --rm --entrypoint sh -v "$PWD/prometheus.yml:/src/prometheus.yml" prom/prometheus promtool check config /src/prometheus.yml
command: promtool config check /src/prometheus.yml
plugins:
docker#e0326e215ffc9902a38e28ff1f23678ac295fb39:
image: prom/prometheus
entrypoint: sh
workdir: /src
mount-buildkite-agent: false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment