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 ct lint error #18

Closed
wants to merge 1 commit into from
Closed

Fix ct lint error #18

wants to merge 1 commit into from

Conversation

bells17
Copy link
Contributor

@bells17 bells17 commented Sep 23, 2021

#11

Workaround for ct lint --config ct.yaml error.

steps to reproduce:

  1. Change version value to version: 0.1.1 in Chart.yaml

  2. Run ct lint

$ docker run -it -v $(pwd):/app quay.io/helmpack/chart-testing
/ # cd app
/app # ct lint --config ct.yaml
Linting charts...

------------------------------------------------------------------------------------------------------------------------
 Charts to be processed:
------------------------------------------------------------------------------------------------------------------------
 accurate => (version: "0.1.1", path: "charts/accurate")
------------------------------------------------------------------------------------------------------------------------

Linting chart 'accurate => (version: "0.1.1", path: "charts/accurate")'
Checking chart 'accurate => (version: "0.1.1", path: "charts/accurate")' for a version bump...
Old chart version: 0.1.0
New chart version: 0.1.1
Chart version ok.
Validating /app/charts/accurate/Chart.yaml...
Validation success! 👍
==> Linting charts/accurate
[INFO] Chart.yaml: icon is recommended
[ERROR] templates/: parse error at (accurate/templates/generated/generated.yaml:238): unexpected unclosed action in template clause

Error: 1 chart(s) linted, 1 chart(s) failed
------------------------------------------------------------------------------------------------------------------------
 ✖︎ accurate => (version: "0.1.1", path: "charts/accurate") > Error waiting for process: exit status 1
------------------------------------------------------------------------------------------------------------------------
Error: Error linting charts: Error processing charts
Error linting charts: Error processing charts

@bells17 bells17 requested a review from d-kuro September 23, 2021 08:45
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

Successfully merging this pull request may close these issues.

1 participant