Compare commits
No commits in common. "3742eabfde3413c81f936f69891463f0838ba763" and "76f79a737123dcfbca4da44e085127ab4ea221d4" have entirely different histories.
3742eabfde
...
76f79a7371
@ -1,19 +0,0 @@
|
|||||||
name: kubeconform
|
|
||||||
github: yannh/kubeconform
|
|
||||||
description: A FAST Kubernetes manifests validator, with support for Custom Resources!
|
|
||||||
arch: amd64
|
|
||||||
platform: linux
|
|
||||||
maintainer: Yann Hamon
|
|
||||||
homepage: https://github.com/yannh/kubeconform
|
|
||||||
license: Apache-2.0
|
|
||||||
builds:
|
|
||||||
- repository:
|
|
||||||
- almalinux/el8
|
|
||||||
image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
|
|
||||||
release: 1
|
|
||||||
version: 0.7.0
|
|
||||||
- repository:
|
|
||||||
- almalinux/el9
|
|
||||||
image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
|
|
||||||
release: 1
|
|
||||||
version: 0.7.0
|
|
||||||
@ -1,14 +0,0 @@
|
|||||||
#!/usr/bin/bash
|
|
||||||
set -e
|
|
||||||
|
|
||||||
# Download kubeconform binary
|
|
||||||
wget -O /app/kubeconform-linux-amd64.tar.gz https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/github/yannh/kubeconform/releases/download/v${PACKAGE_VERSION}/kubeconform-linux-amd64.tar.gz
|
|
||||||
|
|
||||||
# Extract the binary
|
|
||||||
tar -xzf /app/kubeconform-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:
|
|
||||||
- kubeconform
|
|
||||||
|
|
||||||
provides:
|
|
||||||
- kubeconform
|
|
||||||
|
|
||||||
# Files to include in the package
|
|
||||||
contents:
|
|
||||||
- src: /app/kubeconform
|
|
||||||
dst: /usr/bin/kubeconform
|
|
||||||
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