Use containerd/protobuild instead of stevvooe/protobuild

The new version still supports gogo/protobuf, but can be used with newer
protobuf packages if version = 2.

Signed-off-by: Kazuyoshi Kato <katokazu@amazon.com>
This commit is contained in:
Kazuyoshi Kato 2022-02-21 17:42:35 +00:00
parent 8b9498909d
commit 77c0539e9a
4 changed files with 34 additions and 34 deletions

View File

@ -1,4 +1,4 @@
version = "unstable"
version = "1"
generator = "gogoctrd"
plugins = ["grpc", "fieldpath"]

View File

@ -1,4 +1,4 @@
version = "unstable"
version = "1"
generator = "gogoctrd"
plugins = ["grpc", "fieldpath"]

View File

@ -181,8 +181,8 @@ file {
label: LABEL_OPTIONAL
type: TYPE_STRING
options {
65001: 0
65003: "github.com/opencontainers/go-digest.Digest"
65001: 0
}
json_name: "digest"
}
@ -622,8 +622,8 @@ file {
type: TYPE_MESSAGE
type_name: ".google.protobuf.Timestamp"
options {
65001: 0
65010: 1
65001: 0
}
json_name: "exitedAt"
}
@ -703,8 +703,8 @@ file {
type: TYPE_MESSAGE
type_name: ".google.protobuf.Timestamp"
options {
65001: 0
65010: 1
65001: 0
}
json_name: "exitedAt"
}
@ -915,8 +915,8 @@ file {
type: TYPE_MESSAGE
type_name: ".google.protobuf.Timestamp"
options {
65001: 0
65010: 1
65001: 0
}
json_name: "createdAt"
}
@ -927,8 +927,8 @@ file {
type: TYPE_MESSAGE
type_name: ".google.protobuf.Timestamp"
options {
65001: 0
65010: 1
65001: 0
}
json_name: "updatedAt"
}
@ -1191,8 +1191,8 @@ file {
label: LABEL_OPTIONAL
type: TYPE_STRING
options {
65001: 0
65003: "github.com/opencontainers/go-digest.Digest"
65001: 0
}
json_name: "digest"
}
@ -1210,8 +1210,8 @@ file {
type: TYPE_MESSAGE
type_name: ".google.protobuf.Timestamp"
options {
65001: 0
65010: 1
65001: 0
}
json_name: "createdAt"
}
@ -1222,8 +1222,8 @@ file {
type: TYPE_MESSAGE
type_name: ".google.protobuf.Timestamp"
options {
65001: 0
65010: 1
65001: 0
}
json_name: "updatedAt"
}
@ -1264,8 +1264,8 @@ file {
label: LABEL_OPTIONAL
type: TYPE_STRING
options {
65001: 0
65003: "github.com/opencontainers/go-digest.Digest"
65001: 0
}
json_name: "digest"
}
@ -1352,8 +1352,8 @@ file {
label: LABEL_OPTIONAL
type: TYPE_STRING
options {
65001: 0
65003: "github.com/opencontainers/go-digest.Digest"
65001: 0
}
json_name: "digest"
}
@ -1366,8 +1366,8 @@ file {
label: LABEL_OPTIONAL
type: TYPE_STRING
options {
65001: 0
65003: "github.com/opencontainers/go-digest.Digest"
65001: 0
}
json_name: "digest"
}
@ -1412,8 +1412,8 @@ file {
type: TYPE_MESSAGE
type_name: ".google.protobuf.Timestamp"
options {
65001: 0
65010: 1
65001: 0
}
json_name: "startedAt"
}
@ -1424,8 +1424,8 @@ file {
type: TYPE_MESSAGE
type_name: ".google.protobuf.Timestamp"
options {
65001: 0
65010: 1
65001: 0
}
json_name: "updatedAt"
}
@ -1456,8 +1456,8 @@ file {
label: LABEL_OPTIONAL
type: TYPE_STRING
options {
65001: 0
65003: "github.com/opencontainers/go-digest.Digest"
65001: 0
}
json_name: "expected"
}
@ -1537,8 +1537,8 @@ file {
label: LABEL_OPTIONAL
type: TYPE_STRING
options {
65001: 0
65003: "github.com/opencontainers/go-digest.Digest"
65001: 0
}
json_name: "expected"
}
@ -1602,8 +1602,8 @@ file {
type: TYPE_MESSAGE
type_name: ".google.protobuf.Timestamp"
options {
65001: 0
65010: 1
65001: 0
}
json_name: "startedAt"
}
@ -1614,8 +1614,8 @@ file {
type: TYPE_MESSAGE
type_name: ".google.protobuf.Timestamp"
options {
65001: 0
65010: 1
65001: 0
}
json_name: "updatedAt"
}
@ -1639,8 +1639,8 @@ file {
label: LABEL_OPTIONAL
type: TYPE_STRING
options {
65001: 0
65003: "github.com/opencontainers/go-digest.Digest"
65001: 0
}
json_name: "digest"
}
@ -1760,8 +1760,8 @@ file {
label: LABEL_OPTIONAL
type: TYPE_STRING
options {
65001: 0
65003: "github.com/opencontainers/go-digest.Digest"
65001: 0
}
json_name: "digest"
}
@ -2020,8 +2020,8 @@ file {
type: TYPE_MESSAGE
type_name: ".google.protobuf.Timestamp"
options {
65001: 0
65010: 1
65001: 0
}
json_name: "timestamp"
}
@ -2120,8 +2120,8 @@ file {
type: TYPE_MESSAGE
type_name: ".google.protobuf.Timestamp"
options {
65001: 0
65010: 1
65001: 0
}
json_name: "createdAt"
}
@ -2132,8 +2132,8 @@ file {
type: TYPE_MESSAGE
type_name: ".google.protobuf.Timestamp"
options {
65001: 0
65010: 1
65001: 0
}
json_name: "updatedAt"
}
@ -2557,8 +2557,8 @@ file {
type: TYPE_MESSAGE
type_name: ".google.protobuf.Timestamp"
options {
65001: 0
65010: 1
65001: 0
}
json_name: "createdAt"
}
@ -3279,8 +3279,8 @@ file {
type: TYPE_MESSAGE
type_name: ".google.protobuf.Timestamp"
options {
65001: 0
65010: 1
65001: 0
}
json_name: "createdAt"
}
@ -3291,8 +3291,8 @@ file {
type: TYPE_MESSAGE
type_name: ".google.protobuf.Timestamp"
options {
65001: 0
65010: 1
65001: 0
}
json_name: "updatedAt"
}
@ -3567,8 +3567,8 @@ file {
type: TYPE_MESSAGE
type_name: ".google.protobuf.Timestamp"
options {
65001: 0
65010: 1
65001: 0
}
json_name: "timestamp"
}
@ -3673,8 +3673,8 @@ file {
type: TYPE_MESSAGE
type_name: ".google.protobuf.Timestamp"
options {
65001: 0
65010: 1
65001: 0
}
json_name: "exitedAt"
}
@ -3913,8 +3913,8 @@ file {
type: TYPE_MESSAGE
type_name: ".google.protobuf.Timestamp"
options {
65001: 0
65010: 1
65001: 0
}
json_name: "exitedAt"
}
@ -4183,8 +4183,8 @@ file {
label: LABEL_OPTIONAL
type: TYPE_STRING
options {
65001: 0
65003: "github.com/opencontainers/go-digest.Digest"
65001: 0
}
json_name: "parentCheckpoint"
}
@ -4308,8 +4308,8 @@ file {
type: TYPE_MESSAGE
type_name: ".google.protobuf.Timestamp"
options {
65001: 0
65010: 1
65001: 0
}
json_name: "exitedAt"
}
@ -4436,8 +4436,8 @@ file {
type: TYPE_MESSAGE
type_name: ".google.protobuf.Timestamp"
options {
65001: 0
65010: 1
65001: 0
}
json_name: "timestamp"
}

View File

@ -21,7 +21,7 @@
set -eu -o pipefail
# install `protobuild` and other commands
go install github.com/stevvooe/protobuild@v0.1.0
go install github.com/containerd/protobuild@7e5ee24bc1f70e9e289fef15e2631eb3491320bf
go install github.com/cpuguy83/go-md2man/v2@v2.0.1
go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.42.0