Skip to content

Debug CRI runners

shyamjesal edited this page Jul 22, 2021 · 6 revisions

You can use the image to build/test/develop vHive inside a kind container. This image is preconfigured to run a single node Kubernetes cluster inside a container and contains packages to setup vHive on top of it.

# Set up the host (the same script as for the self-hosted GitHub CI runner)
./scripts/github_runner/setup_runner_host.sh
# If the $HOSTNAME contains characters which are not allowed in Github runner name, change it to something concise.
export HOSTNAME=cloudlab
# start the runner and connect it to github
# More than 1 runners per machine do not work currently
/scripts/github_runner/start_runners.sh 1 https://github.com/<OWNER>/<REPO> <Github Access key> cri

You should be able to see the runner listed on your repo after a few minutes and should be able toh run your tests there. If you want to setup the vHive cluster manually inside a kind container, refer this.

Clone this wiki locally