All checks were successful
Build / build (pull_request) Successful in 1m7s
- build first consul rpm
39 lines
857 B
YAML
39 lines
857 B
YAML
# nfpm.yaml
|
|
|
|
name: consul
|
|
version: ${PACKAGE_VERSION}
|
|
release: ${PACKAGE_RELEASE}
|
|
arch: amd64
|
|
platform: linux
|
|
section: default
|
|
priority: extra
|
|
description: "Consul is a distributed, highly available, and data center aware solution to connect and configure applications across dynamic, distributed infrastructure."
|
|
|
|
maintainer: HashiCorp
|
|
homepage: https://github.com/hashicorp/consul
|
|
license: BUSL-1.1
|
|
|
|
disable_globbing: false
|
|
|
|
replaces:
|
|
- consul
|
|
|
|
provides:
|
|
- consul
|
|
|
|
# Files to include in the package
|
|
contents:
|
|
- src: /app/consul
|
|
dst: /usr/bin/consul
|
|
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
|