chart-testing
chart-testing copied to clipboard
use .helmignore when identifying changed charts
What this PR does / why we need it:
use .helmignore when identifying changed charts.
The use of .helmignore is disabled by default (current behaviour) and enabled with --use-helmignore
Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #530
Special notes for your reviewer:
pkg/ignore/rules.go is an exact copy of https://github.com/helm/helm/blob/main/internal/ignore/rules.go
the FilterFiles function is adapted from https://github.com/helm/helm/blob/main/pkg/chart/loader/directory.go#L46
this can be tested here with
- https://github.com/helm/chart-testing/pull/601
- https://github.com/helm/chart-testing/pull/591
- https://github.com/helm/chart-testing/pull/510
- https://github.com/helm/chart-testing/pull/508
This PR is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 10 days.
Up
This PR is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 10 days.
This PR is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 10 days.
up
This PR is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 10 days.
please regen the docs and check in and it will pass