Skip to content

Commit

Permalink
fixup! fix: Add contribution documenation to project
Browse files Browse the repository at this point in the history
Signed-off-by: Mateus Oliveira <[email protected]>
  • Loading branch information
mateusoliveira43 committed Mar 26, 2024
1 parent 47dc232 commit ffe3800
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,8 @@ OADP_NAMESPACE ?= openshift-adp
.PHONY: deploy-dev
deploy-dev: TEMP:=$(shell mktemp -d)
deploy-dev: NAC_PATH:=$(shell pwd)
deploy-dev: DEV_IMG?=ttl.sh/oadp-nac-controller-$(shell git rev-parse --short HEAD)-$(shell echo $$RANDOM):1h
deploy-dev: AUX_RANDOM:=$(shell echo $$RANDOM)
deploy-dev: DEV_IMG?=ttl.sh/oadp-nac-controller-$(shell git rev-parse --short HEAD)-$(AUX_RANDOM):1h
deploy-dev: ## Build and push development controller image from current branch and deploy development OADP operator using that image
IMG=$(DEV_IMG) make docker-build docker-push
git clone --depth=1 [email protected]:$(OADP_FORK)/oadp-operator.git -b $(OADP_VERSION) $(TEMP)/oadp-operator
Expand All @@ -274,6 +275,7 @@ deploy-dev: ## Build and push development controller image from current branch a
chmod -R 777 $(TEMP) && rm -rf $(TEMP)

.PHONY: undeploy-dev
undeploy-dev: TEMP:=$(shell mktemp -d)
undeploy-dev: ## Undeploy development OADP operator from cluster
git clone --depth=1 [email protected]:$(OADP_FORK)/oadp-operator.git -b $(OADP_VERSION) $(TEMP)/oadp-operator
cd $(TEMP)/oadp-operator && \
Expand Down

0 comments on commit ffe3800

Please sign in to comment.