rpmbuilder/rpms/helmfile/resources/build.sh
Ben Vincent 961ceb0df3
All checks were successful
Build / build-9 (pull_request) Successful in 41s
Build / build-8 (pull_request) Successful in 50s
feat: add helmfile package configuration
Add RPM package configuration for helmfile v1.1.7, a declarative tool for deploying Kubernetes Helm charts.
2025-10-04 12:51:56 +10:00

14 lines
402 B
Bash
Executable File

#!/usr/bin/bash
# Download the required files
curl -L -o /app/helmfile.tar.gz https://github.com/helmfile/helmfile/releases/download/v${PACKAGE_VERSION}/helmfile_${PACKAGE_VERSION}_linux_amd64.tar.gz
# Extract the binary
cd /app
tar -xzf helmfile.tar.gz
# Make the binary executable
chmod +x /app/helmfile
# Build the RPM
nfpm pkg --config /app/resources/nfpm.yaml --target /app/dist --packager rpm