aports/config/prometheus/APKBUILD

26 lines
518 B
Plaintext

# Contributor: Alex Denes <caskd@redxen.eu>
# Maintainer: Alex Denes <caskd@redxen.eu>
. ../APKBUILD-config.template
pkgver=2024.05.27.01
pkgrel=0
source="
config.yaml
"
options=""
checkdepends="prometheus"
check() {
promtool check config "$builddir"/config.yaml
}
package() {
rx_install config.yaml
install -dm700 "$(rx_cpkgdir)"/var/lib/prometheus
}
sha512sums="
a100ac5e45ab945f7baf9079be6d501a0cdaf7d1e90338cbcb26f3a30d75c6b15ced546effd7418a62eefce40e483c8f5bd252d7c9ee6c3afc72601acb8da05d config.yaml
"