Add cleanup and reboot to preload generation

pull/14098/head
klaases 2022-05-04 14:32:29 -07:00
parent c1a8f2aba9
commit af8777a171
1 changed files with 4 additions and 0 deletions

View File

@ -20,6 +20,10 @@
set -eux -o pipefail
mkdir -p cron && gsutil -qm rsync "gs://minikube-builds/${MINIKUBE_LOCATION}/cron" cron || echo "FAILED TO GET CRON FILES"
sudo install cron/cleanup_and_reboot_Linux.sh /etc/cron.hourly/cleanup_and_reboot || echo "FAILED TO INSTALL CLEANUP"
# Make sure the right golang version is installed based on Makefile
./hack/jenkins/installers/check_install_golang.sh /usr/local