mirror of
https://github.com/coder/coder.git
synced 2026-06-02 20:48:20 +00:00
chore(helm): add unit tests for helm chart (#6557)
This PR adds a minimum set of Helm tests for the Helm chart. It's heavily based on the approach in [1], but uses a golden-files-based approach instead. It also runs helm template directly instead of importing the entire Kubernetes API. Golden files can be updated by running go test ./helm/tests -update or by running make update-golden-files. [1] https://github.com/coder/enterprise-helm Fixes #6552
This commit is contained in:
@@ -30,6 +30,7 @@ site/playwright-report/*
|
||||
|
||||
# Make target for updating golden files.
|
||||
cli/testdata/.gen-golden
|
||||
helm/tests/testdata/.gen-golden
|
||||
|
||||
# Build
|
||||
/build/
|
||||
|
||||
Reference in New Issue
Block a user