Commit Graph

4 Commits

Author SHA1 Message Date
Andy Pitcher 495f7d214e validate: improve golangci-lint provisioning and remove validate-go script 2025-03-17 17:55:44 +01:00
Andy Pitcher 3ec5cfeb09 make: replace golint binary with golangci-lint 2025-03-14 11:13:10 +01:00
Paulo Gomes e0ee7ddfc3
build: Enable auto-bump for kind, kube-bench and sonobuoy
Uses the latest changes from https://github.com/rancher/renovate-config/pull/243 to enable
auto bump for Kind, Sonobuoy and kube-bench. Kubectl will be handled as a separated PR, as it cannot
be sourced from github releases.

Signed-off-by: Paulo Gomes <paulo.gomes@suse.com>
2024-03-18 21:11:41 +00:00
Paulo Gomes d171603407
build: Refactor Makefile logic
The multi-stage dockerfile is now used to build the project binary, instead
of copying it from the host. This enforces that the binary is always rebuilt
whenever there is a change that invalidates the previous version - from a
container image perspective.

The makefile was restructured so that only the most important and relevant code
is present. In order to enable code reuse, build related logic was extracted to
hack/make/build.mk. All code related to installing tools is now placed in
hack/make/tools.mk.

Signed-off-by: Paulo Gomes <paulo.gomes@suse.com>
2024-01-12 17:47:31 +00:00