Skip to content

Commit

Permalink
buf: migrate to v1 API (istio#2297)
Browse files Browse the repository at this point in the history
  • Loading branch information
howardjohn committed Mar 25, 2022
1 parent 422a18b commit 5ebfc62
Show file tree
Hide file tree
Showing 10 changed files with 942 additions and 959 deletions.
2 changes: 1 addition & 1 deletion buf.gen-golang.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# buf.gen.yaml sets up the generation configuration for all of our plugins.
# Note: buf does not allow multi roots that are within each other; as a result, the common-protos folders are
# symlinked into the top level directory.
version: v1beta1
version: v1
plugins:
- name: go
out: .
Expand Down
2 changes: 1 addition & 1 deletion buf.gen-noncrd.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: v1beta1
version: v1
plugins:
- name: go
out: .
Expand Down
2 changes: 1 addition & 1 deletion buf.gen.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 2 additions & 6 deletions buf.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,11 @@
version: v1beta1
version: v1
build:
roots:
- .
excludes:
# Note: buf does not allow multi roots that are within each other; as a result, the common-protos folders are
# symlinked into the top level directory.
- common-protos
lint:
allow_comment_ignores: true
use:
- BASIC
except:
- FIELD_LOWER_SNAKE_CASE
- PACKAGE_DIRECTORY_MATCH
allow_comment_ignores: true
138 changes: 68 additions & 70 deletions extensions/v1alpha1/wasm.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion extensions/v1alpha1/wasm.proto
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@

syntax = "proto3";

import "google/protobuf/any.proto";
import "google/protobuf/wrappers.proto";
import "google/protobuf/struct.proto";
import "type/v1beta1/selector.proto";
Expand Down
Loading

0 comments on commit 5ebfc62

Please sign in to comment.