mirror of
https://github.com/getlago/lago.git
synced 2024-12-22 21:53:24 +07:00
fix: helm repo redis
This commit is contained in:
parent
7747640da7
commit
a15b7e83f7
16
.github/workflows/deploy-preview.yml
vendored
16
.github/workflows/deploy-preview.yml
vendored
@ -186,15 +186,13 @@ 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 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')"
|
||||
|
2
api
2
api
@ -1 +1 @@
|
||||
Subproject commit fa0eea55a10f4eb7a9748f6ef2ef8abf96f7e619
|
||||
Subproject commit c7450685d58151b60e101724a3a1a89fb726149e
|
2
front
2
front
@ -1 +1 @@
|
||||
Subproject commit 944aabe88d10530ca344f96a34643e09965051e1
|
||||
Subproject commit ea30979b24a6d0a3b50674070505918f894044d8
|
Loading…
Reference in New Issue
Block a user