cool-easter-32542
10/14/2024, 12:04 PMFAIL test ConfigMap template custom-deployment/tests/env_configmap_test.yaml
- should render with the correct env variables from the values.yaml
Error: open custom-deployment/tests/values.yaml: no such file or directory
Looking in the sandboxes this is also confirmed. The values file is not there.
In our tests folder we have the BUILD file with:
helm_unittest_tests(dependencies=[":values"])
resources(name="values", sources=["values.yaml"])
The BUILD file in the Chart:
helm_chart(
name="custom-deployment",
registries=["<oci://example/example/charts>"],
)
files(
name="release",
sources=["VERSION", "tbump.toml", "CHANGELOG.md", "Chart.yaml"],
)
files(
name="helm-files",
sources=[
"templates/**/*",
],
)
We are starting to suspect that there might be a bug in pants version 2.21.0. Which is the one that we are using. Any thoughts?
Pants version
Which version of Pants are you using?
2.21.0
OS
Are you encountering the bug on MacOS, Linux, or both?
MacOs
Additional info
Add any other information about the problem here, such as attachments or links to gists, if relevant.
pantsbuild/pants