Skip to content

Commit eff856e

Browse files
authored
Merge pull request #71 from consideRatio/pr/fix-intermittent-issue
fix: fail after 10 minutes (previously 5) as image pulling can take time
2 parents 72a374f + b58a046 commit eff856e

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

action.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -239,20 +239,20 @@ runs:
239239
- name: Wait for calico, coredns, metrics server, traefik
240240
run: |
241241
echo "::group::Wait for daemonset/calico-node"
242-
kubectl rollout status --watch --timeout 300s daemonset/calico-node -n kube-system
242+
kubectl rollout status --watch --timeout 600s daemonset/calico-node -n kube-system
243243
echo "::endgroup::"
244244
245245
echo "::group::Wait for deployment/calico-kube-controllers"
246-
kubectl rollout status --watch --timeout 300s deployment/calico-kube-controllers -n kube-system
246+
kubectl rollout status --watch --timeout 600s deployment/calico-kube-controllers -n kube-system
247247
echo "::endgroup::"
248248
249249
echo "::group::Wait for deployment/coredns"
250-
kubectl rollout status --watch --timeout 300s deployment/coredns -n kube-system
250+
kubectl rollout status --watch --timeout 600s deployment/coredns -n kube-system
251251
echo "::endgroup::"
252252
253253
echo "::group::Wait for deployment/metrics-server"
254254
if [[ "${{ inputs.metrics-enabled }}" == true ]]; then
255-
kubectl rollout status --watch --timeout 300s deployment/metrics-server -n kube-system
255+
kubectl rollout status --watch --timeout 600s deployment/metrics-server -n kube-system
256256
fi
257257
echo "::endgroup::"
258258
@@ -261,9 +261,9 @@ runs:
261261
# NOTE: Different versions of k3s install traefik in different ways,
262262
# by waiting for these jobs if they exist, we will be fine no
263263
# matter what.
264-
kubectl wait --for=condition=complete --timeout=300s job/helm-install-traefik-crd -n kube-system || true
265-
kubectl wait --for=condition=complete --timeout=300s job/helm-install-traefik -n kube-system || true
266-
kubectl rollout status --watch --timeout 300s deployment/traefik -n kube-system
264+
kubectl wait --for=condition=complete --timeout=600s job/helm-install-traefik-crd -n kube-system || true
265+
kubectl wait --for=condition=complete --timeout=600s job/helm-install-traefik -n kube-system || true
266+
kubectl rollout status --watch --timeout 600s deployment/traefik -n kube-system
267267
fi
268268
echo "::endgroup::"
269269
shell: bash

0 commit comments

Comments
 (0)