-
Notifications
You must be signed in to change notification settings - Fork 52
Facing GitHub API quota issue in multi-branch pipelines. #75
Comments
@mukul-seagate11 Can you please raise ticket with GitHub enterprise support for this. |
We are using cortx-admin cred for all Jenkins related github interaction please increase the API limit for this user |
@mukul-seagate11 Can we consider this as priority I see lot of Jenkins jobs queued because of this issue |
@gowthamchinna If issue is due to user limit can we distribute jobs in my and your's credentials. We can use this as temporary adjustment till quota is not increased. |
Okay @shailesh-vaidya for PR VM deployment job I am using my credentials. |
This issue/pull request has been automatically marked as stale because it has not had recent activity. Tagging @shailesh-vaidya |
From: GitHub support@githubsupport.com Stephen Mather(GitHub Support)Sep 27, 2020, 6:07 PM UTC Hello Mukul, The best way to avoid hitting our API rate limit in this scenario would be to switch from polling to https://docs.github.com/en/free-pro-team@latest/developers/webhooks-and-events/about-webhooks in order to trigger your Jenkins jobs on commit. If using webhooks is not an option for you, you could take advantage of our recent https://github.blog/changelog/2020-07-27-increase-to-api-limits-in-github-enterprise-subscriptions. When associated with an enterprise account, both GitHub Apps and OAuth Apps have an hourly limit of 15,000 API calls. Finally, you could consider splitting API calls between separate user accounts in order to avoid hitting rate limits for a single account. Let me know if you have any further questions. Kindly |
From above update
|
|
Also our repos are public now. I think we can remove credentials in the jobs where it only clones the repo. |
This issue/pull request has been automatically marked as stale because it has not had recent activity. Tagging @shailesh-vaidya |
This issue/pull request has been marked as |
This issue/pull request has been marked as |
We are not facing issue now. We will re-open if issue occurs again. |
We are using polling method to trigger Jenkins jobs on code commit. Seems we are exceeding GitHub API limit and that's causing delay in multi-branch pipelines execution.
Please refer - HA Multi-branch job.
Logs are as below,
The text was updated successfully, but these errors were encountered: