googleapis / googleapis/google-cloud-python

test(repo): Add a GITHUB TOKEN to the secret manager to avoid rate limits

未关闭
#17,988 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
type: feature request
主要语言
Python
星标
5.4k
派生
1.8k
平均合并
3 天 4 小时
30 天内合并 PR
122

描述

### Determine this is the right repository

- [x] I determined this is the correct repository in which to report this feature request.

### Summary of the feature request

The ad hoc package selection process during system tests performs a check against the GitHub (GH) API for a specific label. GH limits unauthenticated checks to 60 per hour per IP address.

Right now we are not hitting that limit, but we do not have control over any other kokoro processes that share our IP address, so we should provide a means for kokoro to authenticate and get nearly unlimited API calls.

For some context regarding where this call occurs: see https://github.com/googleapis/google-cloud-python/pull/17931#discussion_r3711547080

We will need to add the key to SECRET MANAGER in the Google Cloud Console.

### Desired code experience

### Expected results

_No response_

### API client name and version

_No response_

### Use case

_No response_

### Additional context

_No response_

贡献指南

打开贡献指南

调研方向

Start with the ad hoc package selection process in system tests and review the linked discussion in google-cloud-python#17931 to locate the GitHub API label check. Then inspect how Kokoro accesses Google Cloud Secret Manager. Done means Kokoro can authenticate those checks with a stored GitHub token and the token is added to Secret Manager.

由索引模型根据 Issue 内容生成。

评估

技术栈
github, google-cloud, python
领域
ci-cd, cloud, devops
Issue 类型
功能
难度
4/5
预计耗时
3-5 天
活跃度
冷清
描述清晰度
基本清楚
新手友好度
48/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。