simplify and check for output status
This commit is contained in:
parent
8517e73b35
commit
b85811e871
8
helm.mk
8
helm.mk
|
@ -5,18 +5,16 @@
|
|||
start-helm:
|
||||
@- echo "\n### starting deployment with helmfile"
|
||||
@- echo "\n### setting kubernetes context to $(K8S_CONTEXT)"
|
||||
@- kubectl config use-context $(K8S_CONTEXT)
|
||||
@ kubectl config use-context $(K8S_CONTEXT)
|
||||
|
||||
@- echo "\n### create namespace $(NAMESPACE)"
|
||||
@- kubectl create namespace "$(NAMESPACE)" --dry-run=client -o yaml | kubectl apply -f -
|
||||
|
||||
@- echo "\n### run kubectl apply -f secrets.yaml"
|
||||
@- cat secrets.yaml | kubectl apply -f -
|
||||
|
||||
@- echo "\nCI_PROJECT_NAME: ${CI_PROJECT_NAME}"
|
||||
@- kubectl apply -f secrets.yaml
|
||||
|
||||
@- echo "\n### deploying helm chart"
|
||||
@- helmfile --file helmfile.yaml apply --suppress-secrets
|
||||
@ helmfile --file helmfile.yaml apply --suppress-secrets
|
||||
|
||||
pull-helm:
|
||||
# nop
|
||||
|
|
Loading…
Reference in New Issue