mirror of
https://github.com/kairos-io/packages.git
synced 2025-08-31 15:11:43 +00:00
Add elemental-cli package
This commit is contained in:
22
packages/system/elemental/build.yaml
Normal file
22
packages/system/elemental/build.yaml
Normal file
@@ -0,0 +1,22 @@
|
||||
requires:
|
||||
- name: "toolchain-go"
|
||||
category: "development"
|
||||
version: ">=0"
|
||||
env:
|
||||
- PATH=$PATH:/usr/local/go/bin
|
||||
- CGO_ENABLED=0
|
||||
- PACKAGE_VERSION={{( index .Values.labels "git.hash" )}}
|
||||
- ORG={{( index .Values.labels "github.owner" )}}
|
||||
- REPO={{( index .Values.labels "github.repo" )}}
|
||||
|
||||
prelude:
|
||||
- |
|
||||
git clone https://github.com/$ORG/$REPO && cd $REPO && git checkout ${PACKAGE_VERSION}
|
||||
|
||||
steps:
|
||||
- |
|
||||
cd $REPO && make build && \
|
||||
mv bin/{{.Values.bin_name}} /usr/bin/{{.Values.bin_name}}
|
||||
|
||||
includes:
|
||||
- /usr/bin/{{.Values.bin_name}}
|
12
packages/system/elemental/definition.yaml
Normal file
12
packages/system/elemental/definition.yaml
Normal file
@@ -0,0 +1,12 @@
|
||||
name: "elemental-cli"
|
||||
category: "system"
|
||||
version: "0.20220808"
|
||||
bin_name: "elemental"
|
||||
fips: false
|
||||
labels:
|
||||
github.repo: "elemental-cli"
|
||||
github.owner: "rancher"
|
||||
autobump.revdeps: "true"
|
||||
autobump.strategy: "git_hash"
|
||||
autobump.git.branch: "main"
|
||||
git.hash: "8a7e7a1098ca9e527a4a075240092b4a4d56b390"
|
Reference in New Issue
Block a user