Pre-commit results in 'circular dependency' error
Closed this issue · 1 comments
saifhassanctc commented
Any idea why I may see this error?
.pre-commit-config.yaml
- repo: https://github.com/dadav/helm-schema
rev: 0.8.0
hooks:
- id: helm-schema
args: [--log-level, "debug", --no-dependencies]
chart.yaml
Note: 'env-metadata' chart doesn't have any depdencies
dependencies:
- name: env-metadata
version: "0.1.1"
Error
ERRO[2023-10-31T14:34:10-05:00] Error while sorting results: Circular or missing dependency found
dadav commented
Hi @saifhassanctc ,
I think the error occurs because the dependency isn't locally present. Helm-schema does not automatically download the dependencies yet. I'll add this feature in the future. The error should disappear if you run helm dependency build beforehand.