-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
30 lines (22 loc) · 885 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
CHART=charts/tock
chartversion?=`awk '/^version/ {print $$NF}' ${CHART}/Chart.yaml`
appversion?=`awk '/^appVersion/ {print $$NF}' ${CHART}/Chart.yaml`
lint:
helm lint ${CHART}
debug:
helm install --dry-run --debug tockdebug ${CHART}
template:
helm template test ${CHART} --debug
version:
@echo "Chart Name:tock Application Version:$(appversion) Chart Version:${chartversion}"
build:
helm repo add bitnami https://charts.bitnami.com/bitnami
helm repo add opensearch https://opensearch-project.github.io/helm-charts/
helm dep update ${CHART}
helm lint ${CHART}
echo "Chart Name:Tock Application Version:${appversion} Chart Version:${chartversion} "
helm package ${CHART} --version ${chartversion} --app-version ${appversion} --destination packages
doc:
helm-docs -c ${CHART}
publish:
helm push packages/tock-${chartversion}.tgz oci://registry.hub.docker.com/onelans