ci fix - hardcode kustomize download to bypass github api rate limits#1170
ci fix - hardcode kustomize download to bypass github api rate limits#1170trdoyle81 wants to merge 1 commit into
Conversation
Signed-off-by: Triona Doyle <tekton@example.com>
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Enterprise Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Comment |
What type of PR is this?
/kind failing-test
What does this PR do / why we need it:
Fixes flaky OpenShift CI
imagesjob failures.The
install_kustomize.shscript queries the GitHub API to find the Kustomize release version. Due to shared CI IPs, GitHub frequently blocks this with a403 API Rate Limit Exceedederror. The download silently fails, causing thetarcommand to crash the build. This PR replaces the script with a directcurl | tardownload of the release tarball (matching how we installkubectlandargocd). This bypasses the GitHub API entirely and makes the CI build stable.Have you updated the necessary documentation?
Which issue(s) this PR fixes:
Fixes # N/A
Test acceptance criteria:
How to test changes / Special notes to the reviewer:
podman build -t ci-test .
podman run --rm ci-test kustomize version