Merge pull request #16193 from spowelljr/addFromToKicbaseISO

CI: add cron to kicbase & ISO build machines
pull/16194/head
Medya Ghazizadeh 2023-03-29 14:38:45 -07:00 committed by GitHub
commit c8a8c5dce7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 1 deletions

View File

@ -27,6 +27,9 @@ set -x -o pipefail
# Make sure golang is installed and configured
./hack/jenkins/installers/check_install_golang.sh "/usr/local"
# install cron jobs
source ./hack/jenkins/installers/check_install_linux_crons.sh
# Generate changelog for latest github PRs merged
./hack/jenkins/build_changelog.sh deploy/iso/minikube-iso/board/minikube/aarch64/rootfs-overlay/CHANGELOG
./hack/jenkins/build_changelog.sh deploy/iso/minikube-iso/board/minikube/x86_64/rootfs-overlay/CHANGELOG

View File

@ -16,6 +16,6 @@
set -e
mkdir -p cron && gsutil -qm rsync "gs://minikube-builds/${MINIKUBE_LOCATION}/cron" cron || echo "FAILED TO GET CRON FILES"
mkdir -p cron && gsutil -qm rsync "gs://minikube-builds/${MINIKUBE_LOCATION:=master}/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 AND REBOOT"
sudo install cron/cleanup_go_modules.sh /etc/cron.monthly/cleanup_go_modules || echo "FAILED TO INSTALL GO MODULES CLEANUP"

View File

@ -27,6 +27,9 @@ docker login -u ${DOCKERHUB_USER} -p ${DOCKERHUB_PASS}
# Make sure golang is installed and configured
./hack/jenkins/installers/check_install_golang.sh "/usr/local" || true
# install cron jobs
source ./hack/jenkins/installers/check_install_linux_crons.sh
./hack/jenkins/build_changelog.sh ./deploy/kicbase/CHANGELOG
export GOBIN=/usr/local/go/bin