Fix git scripts

This commit is contained in:
Aram 🍐 2020-12-20 17:52:29 -05:00
parent 3126f5e8fd
commit c48e7a39f5

View file

@ -115,10 +115,8 @@ teamspeak:deploy:
- echo ${K8S_CLUSTER_CONFIG} | base64 -d > ${KUBECONFIG} - echo ${K8S_CLUSTER_CONFIG} | base64 -d > ${KUBECONFIG}
# Deploy using helm chart # Deploy using helm chart
- cd ${TEAMSPEAK_SRC}/chart - cd ${TEAMSPEAK_SRC}
- mkdir -p manifests/ - helm upgrade --install teamspeak ./chart/teamspeak
- helm template teamspeak ./teamspeak/ --output-dir manifests/ -f ./teamspeak/values.yaml
- kubectl apply --namespace ${DEPLOY_NAMESPACE} -R -f manifests/
only: only:
refs: refs:
- master - master
@ -183,8 +181,8 @@ chartmuseum:deploy:
# Deploy using helm chart # Deploy using helm chart
- cd ${CHARTMUSEUM_SRC} - cd ${CHARTMUSEUM_SRC}
- helm init --client-only && helm repo update - helm repo add chartmuseum https://chartmuseum.github.io/charts && helm repo update
- helm upgrade --install --namespace ${DEPLOY_NAMESPACE} -f values.yaml chartmuseum stable/chartmuseum - helm upgrade --install --namespace ${DEPLOY_NAMESPACE} -f values.yaml chartmuseum/chartmuseum
only: only:
refs: refs:
- master - master