6678762b0c
ci/woodpecker/push/deploy-almalinux9 Pipeline was canceled
ci/woodpecker/push/deploy-fedora44 Pipeline was canceled
ci/woodpecker/push/deploy-fedora43 Pipeline was canceled
ci/woodpecker/push/deploy-fedora42 Pipeline was canceled
ci/woodpecker/push/deploy-almalinux8 Pipeline was canceled
The CloudNativePG kubectl plugin is not packaged, so hosts have no supported way to install it. kubectl only completes plugin args via a `kubectl_complete-<plugin>` helper on PATH. Needs unkin/terraform-artifactapi#50 applied for the download to pass the github remote allowlist. - add `kubectl-cnpg` 1.30.1 for almalinux/el9 and fedora 42/43/44 - fetch the tarball via the artifactapi github remote and verify it against upstream checksums - ship `kubectl_complete-cnpg` for `kubectl cnpg` completion - ship bash/zsh/fish completions generated at build time Reviewed-on: #179 Co-authored-by: unkin-agent <unkin-agent@unkin.net> Co-committed-by: unkin-agent <unkin-agent@unkin.net>
55 lines
1.2 KiB
YAML
55 lines
1.2 KiB
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:
|
|
- kubectl-cnpg
|
|
|
|
provides:
|
|
- kubectl-cnpg
|
|
|
|
contents:
|
|
- src: /app/kubectl-cnpg
|
|
dst: /usr/bin/kubectl-cnpg
|
|
file_info:
|
|
mode: 0755
|
|
owner: root
|
|
group: root
|
|
- src: /app/resources/kubectl_complete-cnpg
|
|
dst: /usr/bin/kubectl_complete-cnpg
|
|
file_info:
|
|
mode: 0755
|
|
owner: root
|
|
group: root
|
|
- src: /app/completions/kubectl-cnpg
|
|
dst: /usr/share/bash-completion/completions/kubectl-cnpg
|
|
file_info:
|
|
mode: 0644
|
|
owner: root
|
|
group: root
|
|
- src: /app/completions/_kubectl-cnpg
|
|
dst: /usr/share/zsh/site-functions/_kubectl-cnpg
|
|
file_info:
|
|
mode: 0644
|
|
owner: root
|
|
group: root
|
|
- src: /app/completions/kubectl-cnpg.fish
|
|
dst: /usr/share/fish/vendor_completions.d/kubectl-cnpg.fish
|
|
file_info:
|
|
mode: 0644
|
|
owner: root
|
|
group: root
|