rpmbuilder/rpms/openbao-plugin-secret-consul/resources/nfpm.yaml
Ben Vincent 3fa0d39d43
All checks were successful
Build / build-8 (pull_request) Successful in 8s
Build / build-9 (pull_request) Successful in 8s
feat: add pre-commit
- test yamllint
- test ruff linting/formatter
- fix yaml errors
2025-11-30 21:45:55 +11:00

37 lines
747 B
YAML

---
# nfpm.yaml
name: ${PACKAGE_NAME}
version: ${PACKAGE_VERSION}
release: ${PACKAGE_RELEASE}
arch: ${PACKAGE_ARCH}
platform: ${PACKAGE_PLATFORM}
section: default
priority: extra
description: "${PACKAGE_DESCRIPTION}"
maintainer: ${PACKAGE_MAINTAINER}
homepage: ${PACKAGE_HOMEPAGE}
license: ${PACKAGE_LICENSE}
disable_globbing: false
replaces:
- openbao-plugin-secret-consul
provides:
- openbao-plugin-secret-consul
# Files to include in the package
contents:
- src: /app/openbao-plugin-secrets-consul
dst: /opt/openbao-plugins/openbao-plugin-secrets-consul
file_info:
mode: 0755
owner: root
group: root
# Scripts to run during installation/removal
scripts:
preinstall: /app/resources/scripts/preinstall.sh