woodpecker-helm3/internal/run
Erin Call 6b331fdf03
Check the validity of the kubeconfig template [#13]
It's a little tricky to find a balance between "brittle" and "thorough"
in this test--I'd like to verify that e.g. the certificate is in
clusters[0].cluster.certificate-authority-data, not at the root. On the
other hand, we can't actually show that it's a valid kubeconfig file
without actually *using* it, so there's a hard upper limit on the
strength of the assertions. I've settled on verifying that all the
settings make it into the file and the file is syntactically-valid yaml.
2019-12-25 10:11:14 -08:00
..
cmd.go Brush all the lint off this code I wrote in a haze 2019-12-09 10:53:32 -08:00
cmd_test.go Very rough code that can helm install 2019-12-04 12:41:37 -08:00
config.go Initialize kubernetes config on upgrade 2019-12-16 15:41:04 -08:00
help.go Initialize kubernetes config on upgrade 2019-12-16 15:41:04 -08:00
help_test.go Initialize kubernetes config on upgrade 2019-12-16 15:41:04 -08:00
initkube.go Initialize kubernetes config on upgrade 2019-12-16 15:41:04 -08:00
initkube_test.go Check the validity of the kubeconfig template [#13] 2019-12-25 10:11:14 -08:00
lint.go Format the Lint struct non-weirdly [#3] 2019-12-19 11:09:39 -08:00
lint_test.go Assert that Lint.Prepare sets cmd.Stdout/Stderr [#3] 2019-12-19 10:26:33 -08:00
uninstall.go Rename Delete to Uninstall [#4] 2019-12-19 15:04:33 -08:00
uninstall_test.go Rename Delete to Uninstall [#4] 2019-12-19 15:04:33 -08:00
upgrade.go Fail early if chart or release is missing 2019-12-16 17:02:56 -08:00
upgrade_test.go Fail early if chart or release is missing 2019-12-16 17:02:56 -08:00