feat(tvix/build): add BuildService trait

Also provide a dummy implementation that just fails on any build that's
requested.

Change-Id: I0df743a730c5331ec9ce6e97a966abe18ce067f5
Reviewed-on: https://cl.tvl.fyi/c/depot/+/10627
Autosubmit: flokli <flokli@flokli.de>
Reviewed-by: raitobezarius <tvl@lahfa.xyz>
Tested-by: BuildkiteCI
This commit is contained in:
Florian Klink 2024-01-15 18:43:15 +02:00 committed by clbot
parent 9fd15ba506
commit 4fb4fc263d
6 changed files with 38 additions and 0 deletions

View file

@ -10,6 +10,7 @@ prost = "0.12.1"
thiserror = "1.0.56"
tonic = "0.10.2"
tvix-castore = { path = "../castore" }
tracing = "0.1.37"
[dependencies.tonic-reflection]
optional = true