From 9af06a46b55f4afda873de3030485d2df2f8a2c9 Mon Sep 17 00:00:00 2001 From: Xiao Gui Date: Fri, 18 Oct 2024 10:16:24 +0200 Subject: [PATCH] fix deploy --- .github/workflows/deploy-server-helm-v4.yml | 3 ++- .github/workflows/deploy-worker-helm-v4.yml | 3 ++- .helm/siibra-api-v4-server/Chart.yaml | 2 +- .helm/siibra-api-v4-worker/Chart.yaml | 2 +- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy-server-helm-v4.yml b/.github/workflows/deploy-server-helm-v4.yml index 6b9ac39..13f234f 100644 --- a/.github/workflows/deploy-server-helm-v4.yml +++ b/.github/workflows/deploy-server-helm-v4.yml @@ -37,8 +37,9 @@ jobs: secrets: ${{ secrets.KUBECONFIG }} - name: 'Get status' run: | + set -e helm status ${{ inputs.DEPLOYMENT_NAME }} - HELM_STATUS=$(echo $?) + HELM_STATUS=$? echo "HELM_STATUS: $HELM_STATUS" echo "HELM_STATUS=$HELM_STATUS" >> $GITHUB_ENV diff --git a/.github/workflows/deploy-worker-helm-v4.yml b/.github/workflows/deploy-worker-helm-v4.yml index 3cda0d0..218f8fa 100644 --- a/.github/workflows/deploy-worker-helm-v4.yml +++ b/.github/workflows/deploy-worker-helm-v4.yml @@ -49,8 +49,9 @@ jobs: secrets: ${{ secrets.KUBECONFIG }} - name: 'Get status' run: | + set -e helm status ${{ inputs.DEPLOYMENT_NAME }} - HELM_STATUS=$(echo $?) + HELM_STATUS=$? echo "HELM_STATUS: $HELM_STATUS" echo "HELM_STATUS=$HELM_STATUS" >> $GITHUB_ENV diff --git a/.helm/siibra-api-v4-server/Chart.yaml b/.helm/siibra-api-v4-server/Chart.yaml index 8d6a815..b45485f 100644 --- a/.helm/siibra-api-v4-server/Chart.yaml +++ b/.helm/siibra-api-v4-server/Chart.yaml @@ -21,4 +21,4 @@ version: 0.1.0 # incremented each time you make changes to the application. Versions are not expected to # follow Semantic Versioning. They should reflect the version the application is using. # It is recommended to use it with quotes. -appVersion: "0.3.21-rc4" +appVersion: "0.3.21-rc8" diff --git a/.helm/siibra-api-v4-worker/Chart.yaml b/.helm/siibra-api-v4-worker/Chart.yaml index 6fb71e9..dfc6579 100644 --- a/.helm/siibra-api-v4-worker/Chart.yaml +++ b/.helm/siibra-api-v4-worker/Chart.yaml @@ -21,4 +21,4 @@ version: 0.1.0 # incremented each time you make changes to the application. Versions are not expected to # follow Semantic Versioning. They should reflect the version the application is using. # It is recommended to use it with quotes. -appVersion: "0.3.21-rc4" +appVersion: "0.3.21-rc8"