kubernetes-the-hard-way/docs/16-e2e-tests.md

35 lines
624 B
Markdown
Raw Normal View History

2019-03-20 07:34:49 +03:00
# Run End-to-End Tests
Install Go
```
wget https://dl.google.com/go/go1.12.1.linux-amd64.tar.gz
sudo tar -C /usr/local -xzf go1.12.1.linux-amd64.tar.gz
export GOPATH="/home/vagrant/go"
export PATH=$PATH:/usr/local/go/bin:$GOPATH/bin
```
## Install kubetest
```
2019-03-20 13:24:32 +03:00
go get -v -u k8s.io/test-infra/kubetest
2019-03-20 07:34:49 +03:00
```
> Note: This may take a few minutes depending on your network speed
## Extract the Version
```
kubetest --extract=v1.13.0
cd kubernetes
export KUBE_MASTER_IP="192.168.5.11:6443"
export KUBE_MASTER=master-1
kubetest --test --provider=skeleton --test_args="--ginkgo.focus=\[Conformance\]" | tee test.out
```