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:
parent
8b9498909d
commit
77c0539e9a
@ -1,4 +1,4 @@
|
|||||||
version = "unstable"
|
version = "1"
|
||||||
generator = "gogoctrd"
|
generator = "gogoctrd"
|
||||||
plugins = ["grpc", "fieldpath"]
|
plugins = ["grpc", "fieldpath"]
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
version = "unstable"
|
version = "1"
|
||||||
generator = "gogoctrd"
|
generator = "gogoctrd"
|
||||||
plugins = ["grpc", "fieldpath"]
|
plugins = ["grpc", "fieldpath"]
|
||||||
|
|
||||||
|
@ -181,8 +181,8 @@ file {
|
|||||||
label: LABEL_OPTIONAL
|
label: LABEL_OPTIONAL
|
||||||
type: TYPE_STRING
|
type: TYPE_STRING
|
||||||
options {
|
options {
|
||||||
65001: 0
|
|
||||||
65003: "github.com/opencontainers/go-digest.Digest"
|
65003: "github.com/opencontainers/go-digest.Digest"
|
||||||
|
65001: 0
|
||||||
}
|
}
|
||||||
json_name: "digest"
|
json_name: "digest"
|
||||||
}
|
}
|
||||||
@ -622,8 +622,8 @@ file {
|
|||||||
type: TYPE_MESSAGE
|
type: TYPE_MESSAGE
|
||||||
type_name: ".google.protobuf.Timestamp"
|
type_name: ".google.protobuf.Timestamp"
|
||||||
options {
|
options {
|
||||||
65001: 0
|
|
||||||
65010: 1
|
65010: 1
|
||||||
|
65001: 0
|
||||||
}
|
}
|
||||||
json_name: "exitedAt"
|
json_name: "exitedAt"
|
||||||
}
|
}
|
||||||
@ -703,8 +703,8 @@ file {
|
|||||||
type: TYPE_MESSAGE
|
type: TYPE_MESSAGE
|
||||||
type_name: ".google.protobuf.Timestamp"
|
type_name: ".google.protobuf.Timestamp"
|
||||||
options {
|
options {
|
||||||
65001: 0
|
|
||||||
65010: 1
|
65010: 1
|
||||||
|
65001: 0
|
||||||
}
|
}
|
||||||
json_name: "exitedAt"
|
json_name: "exitedAt"
|
||||||
}
|
}
|
||||||
@ -915,8 +915,8 @@ file {
|
|||||||
type: TYPE_MESSAGE
|
type: TYPE_MESSAGE
|
||||||
type_name: ".google.protobuf.Timestamp"
|
type_name: ".google.protobuf.Timestamp"
|
||||||
options {
|
options {
|
||||||
65001: 0
|
|
||||||
65010: 1
|
65010: 1
|
||||||
|
65001: 0
|
||||||
}
|
}
|
||||||
json_name: "createdAt"
|
json_name: "createdAt"
|
||||||
}
|
}
|
||||||
@ -927,8 +927,8 @@ file {
|
|||||||
type: TYPE_MESSAGE
|
type: TYPE_MESSAGE
|
||||||
type_name: ".google.protobuf.Timestamp"
|
type_name: ".google.protobuf.Timestamp"
|
||||||
options {
|
options {
|
||||||
65001: 0
|
|
||||||
65010: 1
|
65010: 1
|
||||||
|
65001: 0
|
||||||
}
|
}
|
||||||
json_name: "updatedAt"
|
json_name: "updatedAt"
|
||||||
}
|
}
|
||||||
@ -1191,8 +1191,8 @@ file {
|
|||||||
label: LABEL_OPTIONAL
|
label: LABEL_OPTIONAL
|
||||||
type: TYPE_STRING
|
type: TYPE_STRING
|
||||||
options {
|
options {
|
||||||
65001: 0
|
|
||||||
65003: "github.com/opencontainers/go-digest.Digest"
|
65003: "github.com/opencontainers/go-digest.Digest"
|
||||||
|
65001: 0
|
||||||
}
|
}
|
||||||
json_name: "digest"
|
json_name: "digest"
|
||||||
}
|
}
|
||||||
@ -1210,8 +1210,8 @@ file {
|
|||||||
type: TYPE_MESSAGE
|
type: TYPE_MESSAGE
|
||||||
type_name: ".google.protobuf.Timestamp"
|
type_name: ".google.protobuf.Timestamp"
|
||||||
options {
|
options {
|
||||||
65001: 0
|
|
||||||
65010: 1
|
65010: 1
|
||||||
|
65001: 0
|
||||||
}
|
}
|
||||||
json_name: "createdAt"
|
json_name: "createdAt"
|
||||||
}
|
}
|
||||||
@ -1222,8 +1222,8 @@ file {
|
|||||||
type: TYPE_MESSAGE
|
type: TYPE_MESSAGE
|
||||||
type_name: ".google.protobuf.Timestamp"
|
type_name: ".google.protobuf.Timestamp"
|
||||||
options {
|
options {
|
||||||
65001: 0
|
|
||||||
65010: 1
|
65010: 1
|
||||||
|
65001: 0
|
||||||
}
|
}
|
||||||
json_name: "updatedAt"
|
json_name: "updatedAt"
|
||||||
}
|
}
|
||||||
@ -1264,8 +1264,8 @@ file {
|
|||||||
label: LABEL_OPTIONAL
|
label: LABEL_OPTIONAL
|
||||||
type: TYPE_STRING
|
type: TYPE_STRING
|
||||||
options {
|
options {
|
||||||
65001: 0
|
|
||||||
65003: "github.com/opencontainers/go-digest.Digest"
|
65003: "github.com/opencontainers/go-digest.Digest"
|
||||||
|
65001: 0
|
||||||
}
|
}
|
||||||
json_name: "digest"
|
json_name: "digest"
|
||||||
}
|
}
|
||||||
@ -1352,8 +1352,8 @@ file {
|
|||||||
label: LABEL_OPTIONAL
|
label: LABEL_OPTIONAL
|
||||||
type: TYPE_STRING
|
type: TYPE_STRING
|
||||||
options {
|
options {
|
||||||
65001: 0
|
|
||||||
65003: "github.com/opencontainers/go-digest.Digest"
|
65003: "github.com/opencontainers/go-digest.Digest"
|
||||||
|
65001: 0
|
||||||
}
|
}
|
||||||
json_name: "digest"
|
json_name: "digest"
|
||||||
}
|
}
|
||||||
@ -1366,8 +1366,8 @@ file {
|
|||||||
label: LABEL_OPTIONAL
|
label: LABEL_OPTIONAL
|
||||||
type: TYPE_STRING
|
type: TYPE_STRING
|
||||||
options {
|
options {
|
||||||
65001: 0
|
|
||||||
65003: "github.com/opencontainers/go-digest.Digest"
|
65003: "github.com/opencontainers/go-digest.Digest"
|
||||||
|
65001: 0
|
||||||
}
|
}
|
||||||
json_name: "digest"
|
json_name: "digest"
|
||||||
}
|
}
|
||||||
@ -1412,8 +1412,8 @@ file {
|
|||||||
type: TYPE_MESSAGE
|
type: TYPE_MESSAGE
|
||||||
type_name: ".google.protobuf.Timestamp"
|
type_name: ".google.protobuf.Timestamp"
|
||||||
options {
|
options {
|
||||||
65001: 0
|
|
||||||
65010: 1
|
65010: 1
|
||||||
|
65001: 0
|
||||||
}
|
}
|
||||||
json_name: "startedAt"
|
json_name: "startedAt"
|
||||||
}
|
}
|
||||||
@ -1424,8 +1424,8 @@ file {
|
|||||||
type: TYPE_MESSAGE
|
type: TYPE_MESSAGE
|
||||||
type_name: ".google.protobuf.Timestamp"
|
type_name: ".google.protobuf.Timestamp"
|
||||||
options {
|
options {
|
||||||
65001: 0
|
|
||||||
65010: 1
|
65010: 1
|
||||||
|
65001: 0
|
||||||
}
|
}
|
||||||
json_name: "updatedAt"
|
json_name: "updatedAt"
|
||||||
}
|
}
|
||||||
@ -1456,8 +1456,8 @@ file {
|
|||||||
label: LABEL_OPTIONAL
|
label: LABEL_OPTIONAL
|
||||||
type: TYPE_STRING
|
type: TYPE_STRING
|
||||||
options {
|
options {
|
||||||
65001: 0
|
|
||||||
65003: "github.com/opencontainers/go-digest.Digest"
|
65003: "github.com/opencontainers/go-digest.Digest"
|
||||||
|
65001: 0
|
||||||
}
|
}
|
||||||
json_name: "expected"
|
json_name: "expected"
|
||||||
}
|
}
|
||||||
@ -1537,8 +1537,8 @@ file {
|
|||||||
label: LABEL_OPTIONAL
|
label: LABEL_OPTIONAL
|
||||||
type: TYPE_STRING
|
type: TYPE_STRING
|
||||||
options {
|
options {
|
||||||
65001: 0
|
|
||||||
65003: "github.com/opencontainers/go-digest.Digest"
|
65003: "github.com/opencontainers/go-digest.Digest"
|
||||||
|
65001: 0
|
||||||
}
|
}
|
||||||
json_name: "expected"
|
json_name: "expected"
|
||||||
}
|
}
|
||||||
@ -1602,8 +1602,8 @@ file {
|
|||||||
type: TYPE_MESSAGE
|
type: TYPE_MESSAGE
|
||||||
type_name: ".google.protobuf.Timestamp"
|
type_name: ".google.protobuf.Timestamp"
|
||||||
options {
|
options {
|
||||||
65001: 0
|
|
||||||
65010: 1
|
65010: 1
|
||||||
|
65001: 0
|
||||||
}
|
}
|
||||||
json_name: "startedAt"
|
json_name: "startedAt"
|
||||||
}
|
}
|
||||||
@ -1614,8 +1614,8 @@ file {
|
|||||||
type: TYPE_MESSAGE
|
type: TYPE_MESSAGE
|
||||||
type_name: ".google.protobuf.Timestamp"
|
type_name: ".google.protobuf.Timestamp"
|
||||||
options {
|
options {
|
||||||
65001: 0
|
|
||||||
65010: 1
|
65010: 1
|
||||||
|
65001: 0
|
||||||
}
|
}
|
||||||
json_name: "updatedAt"
|
json_name: "updatedAt"
|
||||||
}
|
}
|
||||||
@ -1639,8 +1639,8 @@ file {
|
|||||||
label: LABEL_OPTIONAL
|
label: LABEL_OPTIONAL
|
||||||
type: TYPE_STRING
|
type: TYPE_STRING
|
||||||
options {
|
options {
|
||||||
65001: 0
|
|
||||||
65003: "github.com/opencontainers/go-digest.Digest"
|
65003: "github.com/opencontainers/go-digest.Digest"
|
||||||
|
65001: 0
|
||||||
}
|
}
|
||||||
json_name: "digest"
|
json_name: "digest"
|
||||||
}
|
}
|
||||||
@ -1760,8 +1760,8 @@ file {
|
|||||||
label: LABEL_OPTIONAL
|
label: LABEL_OPTIONAL
|
||||||
type: TYPE_STRING
|
type: TYPE_STRING
|
||||||
options {
|
options {
|
||||||
65001: 0
|
|
||||||
65003: "github.com/opencontainers/go-digest.Digest"
|
65003: "github.com/opencontainers/go-digest.Digest"
|
||||||
|
65001: 0
|
||||||
}
|
}
|
||||||
json_name: "digest"
|
json_name: "digest"
|
||||||
}
|
}
|
||||||
@ -2020,8 +2020,8 @@ file {
|
|||||||
type: TYPE_MESSAGE
|
type: TYPE_MESSAGE
|
||||||
type_name: ".google.protobuf.Timestamp"
|
type_name: ".google.protobuf.Timestamp"
|
||||||
options {
|
options {
|
||||||
65001: 0
|
|
||||||
65010: 1
|
65010: 1
|
||||||
|
65001: 0
|
||||||
}
|
}
|
||||||
json_name: "timestamp"
|
json_name: "timestamp"
|
||||||
}
|
}
|
||||||
@ -2120,8 +2120,8 @@ file {
|
|||||||
type: TYPE_MESSAGE
|
type: TYPE_MESSAGE
|
||||||
type_name: ".google.protobuf.Timestamp"
|
type_name: ".google.protobuf.Timestamp"
|
||||||
options {
|
options {
|
||||||
65001: 0
|
|
||||||
65010: 1
|
65010: 1
|
||||||
|
65001: 0
|
||||||
}
|
}
|
||||||
json_name: "createdAt"
|
json_name: "createdAt"
|
||||||
}
|
}
|
||||||
@ -2132,8 +2132,8 @@ file {
|
|||||||
type: TYPE_MESSAGE
|
type: TYPE_MESSAGE
|
||||||
type_name: ".google.protobuf.Timestamp"
|
type_name: ".google.protobuf.Timestamp"
|
||||||
options {
|
options {
|
||||||
65001: 0
|
|
||||||
65010: 1
|
65010: 1
|
||||||
|
65001: 0
|
||||||
}
|
}
|
||||||
json_name: "updatedAt"
|
json_name: "updatedAt"
|
||||||
}
|
}
|
||||||
@ -2557,8 +2557,8 @@ file {
|
|||||||
type: TYPE_MESSAGE
|
type: TYPE_MESSAGE
|
||||||
type_name: ".google.protobuf.Timestamp"
|
type_name: ".google.protobuf.Timestamp"
|
||||||
options {
|
options {
|
||||||
65001: 0
|
|
||||||
65010: 1
|
65010: 1
|
||||||
|
65001: 0
|
||||||
}
|
}
|
||||||
json_name: "createdAt"
|
json_name: "createdAt"
|
||||||
}
|
}
|
||||||
@ -3279,8 +3279,8 @@ file {
|
|||||||
type: TYPE_MESSAGE
|
type: TYPE_MESSAGE
|
||||||
type_name: ".google.protobuf.Timestamp"
|
type_name: ".google.protobuf.Timestamp"
|
||||||
options {
|
options {
|
||||||
65001: 0
|
|
||||||
65010: 1
|
65010: 1
|
||||||
|
65001: 0
|
||||||
}
|
}
|
||||||
json_name: "createdAt"
|
json_name: "createdAt"
|
||||||
}
|
}
|
||||||
@ -3291,8 +3291,8 @@ file {
|
|||||||
type: TYPE_MESSAGE
|
type: TYPE_MESSAGE
|
||||||
type_name: ".google.protobuf.Timestamp"
|
type_name: ".google.protobuf.Timestamp"
|
||||||
options {
|
options {
|
||||||
65001: 0
|
|
||||||
65010: 1
|
65010: 1
|
||||||
|
65001: 0
|
||||||
}
|
}
|
||||||
json_name: "updatedAt"
|
json_name: "updatedAt"
|
||||||
}
|
}
|
||||||
@ -3567,8 +3567,8 @@ file {
|
|||||||
type: TYPE_MESSAGE
|
type: TYPE_MESSAGE
|
||||||
type_name: ".google.protobuf.Timestamp"
|
type_name: ".google.protobuf.Timestamp"
|
||||||
options {
|
options {
|
||||||
65001: 0
|
|
||||||
65010: 1
|
65010: 1
|
||||||
|
65001: 0
|
||||||
}
|
}
|
||||||
json_name: "timestamp"
|
json_name: "timestamp"
|
||||||
}
|
}
|
||||||
@ -3673,8 +3673,8 @@ file {
|
|||||||
type: TYPE_MESSAGE
|
type: TYPE_MESSAGE
|
||||||
type_name: ".google.protobuf.Timestamp"
|
type_name: ".google.protobuf.Timestamp"
|
||||||
options {
|
options {
|
||||||
65001: 0
|
|
||||||
65010: 1
|
65010: 1
|
||||||
|
65001: 0
|
||||||
}
|
}
|
||||||
json_name: "exitedAt"
|
json_name: "exitedAt"
|
||||||
}
|
}
|
||||||
@ -3913,8 +3913,8 @@ file {
|
|||||||
type: TYPE_MESSAGE
|
type: TYPE_MESSAGE
|
||||||
type_name: ".google.protobuf.Timestamp"
|
type_name: ".google.protobuf.Timestamp"
|
||||||
options {
|
options {
|
||||||
65001: 0
|
|
||||||
65010: 1
|
65010: 1
|
||||||
|
65001: 0
|
||||||
}
|
}
|
||||||
json_name: "exitedAt"
|
json_name: "exitedAt"
|
||||||
}
|
}
|
||||||
@ -4183,8 +4183,8 @@ file {
|
|||||||
label: LABEL_OPTIONAL
|
label: LABEL_OPTIONAL
|
||||||
type: TYPE_STRING
|
type: TYPE_STRING
|
||||||
options {
|
options {
|
||||||
65001: 0
|
|
||||||
65003: "github.com/opencontainers/go-digest.Digest"
|
65003: "github.com/opencontainers/go-digest.Digest"
|
||||||
|
65001: 0
|
||||||
}
|
}
|
||||||
json_name: "parentCheckpoint"
|
json_name: "parentCheckpoint"
|
||||||
}
|
}
|
||||||
@ -4308,8 +4308,8 @@ file {
|
|||||||
type: TYPE_MESSAGE
|
type: TYPE_MESSAGE
|
||||||
type_name: ".google.protobuf.Timestamp"
|
type_name: ".google.protobuf.Timestamp"
|
||||||
options {
|
options {
|
||||||
65001: 0
|
|
||||||
65010: 1
|
65010: 1
|
||||||
|
65001: 0
|
||||||
}
|
}
|
||||||
json_name: "exitedAt"
|
json_name: "exitedAt"
|
||||||
}
|
}
|
||||||
@ -4436,8 +4436,8 @@ file {
|
|||||||
type: TYPE_MESSAGE
|
type: TYPE_MESSAGE
|
||||||
type_name: ".google.protobuf.Timestamp"
|
type_name: ".google.protobuf.Timestamp"
|
||||||
options {
|
options {
|
||||||
65001: 0
|
|
||||||
65010: 1
|
65010: 1
|
||||||
|
65001: 0
|
||||||
}
|
}
|
||||||
json_name: "timestamp"
|
json_name: "timestamp"
|
||||||
}
|
}
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
set -eu -o pipefail
|
set -eu -o pipefail
|
||||||
|
|
||||||
# install `protobuild` and other commands
|
# 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/cpuguy83/go-md2man/v2@v2.0.1
|
||||||
go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.42.0
|
go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.42.0
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user