googleapis / googleapis/google-cloud-python

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

Đang mở
#17,988 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
type: feature request
Ngôn ngữ chính
Python
Star
5.4k
Fork
1.8k
Merge trung bình
3 ngày 4 giờ
Pull request đã merge (30 ngày)
122

Mô tả

### 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_

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
github, google-cloud, python
Lĩnh vực
ci-cd, cloud, devops
Loại issue
Tính năng
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Ít trao đổi
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
48/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.