File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ MUTABLE_TAG ?= latest
5
5
IMAGE = $(REGISTRY ) machine-api-operator
6
6
BUILD_IMAGE ?= registry.ci.openshift.org/openshift/release:golang-1.22
7
7
GOLANGCI_LINT = go run ./vendor/github.com/golangci/golangci-lint/cmd/golangci-lint
8
+ ENVTEST_K8S_VERSION = 1.31.1
8
9
9
10
# Enable go modules and vendoring
10
11
# https://github.com/golang/go/wiki/Modules#how-to-install-and-activate-module-support
55
56
PROJECT_DIR := $(shell dirname $(abspath $(lastword $(MAKEFILE_LIST ) ) ) )
56
57
ENVTEST = go run ${PROJECT_DIR}/vendor/sigs.k8s.io/controller-runtime/tools/setup-envtest
57
58
# ENVTEST_K8S_VERSION refers to the version of kubebuilder assets to be downloaded by envtest binary.
58
- ENVTEST_K8S_VERSION = 1.29.1
59
59
60
60
.PHONY : vendor
61
61
vendor :
@@ -103,8 +103,7 @@ test-sec:
103
103
test : unit
104
104
105
105
unit :
106
- # GCS bucket support will be going away, but explicitly enable it to use our own bucket.
107
- KUBEBUILDER_ASSETS=" $( shell $( ENVTEST) use $( ENVTEST_K8S_VERSION) --use-deprecated-gcs=true -p path --bin-dir $( PROJECT_DIR) /bin --remote-bucket openshift-kubebuilder-tools) " ./hack/ci-test.sh
106
+ KUBEBUILDER_ASSETS=" $( shell $( ENVTEST) use $( ENVTEST_K8S_VERSION) -p path --bin-dir $( PROJECT_DIR) /bin --index https://raw.githubusercontent.com/openshift/api/master/envtest-releases.yaml) " ./hack/ci-test.sh
108
107
109
108
.PHONY : image
110
109
image : # # Build docker image
You can’t perform that action at this time.
0 commit comments