forked from containerd/cgroups
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use google.golang.org/protobuf instead of github.com/gogo/protobuf
We'd like to migrate off from gogo/protobuf. The package is looking for new ownership since 2020. See containerd/containerd#6564 for the detail. Signed-off-by: Kazuyoshi Kato <[email protected]>
- Loading branch information
Showing
12 changed files
with
2,859 additions
and
9,642 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -112,3 +112,41 @@ jobs: | |
sudo -E PATH=$PATH GOPATH=$GOPATH \ | ||
$(command -v go) test -v -race -coverprofile=coverage.txt -covermode=atomic ./... | ||
working-directory: src/github.com/containerd/cgroups | ||
|
||
proto: | ||
name: Check auto-generated files | ||
runs-on: ubuntu-22.04 | ||
timeout-minutes: 5 | ||
|
||
steps: | ||
- name: Install Go | ||
uses: actions/setup-go@v2 | ||
with: | ||
go-version: '1.17.x' | ||
|
||
- name: Set env | ||
shell: bash | ||
run: | | ||
echo "GOPATH=${{ github.workspace }}" >> $GITHUB_ENV | ||
echo "${{ github.workspace }}/bin" >> $GITHUB_PATH | ||
- name: Checkout cgroups | ||
uses: actions/checkout@v2 | ||
with: | ||
path: src/github.com/containerd/cgroups | ||
|
||
- name: Install dependencies | ||
run: | | ||
wget https://github.com/protocolbuffers/protobuf/releases/download/v3.20.1/protoc-3.20.1-linux-x86_64.zip | ||
sudo unzip protoc-3.20.1-linux-x86_64.zip -d /usr/local | ||
go install google.golang.org/protobuf/cmd/[email protected] | ||
go install github.com/containerd/[email protected] | ||
go install github.com/containerd/protobuild/cmd/[email protected] | ||
working-directory: src/github.com/containerd/cgroups | ||
|
||
- name: Check auto-generated files | ||
run: | | ||
make proto | ||
git diff | ||
working-directory: src/github.com/containerd/cgroups | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
@@ | ||
@@ | ||
-KernelTcp | ||
+KernelTCP | ||
|
||
@@ | ||
@@ | ||
-Cpu | ||
+CPU | ||
|
||
@@ | ||
@@ | ||
-PerCpu | ||
+PerCPU | ||
|
||
@@ | ||
@@ | ||
-Rss | ||
+RSS | ||
|
||
@@ | ||
@@ | ||
-TotalRss | ||
+TotalRSS | ||
|
||
@@ | ||
@@ | ||
-RssHuge | ||
+RSSHuge | ||
|
||
@@ | ||
@@ | ||
-TotalRssHuge | ||
+TotalRSSHuge |
Oops, something went wrong.