Spaces:
Sleeping
Sleeping
Zhichao
commited on
build: add `--wait` to `helm upgrade` (#113)
Browse files
.github/workflows/cicd.yaml
CHANGED
@@ -126,7 +126,7 @@ jobs:
|
|
126 |
env:
|
127 |
IMAGE_TAG: ${{ needs.build.outputs.image_tag }}
|
128 |
run: |
|
129 |
-
helm upgrade --install -n ${{ env.namespace }} ${{ env.repo_name }} -f chart/${{ vars.VALUES_FILE }} ./chart \
|
130 |
--set image.tag=$IMAGE_TAG \
|
131 |
--set env.AWS_BUCKET_NAME=${{ vars.AWS_BUCKET_NAME }} \
|
132 |
--set env.AWS_REGION=${{ vars.AWS_REGION }} \
|
|
|
126 |
env:
|
127 |
IMAGE_TAG: ${{ needs.build.outputs.image_tag }}
|
128 |
run: |
|
129 |
+
helm upgrade --install --wait -n ${{ env.namespace }} ${{ env.repo_name }} -f chart/${{ vars.VALUES_FILE }} ./chart \
|
130 |
--set image.tag=$IMAGE_TAG \
|
131 |
--set env.AWS_BUCKET_NAME=${{ vars.AWS_BUCKET_NAME }} \
|
132 |
--set env.AWS_REGION=${{ vars.AWS_REGION }} \
|
.github/workflows/prod-deploy.yml
CHANGED
@@ -86,7 +86,7 @@ jobs:
|
|
86 |
env:
|
87 |
IMAGE_TAG: ${{ steps.sha_short.outputs.image_tag }}
|
88 |
run: |
|
89 |
-
helm upgrade --install -n ${{ env.namespace }} ${{ env.repo_name }} -f chart/${{ vars.VALUES_FILE }} ./chart \
|
90 |
--set image.tag=$IMAGE_TAG \
|
91 |
--set env.AWS_BUCKET_NAME=${{ vars.AWS_BUCKET_NAME }} \
|
92 |
--set env.AWS_REGION=${{ vars.AWS_REGION }} \
|
|
|
86 |
env:
|
87 |
IMAGE_TAG: ${{ steps.sha_short.outputs.image_tag }}
|
88 |
run: |
|
89 |
+
helm upgrade --install --wait -n ${{ env.namespace }} ${{ env.repo_name }} -f chart/${{ vars.VALUES_FILE }} ./chart \
|
90 |
--set image.tag=$IMAGE_TAG \
|
91 |
--set env.AWS_BUCKET_NAME=${{ vars.AWS_BUCKET_NAME }} \
|
92 |
--set env.AWS_REGION=${{ vars.AWS_REGION }} \
|