From 820b0954e74b5731a289ac6df11d51a40fdd7b1e Mon Sep 17 00:00:00 2001 From: rjshrjndrn Date: Thu, 13 Mar 2025 11:13:38 +0100 Subject: [PATCH] ci(makefile): install test Signed-off-by: rjshrjndrn --- scripts/helmcharts/Makefile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 scripts/helmcharts/Makefile diff --git a/scripts/helmcharts/Makefile b/scripts/helmcharts/Makefile new file mode 100644 index 000000000..0cbca0764 --- /dev/null +++ b/scripts/helmcharts/Makefile @@ -0,0 +1,15 @@ +help: ## Prints help for targets with comments + @cat $(MAKEFILE_LIST) | grep -E '^[a-zA-Z_-]+:.*?## .*$$' | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}' + +domain ?= $(shell echo $${DOMAIN:-}) +version ?= $(shell echo $${OR_VERSION:-}) +override_file ?= "/home/ubuntu/vars_override.yaml" +shell := /bin/bash -eo pipefail + +clean: ## Clean up the installation + helm uninstall openreplay -n app || true + helm uninstall databases -n db || true + kubectl delete pvc -n db --all || true + +install: ## Install the application + OR_VERSION=$(version) OVERRIDE_FILE=$(override_file) openreplay -i $(domain)