- Migrate from legacy shell-based build system to modern Python tooling - Update all metadata.yaml files to new schema with per-distro builds - Standardise build scripts with curl -L, envsubst, and error handling - Convert nfpm.yaml templates to use environment variable substitution - Update Dockerfile to accept all package metadata as build arguments - Modernise Makefile to use new Python build tool commands - Update CI workflow to use tools/build instead of make
38 lines
790 B
YAML
38 lines
790 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:
|
|
- act_runner
|
|
|
|
provides:
|
|
- act_runner
|
|
|
|
# Files to include in the package
|
|
contents:
|
|
- src: /app/act_runner-linux-amd64
|
|
dst: /usr/bin/act_runner
|
|
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
|