From b66af7041e309e996b266286b4dbf7bb2bae5617 Mon Sep 17 00:00:00 2001 From: Ismaaa <22240843+Ismaaa@users.noreply.github.com> Date: Wed, 6 Nov 2024 09:49:40 +0000 Subject: [PATCH] Delete Makefile --- Makefile | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100644 Makefile diff --git a/Makefile b/Makefile deleted file mode 100644 index 207bdf5e..00000000 --- a/Makefile +++ /dev/null @@ -1,12 +0,0 @@ -# Load environment variables from .env file -include .env - -# Define variables -CURRENT_HASH := $(shell git rev-parse HEAD) -KUBECONFIG_FILE := ./.kubeconfig - -deploy-webapp: - @echo "Deploying Webapp ..." - kubectl delete job emergency-cv--webapp--build--job --namespace production --kubeconfig $(KUBECONFIG_FILE) || true - cat ./kubernetes.yml | sed 's/VAR_GITHUB_COMMIT_HASH/$(CURRENT_HASH)/g' | sed 's/VAR_GITHUB_TOKEN/$(GITHUB_TOKEN)/g' | kubectl apply -f - --kubeconfig $(KUBECONFIG_FILE) - @echo "Build queued."