Skip to content
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

[release/1.6] CI: Pass GITHUB_TOKEN to containerd/project-checks #7919

Merged

Conversation

dmcgowan
Copy link
Member

@dmcgowan dmcgowan commented Jan 4, 2023

Backport #7913


Previously the project-checks action was failing sometimes due to hitting GitHub API rate limits. Since no token was supplied, the rate limits were only 60 requests/hour keyed off the IP address of the runner.

Now, passing GITHUB_TOKEN secret through to project-checks, we have a limit of 1000 requests/hour for the whole repo. This should alleviate the rate limits that were being seen.

I believe it is safe to pass this secret as project-checks is also owned by the containerd organization. The secret is also scoped to the actions run, and is invalidated upon completion.

project-checks version is also updated to the version that supports repo-access-token input.

Signed-off-by: Kevin Parsons kevpar@microsoft.com
(cherry picked from commit 79d09c6)
Signed-off-by: Derek McGowan derek@mcg.dev

Previously the project-checks action was failing sometimes due to
hitting GitHub API rate limits. Since no token was supplied, the rate
limits were only 60 requests/hour keyed off the IP address of the
runner.

Now, passing GITHUB_TOKEN secret through to project-checks, we have a
limit of 1000 requests/hour for the whole repo. This should alleviate
the rate limits that were being seen.

I believe it is safe to pass this secret as project-checks is also owned
by the containerd organization. The secret is also scoped to the actions
run, and is invalidated upon completion.

project-checks version is also updated to the version that supports
repo-access-token input.

Signed-off-by: Kevin Parsons <kevpar@microsoft.com>
(cherry picked from commit 79d09c6)
Signed-off-by: Derek McGowan <derek@mcg.dev>
Copy link
Member

@estesp estesp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Member

@kevpar kevpar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@samuelkarp samuelkarp merged commit ba6af25 into containerd:release/1.6 Jan 4, 2023
Mengkzhaoyun pushed a commit to open-beagle/containerd that referenced this pull request Jan 16, 2023
containerd 1.6.15

Welcome to the v1.6.15 release of containerd!

The fifteenth patch release for containerd 1.6 fixes an issue with CNI in the CRI plugin

* **Fix no CNI info for pod sandbox on restart in CRI plugin** ([#7848](containerd/containerd#7848))

See the changelog for complete list of changes

Please try out the release binaries and report any issues at
https://github.com/containerd/containerd/issues.

* Derek McGowan
* Akihiro Suda
* Danny Canter
* Kevin Parsons
* Samuel Karp
* Wei Fu
<details><summary>8 commits</summary>
<p>

* [release/1.6] Prepare release notes for v1.6.15 ([#7924](containerd/containerd#7924))
  * [`883899eae`](containerd/containerd@883899e) Prepare release notes for v1.6.15
* [release/1.6] CI: Pass GITHUB_TOKEN to containerd/project-checks ([#7919](containerd/containerd#7919))
  * [`b57367020`](containerd/containerd@b573670) CI: Pass GITHUB_TOKEN to containerd/project-checks
* [release/1.6] integration/images: switch away from Docker Hub to avoid rate limit ([#7900](containerd/containerd#7900))
  * [`0f4062c9b`](containerd/containerd@0f4062c) integration/images: switch away from Docker Hub to avoid rate limit
* [release/1.6] CRI: Fix no CNI info for pod sandbox on restart ([#7848](containerd/containerd#7848))
  * [`f16447e2d`](containerd/containerd@f16447e) CRI: Fix no CNI info for pod sandbox on restart
</p>
</details>

This release has no dependency changes

Previous release can be found at [v1.6.14](https://github.com/containerd/containerd/releases/tag/v1.6.14)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

None yet

6 participants