Last active
March 22, 2018 19:25
-
-
Save dims/033cffa467107bcac8df21e7db72d528 to your computer and use it in GitHub Desktop.
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
export IMAGE=gcr.io/k8s-testimages/kubekins-e2e:latest-master | |
docker run --privileged -it --rm -v /mydata/docker-graph:/docker-graph -v $(pwd):/workspace/scripts --entrypoint=/bin/bash $IMAGE -c /workspace/scripts/run-test.sh |
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 -x | |
echo "Running tests on $HOSTNAME" | |
service docker start | |
service docker status | |
export GOPATH=/go | |
mkdir -p $GOPATH/src/k8s.io/ | |
cd $GOPATH/src/k8s.io | |
git clone https://github.com/kubernetes/kubernetes.git | |
cd $GOPATH/src/k8s.io/kubernetes | |
kubetest -v --dump=/workspace/_artifacts \ | |
--up --down --test \ | |
--build=quick \ | |
--deployment=local \ | |
--provider=local \ | |
--ginkgo-parallel=1 \ | |
--test_args="--ginkgo.focus=[Conformance] -v=8" \ | |
--timeout=120m |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment