rpmbuilder/rpms/nomad/nfpm.yaml
Ben Vincent 6c0ac37b83
All checks were successful
Build / build (pull_request) Successful in 1m19s
feat: add nomad/1.9.3
- add nomad deployment
2024-12-08 23:25:28 +11:00

39 lines
845 B
YAML

# nfpm.yaml
name: nomad
version: ${PACKAGE_VERSION}
release: ${PACKAGE_RELEASE}
arch: amd64
platform: linux
section: default
priority: extra
description: "A simple and flexible scheduler and orchestrator to deploy and manage containers and non-containerized applications across on-premises and clouds at scale."
maintainer: HashiCorp
homepage: https://www.nomadproject.io/
license: BUSL-1.1
disable_globbing: false
replaces:
- nomad
provides:
- nomad
# Files to include in the package
contents:
- src: /app/nomad
dst: /usr/bin/nomad
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