Adjusted runsc build timer

This commit is contained in:
Brian Zalewski 2023-08-18 13:15:12 -04:00 committed by GitHub
parent 4072262385
commit 44315b1f75
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -141,11 +141,11 @@ function gVisorSource() {
sudo mkdir -p bin sudo mkdir -p bin
# Wait 5 minutes for build to finish, and if it does not use Go # Wait 5 minutes for build to finish, and if it does not use Go
# TODO - Generate container-shim-runsc-v1 as well (low priority since this method is not used and is only recommended for development) # TODO - Generate container-shim-runsc-v1 as well (low priority since this method is not used and is only recommended for development)
sudo timeout 300 make copy TARGETS=runsc DESTINATION=bin/ sudo timeout 600 make copy TARGETS=runsc DESTINATION=bin/
if [ -f ./bin/runsc ]; then if [ -f ./bin/runsc ]; then
sudo cp ./bin/runsc /usr/local/bin sudo cp ./bin/runsc /usr/local/bin
else else
logg error 'Timed out while building `runsc` from source' && exit 6 logg error 'Timed out while building `runsc` from source (10 minutes)' && exit 6
fi fi
} }