fix: remove redis from helm for now

This commit is contained in:
Jeremy Denquin 2022-05-09 11:25:54 +02:00
parent 97c99979c8
commit 7747640da7

View File

@ -186,15 +186,15 @@ jobs:
envsubst < ./api/porter/clock.yaml > ./api/porter/env_clock.yaml
- name: Configure kubectl
run: echo "${{ secrets.KUBE_STAGING_CONFIG }}" | base64 -d > kubeconfig.yaml
- name: Get Helm Redis deployment
id: helm_redis_deployment
run: echo "::set-output name=deployment::$(helm --kubeconfig ./kubeconfig.yaml list -f ${{ github.event.inputs.preview_name }}-redis -o=json | jq '.[0].name')"
- name: Create Redis deployment
if: ${{ steps.helm_redis_deployment.outputs.deployment == 'null' }}
run: |
helm --kubeconfig ./kubeconfig.yaml repo add bitnami bitnami/redis
helm --kubeconfig ./kubeconfig.yaml repo update
helm --kubeconfig ./kubeconfig.yaml install --set auth.enabled=false ${{ github.event.inputs.preview_name }}-redis bitnami/redis
# - name: Get Helm Redis deployment
# id: helm_redis_deployment
# run: echo "::set-output name=deployment::$(helm --kubeconfig ./kubeconfig.yaml list -f ${{ github.event.inputs.preview_name }}-redis -o=json | jq '.[0].name')"
# - name: Create Redis deployment
# if: ${{ steps.helm_redis_deployment.outputs.deployment == 'null' }}
# run: |
# helm --kubeconfig ./kubeconfig.yaml repo add bitnami bitnami/redis
# helm --kubeconfig ./kubeconfig.yaml repo update
# helm --kubeconfig ./kubeconfig.yaml install --set auth.enabled=false ${{ github.event.inputs.preview_name }}-redis bitnami/redis
- name: Get Helm API deployment
id: helm_deployment
run: echo "::set-output name=deployment::$(helm --kubeconfig ./kubeconfig.yaml list -f ${{ github.event.inputs.preview_name }}-api -o=json | jq '.[0].name')"