Centralize envd proto source of truth to proto/envd/

Remove duplicate proto files from envd/spec/ and update envd's
buf.gen.yaml to generate stubs from the canonical proto/envd/ location.
Both modules now generate their own Connect RPC stubs from the same
source protos.
This commit is contained in:
2026-03-10 02:49:31 +06:00
parent 7753938044
commit c31ce90306
4 changed files with 9 additions and 314 deletions

View File

@ -1,14 +1,15 @@
version: v1
version: v2
plugins:
- plugin: go
- protoc_builtin: go
out: ../internal/services/spec
opt: paths=source_relative
- plugin: connect-go
- local: protoc-gen-connect-go
out: ../internal/services/spec
opt: paths=source_relative
inputs:
- directory: ../../proto/envd
managed:
enabled: true
optimize_for: SPEED
go_package_prefix:
default: git.omukk.dev/wrenn/sandbox/envd/internal/services/spec
override:
- file_option: go_package_prefix
value: git.omukk.dev/wrenn/sandbox/envd/internal/services/spec