Skip to content

Commit

Permalink
wait for rollout
Browse files Browse the repository at this point in the history
  • Loading branch information
scrungus committed Jul 1, 2024
1 parent 09b4504 commit a92aba6
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions tools/functional_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,8 @@ helm upgrade coral-credits ./charts \
--timeout 10m \
--set-string image.tag=${GITHUB_SHA::7}

# Wait for pod to become ready
kubectl wait --for=condition=Ready pod -n coral-credits -l \
"app.kubernetes.io/name=coral-credits,app.kubernetes.io/instance=coral-credits" \
--timeout=300s
# Wait for rollout
kubectl rollout status deployment/coral-credits -n coral-credits --timeout=300s

# Port forward in the background
kubectl port-forward -n coral-credits svc/coral-credits 8080:8080 &
Expand Down

0 comments on commit a92aba6

Please sign in to comment.