Fix immucore fips package and bump it (#530)

This commit is contained in:
Itxaka 2023-10-27 14:09:28 +02:00 committed by GitHub
parent 80ccd1f6fb
commit bdd67edf23
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -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}}

View File

@ -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"