Compare commits
No commits in common. "a117caae27c28ec75355048c6578150281984108" and "4976f0e43bd2424bdda2f118e84ed48e02d1fb15" have entirely different histories.
a117caae27
...
4976f0e43b
@ -1,19 +0,0 @@
|
|||||||
---
|
|
||||||
name: kustomize
|
|
||||||
github: kubernetes-sigs/kustomize
|
|
||||||
description: Kubernetes native configuration management
|
|
||||||
arch: amd64
|
|
||||||
platform: linux
|
|
||||||
maintainer: kubernetes-sigs
|
|
||||||
homepage: https://github.com/kubernetes-sigs/kustomize
|
|
||||||
license: Apache-2.0
|
|
||||||
github_release_pattern: ^kustomize/v.*
|
|
||||||
builds:
|
|
||||||
- repository: [almalinux/el8]
|
|
||||||
image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
|
|
||||||
release: '1'
|
|
||||||
version: 5.8.1
|
|
||||||
- repository: [almalinux/el9]
|
|
||||||
image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
|
|
||||||
release: '1'
|
|
||||||
version: 5.8.1
|
|
||||||
@ -1,14 +0,0 @@
|
|||||||
#!/usr/bin/bash
|
|
||||||
set -e
|
|
||||||
|
|
||||||
# Download kustomize binary
|
|
||||||
wget -O /app/kustomize_v${PACKAGE_VERSION}_linux_amd64.tar.gz https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/github/kubernetes-sigs/kustomize/releases/download/kustomize%2Fv${PACKAGE_VERSION}/kustomize_v${PACKAGE_VERSION}_linux_amd64.tar.gz
|
|
||||||
|
|
||||||
# Extract the binary
|
|
||||||
tar -xzf /app/kustomize_v${PACKAGE_VERSION}_linux_amd64.tar.gz -C /app/
|
|
||||||
|
|
||||||
# Process nfpm.yaml with envsubst
|
|
||||||
envsubst < /app/resources/nfpm.yaml > /app/nfpm.yaml
|
|
||||||
|
|
||||||
# Build the RPM
|
|
||||||
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:
|
|
||||||
- kustomize
|
|
||||||
|
|
||||||
provides:
|
|
||||||
- kustomize
|
|
||||||
|
|
||||||
# Files to include in the package
|
|
||||||
contents:
|
|
||||||
- src: /app/kustomize
|
|
||||||
dst: /usr/bin/kustomize
|
|
||||||
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