chore: exclude storage protobuf files from API linting (#2254)

jimlambrt-worker-dag
Michael Gaffney 4 years ago committed by GitHub
parent 7ab7c8eaf4
commit 194b3af678
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -211,9 +211,10 @@ protobuild:
.PHONY: protolint
protolint:
@buf lint
# First check all protos except controller/servers for WIRE_JSON compatibility
# First check all protos except controller/servers and controller/storage for WIRE_JSON compatibility
cd internal/proto && buf breaking --against 'https://github.com/hashicorp/boundary.git#branch=stable-website,subdir=internal/proto' \
--exclude-path=controller/servers \
--exclude-path=controller/storage \
--config buf.breaking.json.yaml
# Next check all protos for WIRE compatibility. WIRE is a subset of WIRE_JSON so we don't need to exclude any files.
cd internal/proto && buf breaking --against 'https://github.com/hashicorp/boundary.git#branch=stable-website,subdir=internal/proto' \

Loading…
Cancel
Save