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

After migration to 1.1.0 linting throws error #1

Closed
jmicans opened this issue Apr 26, 2021 · 3 comments
Closed

After migration to 1.1.0 linting throws error #1

jmicans opened this issue Apr 26, 2021 · 3 comments

Comments

@jmicans
Copy link

jmicans commented Apr 26, 2021

Hello,
I was using latest helm3-ci version to do helm chart linting during ci pipeline.
Version 1.1.0 broke the pipeline. This error is thrown:
Error: Error loading configuration: 'chart_schema.yaml' neither specified nor found in default locations

Is there a fix or a possible workaround?

@hajowieland
Copy link
Contributor

hajowieland commented Apr 26, 2021

This seems to be caused by the update of chart-testing from 3.0.0-rc.1 to the latest 3.3.1 version.

Can you elaborate on which commands you use for your pipeline using the helm3-ci container?

As an alternative you can just switch back to the previous version 1.0.1

@jmicans
Copy link
Author

jmicans commented Apr 26, 2021

Thanks, switching to 1.0.1 helped.
I'm using ct lint --charts <chart root folder>

@hajowieland
Copy link
Contributor

Great - the Docker versions are always tagged matching the git tags.

BTW:
We are using the following command

ct lint --config ci/ct.yaml --chart-yaml-schema ci/chart_schema.yaml --lint-conf ci/lintconf.yaml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants