re-build old 2.4.x versions for patch release (#772)

* re-build old 2.4.x versions for patch release

* fix boringcrypto test
This commit is contained in:
Ettore Di Giacinto 2024-03-28 11:43:20 +01:00 committed by GitHub
parent 1ef0248cb3
commit e4e1461670
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 52 additions and 4 deletions

View File

@ -10,10 +10,7 @@ requires:
version: ">=0" version: ">=0"
{{end}} {{end}}
prelude: prelude:
- apt-get update && apt-get install -y gcc - apt-get update && apt-get install -y gcc libssl-dev
{{if not (or (eq .Values.category "fips") (eq .Values.category "fips-static"))}}
- apt-get install -y libssl-dev
{{ end }}
- mkdir go/src/github.com/${GITHUB_ORG}/ -p - mkdir go/src/github.com/${GITHUB_ORG}/ -p
- cd go/src/github.com/${GITHUB_ORG}/ && git clone https://github.com/${GITHUB_ORG}/{{ .Values.name }}.git - cd go/src/github.com/${GITHUB_ORG}/ && git clone https://github.com/${GITHUB_ORG}/{{ .Values.name }}.git
{{ if ne .Values.live "yes" }} {{ if ne .Values.live "yes" }}
@ -43,7 +40,9 @@ steps:
{{if or (eq .Values.category "fips") (eq .Values.category "fips-static")}} {{if or (eq .Values.category "fips") (eq .Values.category "fips-static")}}
{{ if .Values.arch }} {{ if .Values.arch }}
{{ if eq .Values.arch "amd64" }} {{ if eq .Values.arch "amd64" }}
{{ if ne .Values.version "0.6.0+cve1" }}
- go tool nm /system/discovery/{{ .Values.binary_name }} | grep -i "FIPS_mode" - go tool nm /system/discovery/{{ .Values.binary_name }} | grep -i "FIPS_mode"
{{ end }}
{{end}} {{end}}
{{end}} {{end}}
{{end}} {{end}}

View File

@ -23,6 +23,30 @@ packages:
- https://github.com/kairos-io/kcrypt-challenger - https://github.com/kairos-io/kcrypt-challenger
license: "Apache License v2" license: "Apache License v2"
description: "Cloud native guardian for persistent data in the edge" description: "Cloud native guardian for persistent data in the edge"
- name: kcrypt-challenger
binary_name: kcrypt-discovery-challenger
category: system
live: "yes"
version: "0.6.0+cve1"
labels:
github.repo: "kcrypt-challenger"
github.owner: "kairos-io"
uri:
- https://github.com/kairos-io/kcrypt-challenger
license: "Apache License v2"
description: "Cloud native guardian for persistent data in the edge"
- name: kcrypt-challenger
binary_name: kcrypt-discovery-challenger
category: fips
live: "yes"
version: "0.6.0+cve1"
labels:
github.repo: "kcrypt-challenger"
github.owner: "kairos-io"
uri:
- https://github.com/kairos-io/kcrypt-challenger
license: "Apache License v2"
description: "Cloud native guardian for persistent data in the edge"
#- name: kcrypt-challenger #- name: kcrypt-challenger
#binary_name: kcrypt-discovery-challenger #binary_name: kcrypt-discovery-challenger
#ldflags: "-linkmode external -extldflags -static" #ldflags: "-linkmode external -extldflags -static"

View File

@ -35,7 +35,9 @@ steps:
{{if or (eq .Values.category "fips") (eq .Values.category "fips-static")}} {{if or (eq .Values.category "fips") (eq .Values.category "fips-static")}}
{{ if .Values.arch }} {{ if .Values.arch }}
{{ if eq .Values.arch "amd64" }} {{ if eq .Values.arch "amd64" }}
{{ if ne .Values.version "0.7.0+cve1" }}
- go tool nm /usr/bin/{{.Values.name}} | grep -i "FIPS_mode" - go tool nm /usr/bin/{{.Values.name}} | grep -i "FIPS_mode"
{{ end }}
{{end}} {{end}}
{{end}} {{end}}
{{end}} {{end}}

View File

@ -21,6 +21,29 @@ packages:
- https://github.com/kairos-io/kcrypt - https://github.com/kairos-io/kcrypt
license: "Apache License v2" license: "Apache License v2"
description: "Cloud native guardian for persistent data in the edge" description: "Cloud native guardian for persistent data in the edge"
- name: kcrypt
category: system
version: "0.7.0+cve1"
labels:
github.repo: "kcrypt"
autobump.revdeps: "true"
github.owner: "kairos-io"
uri:
- https://github.com/kairos-io/kcrypt
license: "Apache License v2"
description: "Cloud native guardian for persistent data in the edge"
- name: kcrypt
category: fips
version: "0.7.0+cve1"
labels:
github.repo: "kcrypt"
autobump.revdeps: "true"
github.owner: "kairos-io"
uri:
- https://github.com/kairos-io/kcrypt
license: "Apache License v2"
description: "Cloud native guardian for persistent data in the edge"
#- name: kcrypt #- name: kcrypt
#ldflags: "-linkmode external -extldflags -static" #ldflags: "-linkmode external -extldflags -static"
#category: fips-static #category: fips-static