Documentation
¶
Index ¶
Constants ¶
const ClusterEnv = "HELMTIDE_TEST_CLUSTER"
ClusterEnv names the kubeconfig, by absolute path, to run cluster-dependent tests against. Setting it both selects the cluster and turns the isolation off; nothing else does either.
const RemoteChartsEnv = "HELMTIDE_TEST_REMOTE_CHARTS"
RemoteChartsEnv opts a test into pulling charts from the public internet (bitnami, prometheus-community, jetstack, raw gists, ...). Those repositories are outside our control: bitnami moved its public catalog to an archive in 2025, gists get deleted, indexes rate-limit. A release must not go red because someone else's CDN blinked, so the network-dependent suites inherited from upstream are opt-in and nothing but this variable turns them on.
const Root = "../../tests/"
Root is rootdir for test files.
Variables ¶
var ErrTestTimeout = errors.New("tests timeout exceeded")
Functions ¶
func RequireCluster ¶
RequireCluster skips a test unless a cluster was explicitly provided, so a suite that needs one is opted into rather than silently borrowing whichever cluster the developer happens to be logged into.
func RequireRemoteCharts ¶ added in v1.2.0
RequireRemoteCharts skips a test unless pulling charts from the public internet was explicitly requested. Symmetric to RequireCluster: the hermetic suite (local charts + an in-cluster registry) always runs, while the tests that reach out to third-party chart repos only run when asked to.
Types ¶
This section is empty.
Directories
¶
| Path | Synopsis |
|---|---|
|
Command postrender is a deterministic post-renderer for the integration tests.
|
Command postrender is a deterministic post-renderer for the integration tests. |