-
Notifications
You must be signed in to change notification settings - Fork 118
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
Use GOPROXY to get latest releases instead of git APIs #1376
Comments
@adilGhaffarDev: Please ensure the request meets the requirements listed here. If this request no longer meets these requirements, the label can be removed In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/triage accepted |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with /lifecycle stale |
/remove-lifecycle stale |
1 similar comment
/remove-lifecycle stale |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with /lifecycle stale |
/remove-lifecycle stale |
Problem
Here:
metal3-dev-env/lib/releases.sh
Line 3 in 04b45cd
We are using git api to get the latest releases, if git API is used multiple times without
GITHUB_TOKEN
we start getting following error:rate limit for github api has been reached. Please wait one hour or get a personal API token and assign it to the GITHUB_TOKEN environment variable
Solution
Instead of using git APIs we should use GOPROXY. In this way we will not need
GITHUB_TOKEN
and we will also get rid of rate limit error.Below are GOPROXY links that list out all releases:
Write a function that get latest release from GOPROXY links and use that to get latest releases
/good-first-issue
The text was updated successfully, but these errors were encountered: