mirror of
https://github.com/kairos-io/packages.git
synced 2025-08-06 02:25:04 +00:00
Fix immucore fips package and bump it (#530)
This commit is contained in:
parent
80ccd1f6fb
commit
bdd67edf23
@ -21,10 +21,10 @@ env:
|
|||||||
{{if or (eq .Values.category "fips") (eq .Values.category "fips-static")}}
|
{{if or (eq .Values.category "fips") (eq .Values.category "fips-static")}}
|
||||||
- CGO_ENABLED=1
|
- CGO_ENABLED=1
|
||||||
- GOEXPERIMENT=boringcrypto
|
- GOEXPERIMENT=boringcrypto
|
||||||
- LDFLAGS="-w -X github.com/kairos-io/immucore/internal/version.version=v${PACKAGE_VERSION} {{with .Values.ldflags}}{{.}}{{end}}"
|
- LDFLAGS="-w -X github.com/kairos-io/immucore/internal/version.version=v${PACKAGE_VERSION}"
|
||||||
{{else}}
|
{{else}}
|
||||||
- CGO_ENABLED=0
|
- CGO_ENABLED=0
|
||||||
- LDFLAGS="-s -w -X github.com/kairos-io/immucore/internal/version.version=v${PACKAGE_VERSION} {{with .Values.ldflags}}{{.}}{{end}}"
|
- LDFLAGS="-s -w -X github.com/kairos-io/immucore/internal/version.version=v${PACKAGE_VERSION}"
|
||||||
{{end}}
|
{{end}}
|
||||||
steps:
|
steps:
|
||||||
- |
|
- |
|
||||||
@ -32,7 +32,7 @@ steps:
|
|||||||
cd go/src/github.com/${GITHUB_ORG}/{{ .Values.name }}/ && git checkout v"${PACKAGE_VERSION}" -b build && go build -o {{ .Values.name }} -ldflags="${LDFLAGS}" && mv {{.Values.name}} /usr/bin/
|
cd go/src/github.com/${GITHUB_ORG}/{{ .Values.name }}/ && git checkout v"${PACKAGE_VERSION}" -b build && go build -o {{ .Values.name }} -ldflags="${LDFLAGS}" && mv {{.Values.name}} /usr/bin/
|
||||||
- chmod +x /usr/bin/{{.Values.name}}
|
- chmod +x /usr/bin/{{.Values.name}}
|
||||||
{{if or (eq .Values.category "fips") (eq .Values.category "fips-static")}}
|
{{if or (eq .Values.category "fips") (eq .Values.category "fips-static")}}
|
||||||
- /usr/bin/{{.Values.name}} version 2>&1 >/dev/null | grep -i boringcrypto
|
- /usr/bin/{{.Values.name}} version | grep -i boringcrypto
|
||||||
{{end}}
|
{{end}}
|
||||||
includes:
|
includes:
|
||||||
- /usr/bin/{{.Values.name}}
|
- /usr/bin/{{.Values.name}}
|
||||||
|
@ -12,7 +12,7 @@ packages:
|
|||||||
description: "The Kairos immutability management interface"
|
description: "The Kairos immutability management interface"
|
||||||
- name: "immucore"
|
- name: "immucore"
|
||||||
category: "fips"
|
category: "fips"
|
||||||
version: "0.1.5"
|
version: "0.1.6"
|
||||||
labels:
|
labels:
|
||||||
github.repo: "immucore"
|
github.repo: "immucore"
|
||||||
autobump.revdeps: "true"
|
autobump.revdeps: "true"
|
||||||
|
Loading…
Reference in New Issue
Block a user