Skip to content

Commit

Permalink
Increase ksvc wait times 45s->2m. (#299)
Browse files Browse the repository at this point in the history
Signed-off-by: Ville Aikas <[email protected]>

Signed-off-by: Ville Aikas <[email protected]>
  • Loading branch information
vaikas authored Aug 16, 2022
1 parent 1c2f522 commit e630126
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
12 changes: 6 additions & 6 deletions hack/setup-scaffolding-from-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down
12 changes: 6 additions & 6 deletions hack/setup-scaffolding.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit e630126

Please sign in to comment.