rpmbuilder/rpms/nomad-autoscaler/nfpm.yaml
Ben Vincent 263fb689a8
All checks were successful
Build / build-9 (pull_request) Successful in 1m0s
Build / build-8 (pull_request) Successful in 1m28s
feat: add consul-cni and nomad-autoscaler
2025-06-13 23:11:37 +10:00

36 lines
954 B
YAML

# nfpm.yaml
name: nomad-autoscaler
version: ${PACKAGE_VERSION}
release: ${PACKAGE_RELEASE}
arch: amd64
platform: linux
section: default
priority: extra
description: "The Nomad Autoscaler is an autoscaling daemon for Nomad, architectured around plug-ins to allow for easy extensibility in terms of supported metrics sources, scaling targets and scaling algorithms."
maintainer: Hashicorp
homepage: https://github.com/hashicorp/nomad-autoscaler
license: Mozilla Public License, version 2.0
disable_globbing: false
replaces:
- nomad-autoscaler
# Files to include in the package
contents:
- src: /app/nomad-autoscaler
dst: /usr/bin/nomad-autoscaler
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