@@ -19,7 +19,7 @@ export SKIP_IMG_BUILD ?= false
1919export SKIP_PORCHSERVER_BUILD ?= false
2020export SKIP_CONTROLLER_BUILD ?= false
2121export SKIP_LOCAL_GIT ?= false
22- export IMAGE_TAG ?= test
22+
2323
2424# Porch cache type: CR (Custom Resource) || DB (Database)
2525export PORCH_CACHE_TYPE ?= CR
@@ -43,52 +43,44 @@ endif
4343
4444.PHONY : run-in-kind
4545run-in-kind : IMAGE_REPO=porch-kind# # Build and deploy porch into a kind cluster
46- run-in-kind : IMAGE_TAG?=test
4746run-in-kind : PORCH_CACHE_TYPE=CR
4847run-in-kind : load-images-to-kind deployment-config deploy-current-config
4948
5049.PHONY : run-in-kind-db-cache
5150run-in-kind-db-cache : IMAGE_REPO=porch-kind# # Build and deploy porch into a kind cluster with postgres backend
52- run-in-kind-db-cache : IMAGE_TAG?=test
5351run-in-kind-db-cache : PORCH_CACHE_TYPE=DB
5452run-in-kind-db-cache : load-images-to-kind deployment-config deploy-current-config
5553
5654.PHONY : run-in-kind-no-git
5755run-in-kind-no-git : IMAGE_REPO=porch-kind# # Build and deploy porch into a kind cluster without mock git server
58- run-in-kind-no-git : IMAGE_TAG?=test
5956run-in-kind-no-git : SKIP_LOCAL_GIT=true
6057run-in-kind-no-git : PORCH_CACHE_TYPE=CR
6158run-in-kind-no-git : load-images-to-kind deployment-config deploy-current-config
6259
6360.PHONY : run-in-kind-db-cache-no-git
6461run-in-kind-db-cache-no-git : IMAGE_REPO=porch-kind# # Build and deploy porch into a kind cluster with postgres backend without mock git server
65- run-in-kind-db-cache-no-git : IMAGE_TAG?=test
6662run-in-kind-db-cache-no-git : SKIP_LOCAL_GIT=true
6763run-in-kind-db-cache-no-git : PORCH_CACHE_TYPE=DB
6864run-in-kind-db-cache-no-git : load-images-to-kind deployment-config deploy-current-config
6965
7066.PHONY : run-in-kind-no-server
7167run-in-kind-no-server : IMAGE_REPO=porch-kind# # Build and deploy porch without the porch-server into a kind cluster
72- run-in-kind-no-server : IMAGE_TAG?=test
7368run-in-kind-no-server : SKIP_PORCHSERVER_BUILD=true
7469run-in-kind-no-server : PORCH_CACHE_TYPE=CR
7570run-in-kind-no-server : load-images-to-kind deployment-config-no-server deploy-current-config
7671
7772.PHONY : run-in-kind-db-cache-no-server
7873run-in-kind-db-cache-no-server : IMAGE_REPO=porch-kind# # Build and deploy porch into a kind cluster with postgres backend without the porch-server
79- run-in-kind-db-cache-no-server : IMAGE_TAG?=test
8074run-in-kind-db-cache-no-server : PORCH_CACHE_TYPE=DB
8175run-in-kind-db-cache-no-server : load-images-to-kind deployment-config-no-server deploy-current-config
8276
8377.PHONY : run-in-kind-no-controller
8478run-in-kind-no-controller : IMAGE_REPO=porch-kind# # Build and deploy porch without the controllers into a kind cluster
85- run-in-kind-no-controller : IMAGE_TAG?=test
8679run-in-kind-no-controller : SKIP_CONTROLLER_BUILD=true
8780run-in-kind-no-controller : load-images-to-kind deployment-config-no-controller deploy-current-config
8881
8982.PHONY : run-in-kind-db-cache-no-controller
9083run-in-kind-db-cache-no-controller : IMAGE_REPO=porch-kind# # Build and deploy porch without the controllers into a kind cluster with postgres backend
91- run-in-kind-db-cache-no-controller : IMAGE_TAG?=test
9284run-in-kind-db-cache-no-controller : SKIP_CONTROLLER_BUILD=true
9385run-in-kind-db-cache-no-controller : PORCH_CACHE_TYPE=DB
9486run-in-kind-db-cache-no-controller : load-images-to-kind deployment-config-no-controller deploy-current-config
@@ -124,19 +116,16 @@ deploy-current-config:## Deploy the configuration that is currently in $(DEPLOYP
124116
125117.PHONY : reload-function-runner
126118reload-function-runner : IMAGE_REPO=porch-kind# # Rebuild and reload function-runner in kind cluster
127- reload-function-runner : IMAGE_TAG?=test
128119reload-function-runner :
129120 ./scripts/reload-component.sh function-runner
130121
131122.PHONY : reload-server
132123reload-server : IMAGE_REPO=porch-kind# # Rebuild and reload porch-server in kind cluster
133- reload-server : IMAGE_TAG?=test
134124reload-server :
135125 ./scripts/reload-component.sh server
136126
137127.PHONY : reload-controllers
138128reload-controllers : IMAGE_REPO=porch-kind# # Rebuild and reload porch-controllers in kind cluster
139- reload-controllers : IMAGE_TAG?=test
140129reload-controllers :
141130 ./scripts/reload-component.sh controllers
142131
0 commit comments