Closed bells17 closed 2 years ago
Workaround for ct lint --config ct.yaml error.
ct lint --config ct.yaml
steps to reproduce:
Change version value to version: 0.1.1 in Chart.yaml
version
version: 0.1.1
Chart.yaml
Run ct lint
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
11
Workaround for
ct lint --config ct.yaml
error.steps to reproduce:
Change
version
value toversion: 0.1.1
inChart.yaml
Run
ct lint