-
Notifications
You must be signed in to change notification settings - Fork 91
How to build & deploy CI test runners
Dmitrii Ustiugov edited this page Mar 29, 2023
·
3 revisions
git clone https://github.com/ease-lab/vhive
cd vhive
docker build -f ./scripts/github_runner/Dockerfile.github_runner ./ -t vhiveease/integ_test_runner:ubuntu20base
git clone https://github.com/ease-lab/vhive
cd vhive
docker build -f ./scripts/github_runner/Dockerfile.github_runner_cri ./ -t vhiveease/cri_test_runner
git clone https://github.com/ease-lab/vhive
cd vhive
# setup the host to deploy runners
./scripts/github_runner/setup_runner_host.sh
# start the runners
./start_runners.sh <num of runners> https://github.com/<OWNER>/<REPO> <Github Access key> <[integ, cri]> [restart]
Add this to your crontab to restart the runners daily at 00:00
00 00 * * * [path to vHive]/start_runners.sh <num of runners> https://github.com/<OWNER>/<REPO> <Github Access key> <[integ, cri]> restart