kubernetes/cluster/images/conformance
Mike Danese d182ecc1f9 output go_binary rule directly from go_binary_conditional_pure
And same for go_test_conditional_pure.

Instead of aliasing. Aliases are annoying in a number of ways. This is
specifically bugging me now because they make the action graph harder to
analyze programmatically. By using aliases here, we would need to handle
potentially aliased go_binary targets and dereference to the effective
target.

The comment references an issue with `pure = select(...)` which appears
to be resolved considering this now builds.
2020-09-11 13:19:37 -07:00
..
go-runner cleanup tempfiles in unit test 2020-06-23 11:47:18 +08:00
BUILD output go_binary rule directly from go_binary_conditional_pure 2020-09-11 13:19:37 -07:00
conformance-e2e.sh Make sure we fail the job and log more details when it does 2020-03-01 09:14:04 -05:00
conformance-e2e.yaml Enable API operation log on conformance job 2019-06-03 20:47:15 +00:00
Dockerfile Adds an optional golang runner to the conformance test image 2019-07-01 16:26:13 -05:00
Makefile Revert "fix cross build conformance image error" 2020-06-11 18:01:40 +02:00
OWNERS Move ixdy to emeritus 2020-07-06 10:39:56 -07:00
README.md Adds an optional golang runner to the conformance test image 2019-07-01 16:26:13 -05:00
run_e2e.sh *.sh: cleanup all white noise 2020-05-29 09:56:00 +08: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

# 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 cluster/images/conformance/go-runner"

# 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