mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-06 22:27:22 +00:00
add deployment error check for gamma
This commit is contained in:
@@ -129,4 +129,10 @@ jobs:
|
|||||||
- name: Download helm values to file and upgrade gamma deploy
|
- name: Download helm values to file and upgrade gamma deploy
|
||||||
run: |
|
run: |
|
||||||
wget https://raw.githubusercontent.com/Infisical/infisical/main/.github/values.yaml
|
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 --recreate-pods
|
||||||
|
if [[ $(helm status infisical) == *"FAILED"* ]]; then
|
||||||
|
echo "Helm upgrade failed"
|
||||||
|
exit 1
|
||||||
|
else
|
||||||
|
echo "Helm upgrade was successful"
|
||||||
|
fi
|
||||||
Reference in New Issue
Block a user