mirror of
https://github.com/getlago/lago.git
synced 2024-12-22 22:33:20 +07:00
fix: remove redis from helm for now
This commit is contained in:
parent
97c99979c8
commit
7747640da7
18
.github/workflows/deploy-preview.yml
vendored
18
.github/workflows/deploy-preview.yml
vendored
@ -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')"
|
||||
|
Loading…
Reference in New Issue
Block a user