Compare commits
No commits in common. "76f79a737123dcfbca4da44e085127ab4ea221d4" and "b15fc0612fc5c9a97fdc243e7d4afc6b8a59fb09" have entirely different histories.
76f79a7371
...
b15fc0612f
@ -1,19 +0,0 @@
|
|||||||
name: helm
|
|
||||||
github: helm/helm
|
|
||||||
description: The Kubernetes Package Manager
|
|
||||||
arch: amd64
|
|
||||||
platform: linux
|
|
||||||
maintainer: Helm Contributors
|
|
||||||
homepage: https://github.com/helm/helm
|
|
||||||
license: Apache-2.0 license
|
|
||||||
builds:
|
|
||||||
- repository:
|
|
||||||
- almalinux/el8
|
|
||||||
image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
|
|
||||||
release: 1
|
|
||||||
version: 4.0.5
|
|
||||||
- repository:
|
|
||||||
- almalinux/el9
|
|
||||||
image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
|
|
||||||
release: 1
|
|
||||||
version: 4.0.5
|
|
||||||
@ -1,18 +0,0 @@
|
|||||||
#!/usr/bin/bash
|
|
||||||
|
|
||||||
set -e
|
|
||||||
|
|
||||||
# Download the required files
|
|
||||||
curl -L -o /app/helm.tar.gz https://get.helm.sh/helm-v${PACKAGE_VERSION}-linux-amd64.tar.gz
|
|
||||||
|
|
||||||
# Extract the binary
|
|
||||||
cd /app
|
|
||||||
tar -xzf helm.tar.gz
|
|
||||||
|
|
||||||
# Make the binary executable
|
|
||||||
chmod +x /app/linux-amd64/helm
|
|
||||||
|
|
||||||
# Process the nfpm.yaml template with environment variables
|
|
||||||
envsubst < /app/resources/nfpm.yaml > /app/nfpm.yaml
|
|
||||||
|
|
||||||
nfpm pkg --config /app/nfpm.yaml --target /app/dist --packager rpm
|
|
||||||
@ -1,39 +0,0 @@
|
|||||||
---
|
|
||||||
# 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:
|
|
||||||
- helm
|
|
||||||
|
|
||||||
provides:
|
|
||||||
- helm
|
|
||||||
|
|
||||||
# Files to include in the package
|
|
||||||
contents:
|
|
||||||
- src: /app/linux-amd64/helm
|
|
||||||
dst: /usr/bin/helm
|
|
||||||
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
|
|
||||||
Loading…
Reference in New Issue
Block a user