mirror of
https://github.com/kairos-io/packages.git
synced 2025-08-23 10:12:19 +00:00
Add operator-sdk
This commit is contained in:
parent
22739e9033
commit
d4da1221af
15
packages/utils/operator-sdk/build.yaml
Normal file
15
packages/utils/operator-sdk/build.yaml
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
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 && make build && mv build/* /usr/bin/
|
||||||
|
includes:
|
||||||
|
- usr/bin/.*|usr/bin
|
10
packages/utils/operator-sdk/definition.yaml
Normal file
10
packages/utils/operator-sdk/definition.yaml
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
name: operator-sdk
|
||||||
|
category: utils
|
||||||
|
version: "1.23.0"
|
||||||
|
description: " SDK for building Kubernetes applications. Provides high level APIs, useful abstractions, and project scaffolding. "
|
||||||
|
labels:
|
||||||
|
github.repo: "operator-sdk"
|
||||||
|
github.owner: "operator-framework"
|
||||||
|
uri:
|
||||||
|
- https://github.com/operator-framework/operator-sdk
|
||||||
|
license: "Apache 2.0 License"
|
Loading…
Reference in New Issue
Block a user