add detailed repro steps for conformance README
parent
d72d87f2e7
commit
1a8a6e1e88
|
@ -51,6 +51,8 @@ tar -xzf $tarball
|
||||||
outdir="$(mktemp -d)"
|
outdir="$(mktemp -d)"
|
||||||
./sonobuoy retrieve "${outdir}"
|
./sonobuoy retrieve "${outdir}"
|
||||||
|
|
||||||
|
"${MINIKUBE}" delete -p "${PROFILE_NAME}"
|
||||||
|
|
||||||
cwd=$(pwd)
|
cwd=$(pwd)
|
||||||
|
|
||||||
cd "${outdir}"
|
cd "${outdir}"
|
||||||
|
@ -74,7 +76,30 @@ description: minikube runs a local Kubernetes cluster on macOS, Linux, and Windo
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
cat <<EOF >README.md
|
cat <<EOF >README.md
|
||||||
./hack/conformance_tests.sh $MINIKUBE $START_ARGS
|
# Reproducing the test results
|
||||||
|
|
||||||
|
## Run minikube with docker driver
|
||||||
|
|
||||||
|
Install [docker](https://docs.docker.com/engine/install/)
|
||||||
|
Install [kubectl](https://v1-18.docs.kubernetes.io/docs/tasks/tools/install-kubectl/)
|
||||||
|
Clone the [minikube repo](https://github.com/kubernetes/minikube)
|
||||||
|
|
||||||
|
## Compile the latest minikube binary
|
||||||
|
```console
|
||||||
|
% cd <minikube dir>
|
||||||
|
% make
|
||||||
|
```
|
||||||
|
|
||||||
|
## Trigger the tests and get back the results
|
||||||
|
|
||||||
|
We follow the [official instructions](https://github.com/cncf/k8s-conformance/blob/master/instructions.md):
|
||||||
|
|
||||||
|
```console
|
||||||
|
% cd <minikube dir>
|
||||||
|
./hack/conformance_tests.sh ${MINIKUBE} ${START_ARGS}
|
||||||
|
```
|
||||||
|
|
||||||
|
This script will run sonobuoy against a minikube cluster with two nodes and the provided parameters.
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
cp -r ../results/plugins/e2e/results/global/* .
|
cp -r ../results/plugins/e2e/results/global/* .
|
||||||
|
|
Loading…
Reference in New Issue