refactor(tvix/boot/tests): use nar-bridge-rs
This switches the boot tests from the golang implementation to the rust one. Change-Id: Ide2a47aebe40c172077147c05bb6dacd74ba6b1e Reviewed-on: https://cl.tvl.fyi/c/depot/+/11997 Tested-by: BuildkiteCI Reviewed-by: Brian Olsen <me@griff.name>
This commit is contained in:
parent
d136f2c881
commit
fdc0cf0c94
1 changed files with 3 additions and 4 deletions
|
@ -45,7 +45,7 @@ let
|
||||||
depot.tvix.store
|
depot.tvix.store
|
||||||
depot.tvix.boot.runVM
|
depot.tvix.boot.runVM
|
||||||
] ++ lib.optionals (isClosure && useNarBridge) [
|
] ++ lib.optionals (isClosure && useNarBridge) [
|
||||||
depot.tvix.nar-bridge-go
|
depot.tvix.nar-bridge
|
||||||
pkgs.curl
|
pkgs.curl
|
||||||
pkgs.parallel
|
pkgs.parallel
|
||||||
pkgs.xz.bin
|
pkgs.xz.bin
|
||||||
|
@ -85,10 +85,9 @@ let
|
||||||
tvix-store --otlp=false copy
|
tvix-store --otlp=false copy
|
||||||
'' + lib.optionalString (isClosure && useNarBridge) ''
|
'' + lib.optionalString (isClosure && useNarBridge) ''
|
||||||
echo "Starting nar-bridge…"
|
echo "Starting nar-bridge…"
|
||||||
nar-bridge-http \
|
nar-bridge \
|
||||||
--otlp=false \
|
--otlp=false \
|
||||||
--store-addr=unix://$PWD/tvix-store.sock \
|
-l $PWD/nar-bridge.sock &
|
||||||
--listen-addr=$PWD/nar-bridge.sock &
|
|
||||||
|
|
||||||
# Wait for the socket to be created.
|
# Wait for the socket to be created.
|
||||||
while [ ! -e $PWD/nar-bridge.sock ]; do sleep 1; done
|
while [ ! -e $PWD/nar-bridge.sock ]; do sleep 1; done
|
||||||
|
|
Loading…
Reference in a new issue