k3s/cluster/images/conformance
John Schnake c6bb01d2a1 Finish saving test results on failure
The conformance image should be saving its results
regardless of the results of the tests. However,
with errexit set, when ginkgo gets test failures
it exits 1 which prevents saving the results
for Sonobuoy to pick up.

Fixes: #76036
2019-04-03 13:48:14 -05:00
..
BUILD bazel: add docker_push rules 2019-03-06 12:35:33 -08:00
Dockerfile upstream heptio/kube-conformance 2018-10-12 15:33:15 -04:00
Makefile Better detection of binaries for conformance image 2019-02-28 22:00:28 -05:00
OWNERS Expand reviewers/approvers and add labels for conformance image 2019-03-02 13:46:27 -05:00
README.md Switch to k8s.gcr.io (from staging) 2019-02-27 08:54:45 -05:00
conformance-e2e.sh Stop waiting on conformance image pod when it fails 2019-03-07 11:03:05 -05:00
conformance-e2e.yaml conformace/run_e2e.sh: pass shellcheck and autodetect ginkgo nodes 2019-03-05 01:32:57 +02:00
run_e2e.sh Finish saving test results on failure 2019-04-03 13:48:14 -05:00

README.md

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

# 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"

# Build for linux/amd64 (default)
# export REGISTRY=$HOST/$ORG to switch from k8s.gcr.io

$ make push VERSION={target_version} ARCH=amd64
# ---> k8s.gcr.io/conformance-amd64:VERSION
# ---> k8s.gcr.io/conformance:VERSION (image with backwards-compatible naming)

$ make push VERSION={target_version} ARCH=arm
# ---> k8s.gcr.io/conformance-arm:VERSION

$ make push VERSION={target_version} ARCH=arm64
# ---> k8s.gcr.io/conformance-arm64:VERSION

$ make push VERSION={target_version} ARCH=ppc64le
# ---> k8s.gcr.io/conformance-ppc64le:VERSION

$ make push VERSION={target_version} ARCH=s390x
# ---> k8s.gcr.io/conformance-s390x:VERSION

If you don't want to push the images, run make or make build instead

How to run tests

kubectl create -f conformance-e2e.yaml

Analytics