Add debian packages

This commit is contained in:
Christoph Petrausch
2021-02-22 19:22:43 +01:00
parent 24df81ed32
commit 325ca00bce
3 changed files with 38 additions and 1 deletions

View File

@@ -64,6 +64,31 @@ changelog:
exclude:
- '^docs:'
- '^test:'
- '^ci:'
nfpms:
- id: default
vendor: Christoph Petrausch
homepage: https://github.com/hikhvar/mqtt2prometheus
description: This exporter translates from MQTT topics to prometheus metrics.
license: MIT License
formats:
- deb
- rpm
- apk
conflicts:
- prometheus-mqtt-exporter
scripts:
postinstall: systemd/postinstall.sh
contents:
# Simple config file
- src: config.yaml.dist
dst: /etc/mqtt2prometheus/config.yaml
type: config
- src: ./systemd/mqtt2prometheus.service
dst: /etc/systemd/system/mqtt2prometheus.service
type: config
dockers: