From d2ee4229aaebded6c28fc53c98f410e150b08214 Mon Sep 17 00:00:00 2001 From: Max Resnick Date: Sat, 13 Jul 2024 22:05:04 -0700 Subject: feat: add local build and deploy targets --- justfile | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'justfile') diff --git a/justfile b/justfile index 073aa34..e8aa956 100644 --- a/justfile +++ b/justfile @@ -39,9 +39,15 @@ debug-run: local-push: (push "localhost:5000") @echo "build and push to local dir" -localdeploy: - kubectx k3d-go-git-cluster - kustomize build manifests/local | kubectl apply -f - +local-clean: + kustomize build manifests/local | kubectl --context k3d-go-git-cluster delete -f - + +local-undeploy: + kustomize build manifests/base | kubectl --context k3d-go-git-cluster delete -f - + kustomize build manifests/cgit | kubectl --context k3d-go-git-cluster delete -f - + +local-deploy: + kustomize build manifests/local | kubectl --context k3d-go-git-cluster apply -f - local-cluster: k3d cluster create go-git-cluster --registry-create go-git-registry:5000 -- cgit v1.2.3