2018-10-03 13:00:16 +00:00
|
|
|
### conformance
|
|
|
|
|
|
|
|
`conformance` is a standalone container to launch Kubernetes end-to-end tests, for the purposes of conformance testing.
|
|
|
|
`conformance` is built for multiple architectures and _the image is pushed automatically on every release._
|
|
|
|
|
|
|
|
#### How to release by hand
|
|
|
|
|
|
|
|
```console
|
2019-02-26 14:18:05 +00:00
|
|
|
# First, build the binaries by running make from the root directory
|
|
|
|
$ make WHAT="test/e2e/e2e.test vendor/github.com/onsi/ginkgo/ginkgo cmd/kubectl"
|
2018-10-03 13:00:16 +00:00
|
|
|
|
|
|
|
# Build for linux/amd64 (default)
|
2019-02-27 13:54:45 +00:00
|
|
|
# export REGISTRY=$HOST/$ORG to switch from k8s.gcr.io
|
2018-10-03 13:00:16 +00:00
|
|
|
|
|
|
|
$ make push VERSION={target_version} ARCH=amd64
|
2019-02-27 13:54:45 +00:00
|
|
|
# ---> k8s.gcr.io/conformance-amd64:VERSION
|
|
|
|
# ---> k8s.gcr.io/conformance:VERSION (image with backwards-compatible naming)
|
2018-10-03 13:00:16 +00:00
|
|
|
|
|
|
|
$ make push VERSION={target_version} ARCH=arm
|
2019-02-27 13:54:45 +00:00
|
|
|
# ---> k8s.gcr.io/conformance-arm:VERSION
|
2018-10-03 13:00:16 +00:00
|
|
|
|
|
|
|
$ make push VERSION={target_version} ARCH=arm64
|
2019-02-27 13:54:45 +00:00
|
|
|
# ---> k8s.gcr.io/conformance-arm64:VERSION
|
2018-10-03 13:00:16 +00:00
|
|
|
|
|
|
|
$ make push VERSION={target_version} ARCH=ppc64le
|
2019-02-27 13:54:45 +00:00
|
|
|
# ---> k8s.gcr.io/conformance-ppc64le:VERSION
|
2018-10-03 13:00:16 +00:00
|
|
|
|
|
|
|
$ make push VERSION={target_version} ARCH=s390x
|
2019-02-27 13:54:45 +00:00
|
|
|
# ---> k8s.gcr.io/conformance-s390x:VERSION
|
2018-10-03 13:00:16 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
If you don't want to push the images, run `make` or `make build` instead
|
|
|
|
|
|
|
|
|
2019-02-26 15:29:12 +00:00
|
|
|
#### How to run tests
|
2018-10-03 13:00:16 +00:00
|
|
|
|
|
|
|
```
|
2019-02-26 15:29:12 +00:00
|
|
|
kubectl create -f conformance-e2e.yaml
|
2018-10-03 13:00:16 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/cluster/images/conformance/README.md?pixel)]()
|