dd38622bab
Previously, the console portion of ZITADEL used Buf remote plugins to generate sources. This resulted in the hash for the protobuf generated code changing whenever the remote builders changed. This change patches the console configuration to use local plugins from Nixpkgs instead of remote ones, to ensure the output isn't influenced by remote changes.
21 lines
639 B
Diff
21 lines
639 B
Diff
diff --git a/console/buf.gen.yaml b/console/buf.gen.yaml
|
|
index 1737c2ded..d6affa8bc 100644
|
|
--- a/console/buf.gen.yaml
|
|
+++ b/console/buf.gen.yaml
|
|
@@ -3,12 +3,12 @@ version: v1
|
|
managed:
|
|
enabled: true
|
|
plugins:
|
|
- - plugin: buf.build/protocolbuffers/js
|
|
+ - plugin: js
|
|
out: src/app/proto/generated
|
|
opt: import_style=commonjs,binary
|
|
- - plugin: buf.build/grpc/web
|
|
+ - plugin: grpc-web
|
|
out: src/app/proto/generated
|
|
opt: import_style=typescript,mode=grpcweb
|
|
- - plugin: buf.build/grpc-ecosystem/openapiv2
|
|
+ - plugin: openapiv2
|
|
out: src/app/proto/generated
|
|
opt: allow_delete_body
|
|
\ No newline at end of file
|