Add latest changes from gitlab-org/gitlab@master
This commit is contained in:
parent
c39da0dfd3
commit
80ff3642b4
|
@ -65,7 +65,7 @@ module Clusters
|
|||
end
|
||||
|
||||
def retry_command(command)
|
||||
"for i in $(seq 1 30); do #{command} && s=0 && break || s=$?; sleep 1s; echo \"Retrying ($i)...\"; done; (exit $s)"
|
||||
"for i in $(seq 1 90); do #{command} && s=0 && break || s=$?; sleep 1s; echo \"Retrying ($i)...\"; done; (exit $s)"
|
||||
end
|
||||
|
||||
def post_delete_script
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
title: Increase the timeout for GitLab-managed cert-manager installation to 90 seconds
|
||||
(was 30 seconds)
|
||||
merge_request: 19447
|
||||
author:
|
||||
type: fixed
|
|
@ -54,7 +54,7 @@ describe Clusters::Applications::CertManager do
|
|||
'kubectl label --overwrite namespace gitlab-managed-apps certmanager.k8s.io/disable-validation=true'
|
||||
])
|
||||
expect(subject.postinstall).to eq([
|
||||
"for i in $(seq 1 30); do kubectl apply -f /data/helm/certmanager/config/cluster_issuer.yaml && s=0 && break || s=$?; sleep 1s; echo \"Retrying ($i)...\"; done; (exit $s)"
|
||||
"for i in $(seq 1 90); do kubectl apply -f /data/helm/certmanager/config/cluster_issuer.yaml && s=0 && break || s=$?; sleep 1s; echo \"Retrying ($i)...\"; done; (exit $s)"
|
||||
])
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue