Commit cccac895 authored by Revant Nandgaonkar's avatar Revant Nandgaonkar

chore: Remove auto upgrade of develop release

Merge branch 'remove-bb-develop' into 'develop'

See merge request castlecraft/building-blocks!291
parents 89ed7c1e 16ef52c8
......@@ -402,24 +402,6 @@ deploy_staging:
script:
- ./kubernetes/deploy/deploy-staging.sh
deploy_develop:
image: dtzar/helm-kubectl:latest
stage: deploy
only:
- staging
variables:
KUBECONFIG: /etc/deploy/config
before_script:
- mkdir -p /etc/deploy
- echo ${develop_kube_config} | base64 -d > ${KUBECONFIG}
- kubectl config use-context develop
- helm init --service-account develop-user --client-only
- helm repo add stable https://kubernetes-charts.storage.googleapis.com/
- helm repo add incubator https://kubernetes-charts-incubator.storage.googleapis.com/
- helm repo update
script:
- ./kubernetes/deploy/deploy-develop.sh
pages:
stage: docs
only:
......
#!/bin/bash
cd /tmp
# Clone building blocks configuration
git clone https://github.com/castlecraft/helm-charts
# Check helm chart is installed or create
# reuse installed values and resets data
export CHECK_AS=$(helm ls -q building-blocks-dev --tiller-namespace develop)
if [ "$CHECK_AS" = "building-blocks-dev" ]
then
echo "Updating existing building-blocks-dev . . ."
helm upgrade building-blocks-dev \
--tiller-namespace develop \
--namespace develop \
--reuse-values \
--recreate-pods \
helm-charts/building-blocks
fi
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment