-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add luet-cosign to toolchain packages
Signed-off-by: Itxaka <igarcia@suse.com>
- Loading branch information
Itxaka
committed
Oct 26, 2021
1 parent
356aa6c
commit 7ec2931
Showing
2 changed files
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
requires: | ||
- name: "golang" | ||
category: "build" | ||
version: ">=0" | ||
env: | ||
- PATH=$PATH:/usr/local/go/bin | ||
- GOPATH=/luetbuild/go | ||
- GO111MODULE=on | ||
- CGO_ENABLED=0 | ||
- LDFLAGS="-s -w" | ||
prelude: | ||
{{ template "golang_deps" .}} | ||
{{ $opts:= dict "version" (printf "v%s" .Values.version) "org" ( index .Values.labels "github.owner" ) "repo" ( index .Values.labels "github.repo" ) }} | ||
{{ template "golang_download_package" $opts}} | ||
steps: | ||
- | | ||
PACKAGE_VERSION=${PACKAGE_VERSION%\-*} && \ | ||
cd /luetbuild/go/src/github.com/{{ ( index .Values.labels "github.owner" ) }}/luet-cosign && make build && mv bin/luet-cosign /usr/bin/luet-cosign | ||
includes: | ||
- /usr/bin/luet-cosign |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
name: "luet-cosign" | ||
category: "toolchain" | ||
version: 0.0.5 | ||
labels: | ||
github.repo: "luet-cosign" | ||
github.owner: "rancher-sandbox" | ||
autobump.revdeps: "true" | ||
autobump.revbump_related: "system/cos recovery/cos recovery/cos-img recovery/cos-squash" |