-
Notifications
You must be signed in to change notification settings - Fork 593
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
feat (kuberenetesDeploy) allow adding a timeout to the helm test commands #4310
Conversation
After taking a look at the helm documentation I think this parameter is not necessary for the kubernetesDeploy step (at least for the current implementation of the step), since the step uses the From helm docu regarding the wait param: will wait until all Pods, PVCs, Services, and minimum number of Pods of a Deployment, StatefulSet, or ReplicaSet are in a ready state before marking the release as successful. It will wait for as long as --timeout. I think the Do we have another reason to wait for the execution of the |
its about when the test themselves run more than 300 seconds and not for the deployment to be in the ready state. Even when the deployment is in ready state , the test themselves can run more than 300s |
ah...yes, sorry, I missed it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@vstarostin , your changes looks good, could you please approve it, since i cannot approve my own changes
/it-go |
Kudos, SonarCloud Quality Gate passed! |
…ands (SAP#4310) * adding a timeout for helm test * extending test cases * Upadate the helmTestWaitSeconds parameter * Add timeout parameter for helm test command * Update tests --------- Co-authored-by: Vyacheslav Starostin <[email protected]>
Changes
helm test command can now be made to wait with the param
helmTestWaitSeconds
. this gives a little more flexibility to allow long running test to complete before timing out