Skip to content

fix(ci): increase deploy wait timeout #1886

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .openshift-ci/pre_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class Deployer:
Deployer - Deploys Scanner and ScannerDB resources and port-forwards the necessary endpoints.
"""

DEPLOY_TIMEOUT = 10 * 60
DEPLOY_TIMEOUT = 20 * 60

def __init__(self, slim=False):
self.slim = slim
Expand Down
2 changes: 1 addition & 1 deletion scripts/ci/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ _wait_for_scanner() {
kubectl -n stackrox get pod
POD="$(kubectl -n stackrox get pod -o jsonpath='{.items[?(@.metadata.labels.app=="scanner")].metadata.name}')"
[[ -n "${POD}" ]]
kubectl -n stackrox wait "--for=condition=Ready" "pod/${POD}" --timeout=10m
kubectl -n stackrox wait "--for=condition=Ready" "pod/${POD}" --timeout=20m
kubectl -n stackrox get pod
}

Expand Down