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>
pull/575/head^2
Florian Lehner 6 months ago committed by GitHub
parent e6923b74cc
commit f52dd5ca12
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 5
      Makefile

@ -159,10 +159,11 @@ gen-ruby:
$(PROTOC) --ruby_out=./$(PROTO_GEN_RUBY_DIR) --grpc-ruby_out=./$(PROTO_GEN_RUBY_DIR) opentelemetry/proto/collector/metrics/v1/metrics_service.proto
$(PROTOC) --ruby_out=./$(PROTO_GEN_RUBY_DIR) --grpc-ruby_out=./$(PROTO_GEN_RUBY_DIR) opentelemetry/proto/collector/logs/v1/logs_service.proto
$(PROTOC) --ruby_out=./$(PROTO_GEN_RUBY_DIR) --grpc-ruby_out=./$(PROTO_GEN_RUBY_DIR) opentelemetry/proto/collector/profiles/v1experimental/profiles_service.proto
# The Profiling protocol is still experimental. So it is excluded from the breaking-change check.
.PHONY: breaking-change
breaking-change:
$(BUF) breaking --against $(BUF_AGAINST) $(BUF_FLAGS)
$(BUF) breaking --against $(BUF_AGAINST) --config '{"version":"v1","breaking":{"ignore":["opentelemetry/proto/profiles"]}}' $(BUF_FLAGS)
ALL_DOCS := $(shell find . -type f -name '*.md' -not -path './.github/*' -not -path './node_modules/*' | sort)

Loading…
Cancel
Save