rpmbuilder/rpms/vmalert/resources/nfpm.yaml
Ben Vincent 37e7e7c1b7
All checks were successful
Build / build-9 (pull_request) Successful in 2m45s
Build / build-8 (pull_request) Successful in 2m58s
feat: move vmalert to own package
- move vmalert from vmutils to its own package
2025-07-13 16:53:05 +10:00

38 lines
808 B
YAML

# nfpm.yaml
name: vmalert
version: ${PACKAGE_VERSION}
release: ${PACKAGE_RELEASE}
arch: amd64
platform: linux
section: default
priority: extra
description: "vmalert processes alerts and recording rules from VictoriaMetrics."
maintainer: VictoriaMetrics
homepage: https://github.com/VictoriaMetrics/VictoriaMetrics
license: Apache-2.0 license
disable_globbing: false
replaces:
- vmalert
provides:
- vmalert
# Files to include in the package
contents:
- src: /app/vmalert-prod
dst: /usr/bin/vmalert
file_info:
mode: 0755
owner: root
group: root
# Scripts to run during installation/removal (optional)
# scripts:
# preinstall: ./scripts/preinstall.sh
# postinstall: ./scripts/postinstall.sh
# preremove: ./scripts/preremove.sh
# postremove: ./scripts/postremove.sh