Skip to content

Commit f52dd5c

Browse files
authored
Makefile: exclude Profiles protocol from breaking-changes (#576)
The Profiles protocol is still experimental. Exclude it from the breaking-changes check as such changes are expected at this stage. Signed-off-by: Florian Lehner <florian.lehner@elastic.co>
1 parent e6923b7 commit f52dd5c

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,10 +159,11 @@ gen-ruby:
159159
$(PROTOC) --ruby_out=./$(PROTO_GEN_RUBY_DIR) --grpc-ruby_out=./$(PROTO_GEN_RUBY_DIR) opentelemetry/proto/collector/metrics/v1/metrics_service.proto
160160
$(PROTOC) --ruby_out=./$(PROTO_GEN_RUBY_DIR) --grpc-ruby_out=./$(PROTO_GEN_RUBY_DIR) opentelemetry/proto/collector/logs/v1/logs_service.proto
161161
$(PROTOC) --ruby_out=./$(PROTO_GEN_RUBY_DIR) --grpc-ruby_out=./$(PROTO_GEN_RUBY_DIR) opentelemetry/proto/collector/profiles/v1experimental/profiles_service.proto
162-
162+
163+
# The Profiling protocol is still experimental. So it is excluded from the breaking-change check.
163164
.PHONY: breaking-change
164165
breaking-change:
165-
$(BUF) breaking --against $(BUF_AGAINST) $(BUF_FLAGS)
166+
$(BUF) breaking --against $(BUF_AGAINST) --config '{"version":"v1","breaking":{"ignore":["opentelemetry/proto/profiles"]}}' $(BUF_FLAGS)
166167

167168

168169
ALL_DOCS := $(shell find . -type f -name '*.md' -not -path './.github/*' -not -path './node_modules/*' | sort)

0 commit comments

Comments
 (0)