diff --git a/.github/workflows/deploy-helm.yml b/.github/workflows/deploy-helm.yml index bd87998..79ed34f 100644 --- a/.github/workflows/deploy-helm.yml +++ b/.github/workflows/deploy-helm.yml @@ -33,7 +33,7 @@ jobs: - name: Set Vars run: | SAPI_VERSION=$(cat api/VERSION) - git_hash=$(git rev-parse --short HEAD) + GIT_HASH=$(git rev-parse --short HEAD) echo "SAPI_VERSION: $SAPI_VERSION" echo "GIT_HASH: $GIT_HASH" diff --git a/.github/workflows/docker-img.yml b/.github/workflows/docker-img.yml index 91a9258..63106b8 100644 --- a/.github/workflows/docker-img.yml +++ b/.github/workflows/docker-img.yml @@ -263,8 +263,8 @@ jobs: steps: - run: | REDIS_POD=$(kubectl get pod -l app=cache-redis | grep Running | awk '{print $1}') - echo kubectl --kubeconfig=SECRET exec $REDIS_POD -- /bin/ash -c "redis-cli redis-cli --scan --pattern '*\[${{ needs.setup-envvar.outputs.version }}\]*' | while IFS= read -r line; do redis-cli del "$line"; done" - kubectl --kubeconfig=$kubecfg_path exec $REDIS_POD -- /bin/ash -c "redis-cli redis-cli --scan --pattern '*\[${{ needs.setup-envvar.outputs.version }}\]*' | while IFS= read -r line; do redis-cli del "$line"; done" + echo kubectl exec $REDIS_POD -- /bin/ash -c "redis-cli redis-cli --scan --pattern '*\[${{ needs.setup-envvar.outputs.version }}\]*' | while IFS= read -r line; do redis-cli del "$line"; done" + kubectl exec $REDIS_POD -- /bin/ash -c "redis-cli redis-cli --scan --pattern '*\[${{ needs.setup-envvar.outputs.version }}\]*' | while IFS= read -r line; do redis-cli del "$line"; done" deploy-rc-via-helm: needs: warmup-rc-at-helm