Check prometheus config

This commit is contained in:
Alex D. 2022-05-07 10:13:46 +00:00
parent 474e653b6d
commit 806e0e48fd
Signed by: caskd
GPG Key ID: F92BA85F61F4C173
1 changed files with 7 additions and 1 deletions

View File

@ -4,10 +4,16 @@
. ../APKBUILD-config.template
pkgver=2022.03.15.01
pkgrel=0
pkgrel=1
source="
config.yaml
"
options=""
checkdepends="prometheus"
check() {
promtool check config "$builddir"/config.yaml
}
package() {
rx_install config.yaml