Drop old elemental package

Signed-off-by: Itxaka <itxaka@kairos.io>
This commit is contained in:
Itxaka 2025-02-22 11:19:32 +01:00
parent 83a41f6577
commit 81e5b2093c
No known key found for this signature in database
GPG Key ID: FF934753A9D6AC56
2 changed files with 0 additions and 28 deletions

View File

@ -1,20 +0,0 @@
requires:
- name: "toolchain-go"
category: "development"
version: ">=0"
env:
- PATH=$PATH:/usr/local/go/bin
- CGO_ENABLED=0
- REPO={{( index .Values.labels "github.repo" )}}
prelude:
- PACKAGE_VERSION=${PACKAGE_VERSION%\+*} && git clone --branch v"${PACKAGE_VERSION}" https://github.com/{{( index .Values.labels "github.owner" )}}/$REPO
steps:
- |
cd $REPO && GIT_COMMIT=$(git rev-parse HEAD) && \
go build -o bin/{{.Values.bin_name}} -ldflags "-s -w -X 'github.com/rancher/elemental-cli/internal/version.version=v${PACKAGE_VERSION}' -X 'github.com/rancher/elemental-cli/internal/version.gitCommit=${GIT_COMMIT}'" && \
mv bin/{{.Values.bin_name}} /usr/bin/{{.Values.bin_name}}
includes:
- /usr/bin/{{.Values.bin_name}}

View File

@ -1,8 +0,0 @@
name: "elemental-cli"
category: "system"
version: "0.3.1"
bin_name: "elemental"
fips: false
labels:
github.repo: "elemental-cli"
github.owner: "kairos-io"