Skip to content
This repository has been archived by the owner on Nov 15, 2021. It is now read-only.

lukibahr/prom-validator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

prom-validator

Build Status

docker container to validate a prometheus config

Purpose

Built this container to supply a unit test step in a continuous integration pipeline where prometheus configs will be deployed via a pipeline.

Usage

Mount your configfiles to the /workdir directory and run:

/usr/bin/docker run -it -e PROM_VERSION=2.8.0 -v ./config:/workdir lukasbahr/prom-validator:master check config prometheus.yml

CI/CD

git tag <PROM_VERSION> && git push --tags

Open ToDos

  • add ability to validate prometheus.yml files within a Kubernetes configmap.

Contrib