e2e

package
v1.2.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 19, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

README

Testing

This document describes the steps to test CAPX end-to-end.

Requirements

TBD

Environment variables

TBD

Running the e2e tests

Run the following command to execute the CAPX e2e tests:

make test-e2e

The above command should build the CAPX manager image locally and use that image with the e2e test suite.

Running e2e with other CNIs can be done by invoking following command:

#run e2e with Calico:
make test-e2e-calico

#run e2e with Flannel:
make test-e2e-flannel

#run e2e with Cilium:
make test-e2e-cilium

#run e2e tests with every CNI:
make test-e2e-all-cni

Documentation

Index

Constants

View Source
const (
	KubernetesVersionManagement     = "KUBERNETES_VERSION_MANAGEMENT"
	KubernetesVersion               = "KUBERNETES_VERSION"
	CNIPath                         = "CNI"
	CNIResources                    = "CNI_RESOURCES"
	KubernetesVersionUpgradeFrom    = "KUBERNETES_VERSION_UPGRADE_FROM"
	KubernetesVersionUpgradeTo      = "KUBERNETES_VERSION_UPGRADE_TO"
	CPMachineTemplateUpgradeTo      = "CONTROL_PLANE_MACHINE_TEMPLATE_UPGRADE_TO"
	WorkersMachineTemplateUpgradeTo = "WORKERS_MACHINE_TEMPLATE_UPGRADE_TO"
	EtcdVersionUpgradeTo            = "ETCD_VERSION_UPGRADE_TO"
	CoreDNSVersionUpgradeTo         = "COREDNS_VERSION_UPGRADE_TO"
	IPFamily                        = "IP_FAMILY"
)

Test suite constants for e2e config variables.

Variables

This section is empty.

Functions

func Byf

func Byf(format string, a ...interface{})

func HaveValidVersion

func HaveValidVersion(version string) types.GomegaMatcher

HaveValidVersion succeeds if version is a valid semver version.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL