File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -37,10 +37,13 @@ minikube-delete: ## Delete module-controller deployment from minikube
3737 kubectl delete deployments.apps/module-controller || true
3838 kubectl wait --for=delete pod -l app=module-controller --timeout=90s
3939
40- .PHONY : minikube-debug- build
41- minikube-debug- build : fmt vet minikube-delete # # Build and deploy debug version using minikube
40+ .PHONY : minikube-build
41+ minikube-build : fmt vet minikube-delete # # Build debug version using minikube
4242 minikube image rm serverless-registry.cn-shanghai.cr.aliyuncs.com/opensource/test/module-controller-v2:latest
4343 minikube image build -f debug.Dockerfile -t serverless-registry.cn-shanghai.cr.aliyuncs.com/opensource/test/module-controller-v2:latest .
44+
45+ .PHONY : minikube-deploy
46+ minikube-deploy : # # Deploy module-controller to minikube
4447 kubectl apply -f example/quick-start/module-controller-test.yaml
4548 kubectl wait --for=condition=available --timeout=90s deployments/module-controller
4649
@@ -52,6 +55,9 @@ minikube-debug:
5255minikube-port-forward :
5356 kubectl port-forward deployments/module-controller 2345:2345
5457
58+ .PHONY : minikube-restart
59+ minikube-restart : minikube-build minikube-deploy minikube-debug
60+
5561# #@ Deployment
5662
5763ifndef ignore-not-found
You can’t perform that action at this time.
0 commit comments