Skip to content
This repository has been archived by the owner on Mar 14, 2024. It is now read-only.

[KIE-830] Make Kogito Operator build reproducible #1536

Closed
wants to merge 6 commits into from

Conversation

ricardozanini
Copy link
Member

In this PR, we did:

  1. Rename the module to apache/kie-incubator-kogito-operator to follow golang modules conventions.
  2. Upgrade the build to golang 1.21
  3. Make the build command to trimpaths, remove buildids, and force OS and Arch to be able to make the binaries reproducible.

TODO:

  • - I still need to validate with diffoci to verify if it's producing semantically equal images.

@ricardozanini
Copy link
Member Author

@ricardozanini ricardozanini self-assigned this Jan 24, 2024
@ricardozanini
Copy link
Member Author

I might have to upgrade codegen for this go version:

./hack/client-gen.sh
go: module k8s.io/code-generator: not a known dependency
Failed to add k8s.io/code-generator to mod
make: *** [Makefile:130: generate] Error 1

Signed-off-by: Ricardo Zanini <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant