Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix chart linting in pipeline #17

Open
charlie-haley opened this issue Apr 24, 2024 · 0 comments
Open

Fix chart linting in pipeline #17

charlie-haley opened this issue Apr 24, 2024 · 0 comments
Labels
good first issue Good for newcomers helm

Comments

@charlie-haley
Copy link
Member

Chart linting doesnt seem to work in the pipeline, although it works locally and in other repos...

It fails even when using an identical deployment strategy to the Benthos helm chart repo, which works. https://github.com/benthosdev/benthos-helm-chart/blob/main/.github/workflows/test.yaml

The only thing I can see which might be causing it to fail is this config in chart-testing.yaml

chart-dirs:
  - chart

This is the error that's returned when attempting to lint the chart:

Linting charts...
>>> helm version --template {{ .Version }}
>>> git rev-parse --is-inside-work-tree
Error: failed linting charts: failed identifying charts to process: must be in a git repository

------------------------------------------------------------------------------------------------------------------------
No chart changes detected.
------------------------------------------------------------------------------------------------------------------------
failed linting charts: failed identifying charts to process: must be in a git repository
make: *** [Makefile:6: chart-lint] Error 1
@charlie-haley charlie-haley added good first issue Good for newcomers helm labels Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers helm
Projects
None yet
Development

No branches or pull requests

1 participant