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 52db32b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ resource "helm_release" "aws-load-balancer-controller" {

namespace = "kube-system"

wait = true

set {
name = "clusterName"
value = var.cluster_name
Expand Down
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 --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 52db32b

Please sign in to comment.