-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixup! fix: Add contribution documenation to project
Signed-off-by: Mateus Oliveira <[email protected]>
- Loading branch information
1 parent
47dc232
commit ffe3800
Showing
1 changed file
with
3 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -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 && \ | ||
|