Properly install website

This commit is contained in:
Aram 🍐 2019-11-25 22:39:59 -05:00
parent 29767d60e2
commit d15b000bb3

View file

@ -40,10 +40,8 @@ website:deploy:
- echo ${K8S_CLUSTER_CONFIG} | base64 -d > ${KUBECONFIG} - echo ${K8S_CLUSTER_CONFIG} | base64 -d > ${KUBECONFIG}
# Deploy using helm chart # Deploy using helm chart
- cd ${WEBSITE_SRC}/chart - cd ${WEBSITE_SRC}
- mkdir -p manifests/ - helm upgrade --install --force --set image.name=${WEBSITE_IMAGE},image.tag=${CI_COMMIT_REF_SLUG}-${CI_COMMIT_SHORT_SHA} website ./chart/website
- helm template ./website/ --output-dir manifests/ --name website --set image.name=${WEBSITE_IMAGE} --set image.tag=${CI_COMMIT_REF_SLUG}-${CI_COMMIT_SHORT_SHA} -f ./website/values.yaml
- kubectl apply --namespace ${DEPLOY_NAMESPACE} -R -f manifests/
only: only:
refs: refs:
- master - master