FKAS go.mod is importing an actual CAPM3 release #2157
Labels
kind/bug
Categorizes issue or PR as related to a bug.
triage/accepted
Indicates an issue is ready to be actively worked on.
What steps did you take and what happened:
https://github.com/metal3-io/cluster-api-provider-metal3/blob/main/hack/fake-apiserver/go.mod#L7
What did you expect to happen:
Should have used v0.0.0, and added a replace line to refer to ./../../api
Anything else you would like to add:
This happens because our image build workflow uses the absolute context, hence we cannot build with anything outside of the
hack/fake-apiserver
directory.This could be solved by mounting the
api/
to the build container, but that requires enabling buildkit. We might want to do that anyway, as docker build will go away soon./kind bug
The text was updated successfully, but these errors were encountered: