Skip to content

Commit bf256ba

Browse files
authored
Makefile: Add a build-local target for building the OLM related images locally (#2734)
Signed-off-by: timflannagan <[email protected]>
1 parent 63d8e3b commit bf256ba

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Makefile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -279,10 +279,13 @@ uninstall:
279279
- kubectl delete clusterroles.rbac.authorization.k8s.io "system:controller:operator-lifecycle-manager"
280280
- kubectl delete clusterrolebindings.rbac.authorization.k8s.io "olm-operator-binding-openshift-operator-lifecycle-manager"
281281

282-
.PHONY: run-local
283-
run-local: build-linux build-wait build-util-linux
282+
.PHONY: build-local
283+
build-local: build-linux build-wait build-util-linux
284284
rm -rf build
285285
. ./scripts/build_local.sh
286+
287+
.PHONY: run-local
288+
run-local: build-local
286289
mkdir -p build/resources
287290
. ./scripts/package_release.sh 1.0.0 build/resources doc/install/local-values.yaml
288291
. ./scripts/install_local.sh $(LOCAL_NAMESPACE) build/resources

0 commit comments

Comments
 (0)