clastix / cluster-api-control-plane-provider-kamaji

The Kamaji Control Plane provider implementation of the Cluster Management API
Apache License 2.0
74 stars 25 forks source link

fix: go version in Dockerfile #95

Closed kvaps closed 4 months ago

kvaps commented 4 months ago

Fix regression introduced by https://github.com/clastix/cluster-api-control-plane-provider-kamaji/pull/93

Without this build fails:

go fmt ./...
go vet ./...
test -s /Users/kvaps/git/cluster-api-control-plane-provider-kamaji/bin/setup-envtest || GOBIN=/Users/kvaps/git/cluster-api-control-plane-provider-kamaji/bin go install sigs.k8s.io/controller
-runtime/tools/setup-envtest@latest
KUBEBUILDER_ASSETS="/Users/kvaps/git/cluster-api-control-plane-provider-kamaji/bin/k8s/1.25.0-darwin-arm64" go test ./... -coverprofile cover.out
        github.com/clastix/cluster-api-control-plane-provider-kamaji            coverage: 0.0% of statements
        github.com/clastix/cluster-api-control-plane-provider-kamaji/api/v1alpha1               coverage: 0.0% of statements
fork/exec /var/folders/j6/3192bzpj19l704yqhbz8hx000000gn/T/go-build1927485611/b708/controllers.test: exec format error
FAIL    github.com/clastix/cluster-api-control-plane-provider-kamaji/controllers        0.002s
FAIL
make: *** [Makefile:110: test] Error 1