ci(make): get version for chart
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
This commit is contained in:
parent
820bca6308
commit
0f4c509582
1 changed files with 2 additions and 1 deletions
|
|
@ -2,11 +2,12 @@ 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}'
|
@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:-})
|
domain ?= $(shell echo $${DOMAIN:-})
|
||||||
version ?= $(shell echo $${OR_VERSION:-})
|
|
||||||
override_file ?= "/home/ubuntu/vars_override.yaml"
|
override_file ?= "/home/ubuntu/vars_override.yaml"
|
||||||
shell := /bin/bash -eo pipefail
|
shell := /bin/bash -eo pipefail
|
||||||
|
version ?= $(shell yq e '.appVersion' openreplay/Chart.yaml || "")
|
||||||
|
|
||||||
clean: ## Clean up the installation
|
clean: ## Clean up the installation
|
||||||
|
sudo rm /var/lib/openreplay/vars.yaml
|
||||||
kubectl delete cm openreplay-version -n app || true
|
kubectl delete cm openreplay-version -n app || true
|
||||||
helm uninstall openreplay -n app || true
|
helm uninstall openreplay -n app || true
|
||||||
helm uninstall databases -n db || true
|
helm uninstall databases -n db || true
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue