Skip to content

Commit

Permalink
re-build old 2.4.x versions for patch release (#772)
Browse files Browse the repository at this point in the history
* re-build old 2.4.x versions for patch release

* fix boringcrypto test
  • Loading branch information
mudler authored Mar 28, 2024
1 parent 1ef0248 commit e4e1461
Show file tree
Hide file tree
Showing 4 changed files with 52 additions and 4 deletions.
7 changes: 3 additions & 4 deletions packages/system/kcrypt-challenger/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,7 @@ requires:
version: ">=0"
{{end}}
prelude:
- apt-get update && apt-get install -y gcc
{{if not (or (eq .Values.category "fips") (eq .Values.category "fips-static"))}}
- apt-get install -y libssl-dev
{{ end }}
- apt-get update && apt-get install -y gcc libssl-dev
- 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
{{ if ne .Values.live "yes" }}
Expand Down Expand Up @@ -43,7 +40,9 @@ steps:
{{if or (eq .Values.category "fips") (eq .Values.category "fips-static")}}
{{ if .Values.arch }}
{{ 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"
{{ end }}
{{end}}
{{end}}
{{end}}
Expand Down
24 changes: 24 additions & 0 deletions packages/system/kcrypt-challenger/collection.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,30 @@ packages:
- 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: 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
#binary_name: kcrypt-discovery-challenger
#ldflags: "-linkmode external -extldflags -static"
Expand Down
2 changes: 2 additions & 0 deletions packages/system/kcrypt/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@ steps:
{{if or (eq .Values.category "fips") (eq .Values.category "fips-static")}}
{{ if .Values.arch }}
{{ if eq .Values.arch "amd64" }}
{{ if ne .Values.version "0.7.0+cve1" }}
- go tool nm /usr/bin/{{.Values.name}} | grep -i "FIPS_mode"
{{ end }}
{{end}}
{{end}}
{{end}}
Expand Down
23 changes: 23 additions & 0 deletions packages/system/kcrypt/collection.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,29 @@ packages:
- https://github.com/kairos-io/kcrypt
license: "Apache License v2"
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
#ldflags: "-linkmode external -extldflags -static"
#category: fips-static
Expand Down

0 comments on commit e4e1461

Please sign in to comment.