File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -40,16 +40,18 @@ tasks:
4040 NESTED_MODULES : api
4141 API_DIRS : ' {{.ROOT_DIR}}/api/v1beta1/...'
4242 MANIFEST_OUT : ' {{.ROOT_DIR}}/api/crds/manifests'
43- CODE_DIRS : ' {{.ROOT_DIR}}/cmd/... {{.ROOT_DIR}}/internal/... {{.ROOT_DIR}}/test/... {{.ROOT_DIR}}/api/v1beta1/...'
43+ CODE_DIRS : ' {{.ROOT_DIR}}/... {{.ROOT_DIR}}/ cmd/... {{.ROOT_DIR}}/internal/... {{.ROOT_DIR}}/test/... {{.ROOT_DIR}}/api/v1beta1/...'
4444 COMPONENTS : ' control-plane-operator'
4545 REPO_URL : ' https://github.com/openmcp-project/control-plane-operator'
4646 GENERATE_DOCS_INDEX : " true"
4747 ENVTEST_REQUIRED : " true"
4848 ENVTEST_K8S_VERSION : " 1.30.0"
49+ KUBEBUILDER_ASSETS :
50+ sh : " {{.ROOT_DIR}}/bin/setup-envtest use {{.ENVTEST_K8S_VERSION}} -p path"
4951 deps :
5052 - test-envtest-dep
5153 cmds :
52- - ' PROJECT_ROOT="{{.ROOT_DIR2 }}" NESTED_MODULES="{{.NESTED_MODULES}}" ENVTEST_K8S_VERSION="{{.ENVTEST_K8S_VERSION}}" {{.TASKFILE_DIR2}}/run-tests.sh {{.CODE_DIRS}}'
54+ - ' PROJECT_ROOT="{{.ROOT_DIR }}" NESTED_MODULES="{{.NESTED_MODULES}}" ENVTEST_K8S_VERSION="{{.ENVTEST_K8S_VERSION}}" KUBEBUILDER_ASSETS="{{.KUBEBUILDER_ASSETS }}" {{.TASKFILE_DIR2}}/run-tests.sh {{.CODE_DIRS}}'
5355
5456 test-envtest-dep :
5557 desc : " Install the envtest dependency, if marked as required."
You can’t perform that action at this time.
0 commit comments