From 194b3af678f4a2683d7a20519951004e0f9ef5bc Mon Sep 17 00:00:00 2001 From: Michael Gaffney Date: Mon, 11 Jul 2022 17:23:09 -0400 Subject: [PATCH] chore: exclude storage protobuf files from API linting (#2254) --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index eeded85215..805afb5d70 100644 --- a/Makefile +++ b/Makefile @@ -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' \