Skip to content

Commit 0035180

Browse files
committed
troubleshooting go environment in CI system
Signed-off-by: Joe Lanford <[email protected]>
1 parent 9231a28 commit 0035180

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Makefile

+2-3
Original file line numberDiff line numberDiff line change
@@ -44,14 +44,13 @@ all: test build
4444
test: clean cover.out
4545

4646
unit: kubebuilder
47+
go version
48+
cat go.mod
4749
KUBEBUILDER_ASSETS=$(KUBEBUILDER_ASSETS) go test $(MOD_FLAGS) $(SPECIFIC_UNIT_TEST) -tags "json1" -v -race -count=1 ./pkg/...
4850

4951
# Ensure kubebuilder is installed before continuing
5052
KUBEBUILDER_ASSETS_ERR := not detected in $(KUBEBUILDER_ASSETS), to override the assets path set the KUBEBUILDER_ASSETS environment variable, for install instructions see https://book.kubebuilder.io/quick-start.html
5153
kubebuilder:
52-
ifeq (, $(wildcard $(KUBEBUILDER_ASSETS)/kubebuilder))
53-
$(error kubebuilder $(KUBEBUILDER_ASSETS_ERR))
54-
endif
5554
ifeq (, $(wildcard $(KUBEBUILDER_ASSETS)/etcd))
5655
$(error etcd $(KUBEBUILDER_ASSETS_ERR))
5756
endif

0 commit comments

Comments
 (0)