File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ BUNDLE_DEFAULT_CHANNEL := --default-channel=$(DEFAULT_CHANNEL)
2727endif
2828BUNDLE_METADATA_OPTS ?= $(BUNDLE_CHANNELS ) $(BUNDLE_DEFAULT_CHANNEL )
2929OLM_MANIFESTS = deployments/operator/manifests
30- BUNDLE_DIR = community-operators/operators/intel-device-plugins-operator/${ OPERATOR_VERSION}
30+ BUNDLE_DIR = community-operators/operators/intel-device-plugins-operator/$( OPERATOR_VERSION )
3131
3232TESTDATA_DIR = pkg/topology/testdata
3333
@@ -116,18 +116,18 @@ build: $(cmds)
116116
117117.PHONY : bundle
118118bundle :
119- mkdir -p ${ BUNDLE_DIR} / ${OPERATOR_VERSION}
119+ mkdir -p $( BUNDLE_DIR )
120120 $(OPERATOR_SDK ) generate kustomize manifests -q --input-dir $(OLM_MANIFESTS ) --output-dir $(OLM_MANIFESTS ) --apis-dir pkg/apis
121121 $(KUSTOMIZE ) build $(OLM_MANIFESTS ) | sed " s|intel-deviceplugin-operator:devel|intel-deviceplugin-operator:$( OPERATOR_VERSION) |" | $(OPERATOR_SDK ) generate bundle -q --overwrite --kustomize-dir $(OLM_MANIFESTS ) --version $(OPERATOR_VERSION ) $(BUNDLE_METADATA_OPTS ) --output-dir .
122122 # Remove unneeded resources
123123 rm manifests/* service.yaml
124124 rm manifests/* clusterrole.yaml
125125 # Put generated files in a directory
126- mv manifests metadata tests bundle.Dockerfile ${ BUNDLE_DIR}
127- $(OPERATOR_SDK ) bundle validate ${ BUNDLE_DIR} /
126+ mv manifests metadata tests bundle.Dockerfile $( BUNDLE_DIR )
127+ $(OPERATOR_SDK ) bundle validate $( BUNDLE_DIR ) /
128128
129129bundle-build :
130- docker build -f $(BUNDLE_DIR ) /bundle.Dockerfile -t $(BUNDLE_IMG ) $(BUNDLE_DIR )
130+ $( BUILDER ) build -f $(BUNDLE_DIR ) /bundle.Dockerfile -t $(BUNDLE_IMG ) $(BUNDLE_DIR )
131131
132132clean :
133133 @for cmd in $(cmds ) ; do pwd=$(shell pwd) ; cd cmd/$$ cmd ; $(GO ) clean ; cd $$ pwd ; done
You can’t perform that action at this time.
0 commit comments