ci(makefile): install test
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
This commit is contained in:
parent
19b350761c
commit
820b0954e7
1 changed files with 15 additions and 0 deletions
15
scripts/helmcharts/Makefile
Normal file
15
scripts/helmcharts/Makefile
Normal file
|
|
@ -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)
|
||||
Loading…
Add table
Reference in a new issue