wait for helm upgrade before mark complete

This commit is contained in:
Maidul Islam
2023-06-13 22:06:53 -04:00
parent 9742fdc770
commit a4fb2378bb

View File

@@ -140,7 +140,7 @@ jobs:
- name: Download helm values to file and upgrade gamma deploy
run: |
wget https://raw.githubusercontent.com/Infisical/infisical/main/.github/values.yaml
helm upgrade infisical infisical-helm-charts/infisical --values values.yaml --recreate-pods
helm upgrade infisical infisical-helm-charts/infisical --values values.yaml --wait
if [[ $(helm status infisical) == *"FAILED"* ]]; then
echo "Helm upgrade failed"
exit 1