[Build][gRPC] Publish protobuf schemas to Buf (#51276)
Signed-off-by: Connor Carpenter <connorc@nvidia.com> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
This commit is contained in:
co-authored by
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
parent
63ac04a61e
commit
635dd6aae6
@@ -0,0 +1,12 @@
|
||||
# gRPC protocol
|
||||
|
||||
This directory is the canonical source for vLLM's gRPC schema.
|
||||
|
||||
The schema is published to `buf.build/vllm-project/vllm`:
|
||||
|
||||
- A daily workflow publishes the latest Git `main` schema to the `nightly` label.
|
||||
- The workflow can be run manually to retry nightly publication.
|
||||
- Tags matching `v*` update the Buf `main` label and publish the corresponding release label.
|
||||
- Buf commits and generated SDK versions are immutable and can be pinned by consumers.
|
||||
|
||||
Repository setup requires a `BUF_TOKEN` GitHub Actions secret with permission to create and push the public Buf module. Register the Prost and Tonic generated SDKs for the `main` and `nightly` labels once so subsequent pushes generate them automatically.
|
||||
@@ -0,0 +1,8 @@
|
||||
# vLLM gRPC API
|
||||
|
||||
Protocol definitions for the optional gRPC server exposed by the vLLM Rust frontend.
|
||||
|
||||
- `Inference` provides unary and streaming generation.
|
||||
- `Control` provides discovery and request control.
|
||||
|
||||
The `nightly` label is updated daily from vLLM's `main` branch. The `main` label tracks the latest vLLM release, and version labels match tags such as `v0.27.0`. Pin a Buf commit or generated SDK version for reproducible builds.
|
||||
@@ -0,0 +1,9 @@
|
||||
version: v2
|
||||
modules:
|
||||
- path: .
|
||||
name: buf.build/vllm-project/vllm
|
||||
lint:
|
||||
use:
|
||||
- MINIMAL
|
||||
except:
|
||||
- PACKAGE_DIRECTORY_MATCH
|
||||
Reference in New Issue
Block a user