From e63012668533cb8cf1565a93b803e59ba5f54807 Mon Sep 17 00:00:00 2001 From: Ville Aikas <11279988+vaikas@users.noreply.github.com> Date: Tue, 16 Aug 2022 12:19:46 +0300 Subject: [PATCH] Increase ksvc wait times 45s->2m. (#299) Signed-off-by: Ville Aikas Signed-off-by: Ville Aikas --- hack/setup-scaffolding-from-release.sh | 12 ++++++------ hack/setup-scaffolding.sh | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/hack/setup-scaffolding-from-release.sh b/hack/setup-scaffolding-from-release.sh index 7d13a85ca..a560c0a00 100755 --- a/hack/setup-scaffolding-from-release.sh +++ b/hack/setup-scaffolding-from-release.sh @@ -56,8 +56,8 @@ echo '::endgroup::' echo '::group:: Wait for Trillian ready' kubectl wait --timeout 5m -n trillian-system --for=condition=Complete jobs --all -kubectl wait --timeout 45s -n trillian-system --for=condition=Ready ksvc log-server -kubectl wait --timeout 45s -n trillian-system --for=condition=Ready ksvc log-signer +kubectl wait --timeout 2m -n trillian-system --for=condition=Ready ksvc log-server +kubectl wait --timeout 2m -n trillian-system --for=condition=Ready ksvc log-signer echo '::endgroup::' # Install Rekor and wait for it to come up @@ -67,7 +67,7 @@ echo '::endgroup::' echo '::group:: Wait for Rekor ready' kubectl wait --timeout 5m -n rekor-system --for=condition=Complete jobs --all -kubectl wait --timeout 45s -n rekor-system --for=condition=Ready ksvc rekor +kubectl wait --timeout 2m -n rekor-system --for=condition=Ready ksvc rekor echo '::endgroup::' # Install Fulcio and wait for it to come up @@ -81,7 +81,7 @@ fi echo '::group:: Wait for Fulcio ready' kubectl wait --timeout 5m -n fulcio-system --for=condition=Complete jobs --all -kubectl wait --timeout 45s -n fulcio-system --for=condition=Ready ksvc fulcio +kubectl wait --timeout 2m -n fulcio-system --for=condition=Ready ksvc fulcio echo '::endgroup::' # Install CTlog and wait for it to come up @@ -91,7 +91,7 @@ echo '::endgroup::' echo '::group:: Wait for CTLog ready' kubectl wait --timeout 5m -n ctlog-system --for=condition=Complete jobs --all -kubectl wait --timeout 45s -n ctlog-system --for=condition=Ready ksvc ctlog +kubectl wait --timeout 2m -n ctlog-system --for=condition=Ready ksvc ctlog echo '::endgroup::' # Install tuf @@ -108,7 +108,7 @@ echo '::endgroup::' # Make sure the tuf jobs complete echo '::group:: Wait for TUF ready' kubectl wait --timeout 4m -n tuf-system --for=condition=Complete jobs --all -kubectl wait --timeout 45s -n tuf-system --for=condition=Ready ksvc tuf +kubectl wait --timeout 2m -n tuf-system --for=condition=Ready ksvc tuf echo '::endgroup::' # Grab the trusted root diff --git a/hack/setup-scaffolding.sh b/hack/setup-scaffolding.sh index 80cbaf72d..648cde675 100755 --- a/hack/setup-scaffolding.sh +++ b/hack/setup-scaffolding.sh @@ -34,8 +34,8 @@ echo '::endgroup::' echo '::group:: Wait for Trillian ready' kubectl wait --timeout 5m -n trillian-system --for=condition=Complete jobs --all -kubectl wait --timeout 45s -n trillian-system --for=condition=Ready ksvc log-server -kubectl wait --timeout 45s -n trillian-system --for=condition=Ready ksvc log-signer +kubectl wait --timeout 2m -n trillian-system --for=condition=Ready ksvc log-server +kubectl wait --timeout 2m -n trillian-system --for=condition=Ready ksvc log-signer echo '::endgroup::' # Install Rekor and wait for it to come up @@ -45,7 +45,7 @@ echo '::endgroup::' echo '::group:: Wait for Rekor ready' kubectl wait --timeout 5m -n rekor-system --for=condition=Complete jobs --all -kubectl wait --timeout 45s -n rekor-system --for=condition=Ready ksvc rekor +kubectl wait --timeout 2m -n rekor-system --for=condition=Ready ksvc rekor echo '::endgroup::' # Install Fulcio and wait for it to come up @@ -67,7 +67,7 @@ if [ "${NEED_TO_UPDATE_FULCIO_CONFIG}" == "true" ]; then fi echo '::group:: Wait for Fulcio ready' kubectl wait --timeout 5m -n fulcio-system --for=condition=Complete jobs --all -kubectl wait --timeout 45s -n fulcio-system --for=condition=Ready ksvc fulcio +kubectl wait --timeout 2m -n fulcio-system --for=condition=Ready ksvc fulcio echo '::endgroup::' # Install CTlog and wait for it to come up @@ -77,7 +77,7 @@ echo '::endgroup::' echo '::group:: Wait for CTLog ready' kubectl wait --timeout 5m -n ctlog-system --for=condition=Complete jobs --all -kubectl wait --timeout 45s -n ctlog-system --for=condition=Ready ksvc ctlog +kubectl wait --timeout 2m -n ctlog-system --for=condition=Ready ksvc ctlog echo '::endgroup::' # Install tuf @@ -94,7 +94,7 @@ echo '::endgroup::' # Make sure the tuf jobs complete echo '::group:: Wait for TUF ready' kubectl wait --timeout 4m -n tuf-system --for=condition=Complete jobs --all -kubectl wait --timeout 45s -n tuf-system --for=condition=Ready ksvc tuf +kubectl wait --timeout 2m -n tuf-system --for=condition=Ready ksvc tuf echo '::endgroup::' # Grab the trusted root