mirror of
https://github.com/kairos-io/packages.git
synced 2025-08-19 16:38:06 +00:00
Add kubesplit
This commit is contained in:
parent
d4da1221af
commit
08122fc7fa
16
packages/utils/kubesplit/build.yaml
Normal file
16
packages/utils/kubesplit/build.yaml
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
requires:
|
||||||
|
- name: "toolchain-go"
|
||||||
|
category: "development"
|
||||||
|
version: ">=0"
|
||||||
|
prelude:
|
||||||
|
- mkdir go/src/github.com/${GITHUB_ORG}/ -p
|
||||||
|
- cd go/src/github.com/${GITHUB_ORG}/ && git clone https://github.com/${GITHUB_ORG}/{{ .Values.name }}.git
|
||||||
|
env:
|
||||||
|
- GOPATH=/luetbuild/go/
|
||||||
|
- GITHUB_ORG={{ ( index .Values.labels "github.owner" ) }}
|
||||||
|
- CGO_ENABLED=0
|
||||||
|
steps:
|
||||||
|
- cd go/src/github.com/${GITHUB_ORG}/{{ .Values.name }}/ && git checkout v"${PACKAGE_VERSION}" -b build && go build -o {{.Values.name}} && mv {{ .Values.name }} /usr/bin/{{ .Values.name }}
|
||||||
|
- chmod +x /usr/bin/{{ .Values.name }}
|
||||||
|
includes:
|
||||||
|
- /usr/bin/{{.Values.name}}
|
10
packages/utils/kubesplit/definition.yaml
Normal file
10
packages/utils/kubesplit/definition.yaml
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
name: kubesplit
|
||||||
|
category: utils
|
||||||
|
version: "0.2.0"
|
||||||
|
description: "A opinionated simple tool to split big YAML Kubernetes files into chunks to help building helm charts"
|
||||||
|
labels:
|
||||||
|
github.repo: "kubesplit"
|
||||||
|
github.owner: "spectrocloud"
|
||||||
|
uri:
|
||||||
|
- https://github.com/spectrocloud/kubesplit
|
||||||
|
license: "Apache 2.0 License"
|
Loading…
Reference in New Issue
Block a user