Merge remote-tracking branch 'origin/increase-build-timeouts' into integration_2025_w11 (!3305)
This merge request is for two issues: 1. Core Network Deployment/Undeployment If the Helm release oai5gcn does not exist (e.g., it was already deleted, failed during installation), helm uninstall will fail with a "release not found" error. The --timeout 60s makes Helm wait up to 60 seconds for all resources to be deleted. If cleanup takes longer (e.g., due to resources or dependencies), the command fails with a timeout error, potentially leaving resources in an incomplete state. 2. Increase the timeout value for OpenShift RHEL Builds The timeout parameter is set as the maximum wait time for the jobs to complete. If the jobs do not complete within that time, the function logs an error. The jobs may take longer to complete, the function exits early with an error, even if the jobs are still progressing. So, to address both the issues: We first list all installed Helm releases in the given namespace, returning only their names. We then pass the release names to helm uninstall, uninstalling all releases in the namespace. The default value for timeout is 5 minutes. Increased the timeout value for the RHEL Builds.
No related branches found
No related tags found
Please register or sign in to comment