Created
September 11, 2019 19:55
-
-
Save egernst/a38a7c9a7b3b9b40c678a33bbf2882de to your computer and use it in GitHub Desktop.
snippet of firecracker ci job
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -e | |
export ghprbPullId | |
export ghprbTargetBranch | |
export KATA_DEV_MODE="false" | |
export KATA_HYPERVISOR="firecracker" | |
export CI="true" | |
export CI_JOB="FIRECRACKER" | |
export GOPATH=${WORKSPACE}/go | |
export PATH=${GOPATH}/bin:/usr/local/go/bin:/usr/sbin:${PATH} | |
export GOROOT="/usr/local/go" | |
tests_repo_dir="${GOPATH}/src/github.com/kata-containers/tests" | |
mkdir -p "${tests_repo_dir}" | |
git clone https://github.com/kata-containers/tests.git "${tests_repo_dir}" | |
cd "${tests_repo_dir}" | |
.ci/jenkins_job_build.sh "github.com/kata-containers/runtime" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment