From 1b468aa82256ec148bce612c96ed0bff325e18e3 Mon Sep 17 00:00:00 2001 From: Marc Pichler Date: Tue, 13 Jun 2023 09:55:57 +0200 Subject: [PATCH] fix(instrumentation-grpc): update buf and add ts_nocheck option --- .../test/fixtures/buf.gen.ts.yaml | 8 ------- .../test/fixtures/buf.gen.yaml | 22 +++++++++---------- .../test/fixtures/buf.lock | 8 +++++++ .../test/fixtures/buf.yaml | 8 ++++--- 4 files changed, 23 insertions(+), 23 deletions(-) delete mode 100644 experimental/packages/opentelemetry-instrumentation-grpc/test/fixtures/buf.gen.ts.yaml create mode 100644 experimental/packages/opentelemetry-instrumentation-grpc/test/fixtures/buf.lock diff --git a/experimental/packages/opentelemetry-instrumentation-grpc/test/fixtures/buf.gen.ts.yaml b/experimental/packages/opentelemetry-instrumentation-grpc/test/fixtures/buf.gen.ts.yaml deleted file mode 100644 index 026e84d6693..00000000000 --- a/experimental/packages/opentelemetry-instrumentation-grpc/test/fixtures/buf.gen.ts.yaml +++ /dev/null @@ -1,8 +0,0 @@ -version: v1 -plugins: - - remote: buf.build/timostamm/plugins/protobuf-ts:v2.2.2-1 - out: ../test/proto/ts - opt: - - long_type_string - - generate_dependencies - diff --git a/experimental/packages/opentelemetry-instrumentation-grpc/test/fixtures/buf.gen.yaml b/experimental/packages/opentelemetry-instrumentation-grpc/test/fixtures/buf.gen.yaml index 2043cd79290..d4e280d5bbb 100644 --- a/experimental/packages/opentelemetry-instrumentation-grpc/test/fixtures/buf.gen.yaml +++ b/experimental/packages/opentelemetry-instrumentation-grpc/test/fixtures/buf.gen.yaml @@ -1,13 +1,11 @@ version: v1 -deps: - - buf.build/googleapis/googleapis - - buf.build/grpc-ecosystem/grpc-gateway -breaking: - use: - - FILE -lint: - use: - - DEFAULT - ignore: - - buf.build/googleapis/googleapis - - buf.build/grpc-ecosystem/grpc-gateway +plugins: + - name: ts + out: ../../test/proto/ts/fixtures + opt: + - long_type_string + - generate_dependencies + - ts_nocheck + path: ../../node_modules/.bin/protoc-gen-ts + strategy: all + diff --git a/experimental/packages/opentelemetry-instrumentation-grpc/test/fixtures/buf.lock b/experimental/packages/opentelemetry-instrumentation-grpc/test/fixtures/buf.lock new file mode 100644 index 00000000000..65d8f1f75c5 --- /dev/null +++ b/experimental/packages/opentelemetry-instrumentation-grpc/test/fixtures/buf.lock @@ -0,0 +1,8 @@ +# Generated by buf. DO NOT EDIT. +version: v1 +deps: + - remote: buf.build + owner: googleapis + repository: googleapis + commit: cc916c31859748a68fd229a3c8d7a2e8 + digest: shake256:469b049d0eb04203d5272062636c078decefc96fec69739159c25d85349c50c34c7706918a8b216c5c27f76939df48452148cff8c5c3ae77fa6ba5c25c1b8bf8 diff --git a/experimental/packages/opentelemetry-instrumentation-grpc/test/fixtures/buf.yaml b/experimental/packages/opentelemetry-instrumentation-grpc/test/fixtures/buf.yaml index 1a5194568a9..dc977e439a7 100644 --- a/experimental/packages/opentelemetry-instrumentation-grpc/test/fixtures/buf.yaml +++ b/experimental/packages/opentelemetry-instrumentation-grpc/test/fixtures/buf.yaml @@ -1,7 +1,9 @@ version: v1 -breaking: - use: - - FILE lint: use: - DEFAULT +breaking: + use: + - FILE +deps: + - buf.build/googleapis/googleapis