mirror of
https://github.com/urbit/shrub.git
synced 2024-12-24 20:47:27 +03:00
ci: wait for pier to close before moving
This commit is contained in:
parent
d9d7f69f26
commit
f3a264e8e0
@ -41,6 +41,10 @@ in stdenvNoCC.mkDerivation {
|
||||
if check && sleep 10 && check; then
|
||||
header "boot success"
|
||||
herb ./pier -p hood -d '+hood/exit'
|
||||
while [ -f ./pier/.vere.lock ]; do
|
||||
echo "waiting for pier to shut down"
|
||||
sleep 5
|
||||
done
|
||||
else
|
||||
header "boot failure"
|
||||
kill $(< ./pier/.vere.lock) || true
|
||||
@ -49,6 +53,8 @@ in stdenvNoCC.mkDerivation {
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
ls
|
||||
ls -a ./pier
|
||||
mv ./pier $out
|
||||
'';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user