Check prometheus config
This commit is contained in:
parent
474e653b6d
commit
806e0e48fd
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue