Skip to content

Commit

Permalink
[ci] Wait for helm before next steps
Browse files Browse the repository at this point in the history
  • Loading branch information
barroco committed Jan 26, 2024
1 parent 80d53d5 commit 5d4b12d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deploy/operations/ci/aws-1/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ kubectl apply -f "aws_auth_config_map.yml"
cd "$BASEDIR/../../../services/helm-charts/dss"
RELEASE_NAME="dss"
helm dep update --kube-context="$KUBE_CONTEXT"
helm upgrade --install --kube-context="$KUBE_CONTEXT" -f "${WORKSPACE_LOCATION}/helm_values.yml" "$RELEASE_NAME" .
helm upgrade --install --kube-context="$KUBE_CONTEXT" -f "${WORKSPACE_LOCATION}/helm_values.yml" --wait --wait-for-jobs --timeout 15m "$RELEASE_NAME" .

# TODO: Test the deployment of the DSS

Expand All @@ -48,7 +48,7 @@ fi

# Cleanup
# Delete workloads
helm uninstall --kube-context="$KUBE_CONTEXT" "$RELEASE_NAME"
helm uninstall --kube-context="$KUBE_CONTEXT" --wait --timeout 15m "$RELEASE_NAME"

# Delete PVC to delete persistant volumes
kubectl delete pvc --all=true
Expand Down

0 comments on commit 5d4b12d

Please sign in to comment.