Skip to content

ct lint: add --ignore-ci-changes flag to skip version bump#816

Open
bayandin wants to merge 2 commits intohelm:mainfrom
bayandin:ignore-ci-changes
Open

ct lint: add --ignore-ci-changes flag to skip version bump#816
bayandin wants to merge 2 commits intohelm:mainfrom
bayandin:ignore-ci-changes

Conversation

@bayandin
Copy link

@bayandin bayandin commented Mar 8, 2026

What this PR does / why we need it:

Adds --ignore-ci-changes flag to ct lint and ct lint-and-install. When enabled, charts where only files in the ci/ directory changed skip the version increment check — all other lint steps (schema validation, YAML linting, helm lint) still run normally. Charts with CI-only changes are also still fully processed by ct install so new test values files get exercised.

The ci/ directory contains *-values.yaml files used for CI testing. These files are not included in the packaged chart (helm package), so changes to them are no-op from the chart's perspective and there should be a way to skip the version bump requirement.

Which issue this PR fixes: N/A

Special notes for your reviewer:

Developed with claude-4.6-opus (Anthropic) assistance via Claude Code CLI.

bayandin added 2 commits March 8, 2026 09:28
When only files in a chart's 'ci' directory are modified, the version
increment check can be skipped during linting. This is useful because
ci/ contains test values files that don't warrant a chart version bump.
The flag is available for 'ct lint' and 'ct lint-and-install'. Charts
with CI-only changes are still processed by 'ct install'.

Signed-off-by: Alexander Bayandin <alexander@bayandin.dev>
Signed-off-by: Alexander Bayandin <alexander@bayandin.dev>
@bayandin bayandin force-pushed the ignore-ci-changes branch from 6c34098 to 5151f9b Compare March 8, 2026 09:28
@bayandin bayandin changed the title ct lint: add --ignore-ci-changes flag to skip version bump ct lint: add --ignore-ci-changes flag to skip version bump Mar 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant