k8s.io/kubernetes@v1.31.0-alpha.0.0.20240520171757-56147500dadc/test/conformance/image/README.md (about)

     1  ### conformance
     2  
     3  `conformance` is a standalone container to launch Kubernetes end-to-end tests, for the purposes of conformance testing.
     4  `conformance` is built for multiple architectures and _the image is pushed automatically on every release._
     5  
     6  #### How to release by hand
     7  
     8  ```console
     9  # First, build the binaries by running make from the root directory
    10  $ make WHAT="test/e2e/e2e.test github.com/onsi/ginkgo/v2/ginkgo cmd/kubectl test/conformance/image/go-runner"
    11  
    12  # Build for linux/amd64 (default)
    13  # export REGISTRY=$HOST/$ORG to switch from registry.k8s.io
    14  
    15  $ make push VERSION={target_version} ARCH=amd64
    16  # ---> registry.k8s.io/conformance-amd64:VERSION
    17  # ---> registry.k8s.io/conformance:VERSION (image with backwards-compatible naming)
    18  
    19  $ make push VERSION={target_version} ARCH=arm
    20  # ---> registry.k8s.io/conformance-arm:VERSION
    21  
    22  $ make push VERSION={target_version} ARCH=arm64
    23  # ---> registry.k8s.io/conformance-arm64:VERSION
    24  
    25  $ make push VERSION={target_version} ARCH=ppc64le
    26  # ---> registry.k8s.io/conformance-ppc64le:VERSION
    27  
    28  $ make push VERSION={target_version} ARCH=s390x
    29  # ---> registry.k8s.io/conformance-s390x:VERSION
    30  ```
    31  
    32  If you don't want to push the images, run `make` or `make build` instead
    33  
    34  
    35  #### How to run tests
    36  
    37  ```
    38  kubectl create -f conformance-e2e.yaml
    39  ```
    40