Skip to content

ci: install only changed charts and skip kind when nothing installable - #34

Merged
fty4 merged 1 commit into
mainfrom
ci/test-only-changed-charts
Nov 6, 2026
Merged

fty4 merged 1 commit into
mainfrom
ci/test-only-changed-charts

Conversation

@fty4

@fty4 fty4 commented Nov 6, 2026

Copy link
Copy Markdown
Member

Problem

ct install --all ignores change detection, so every PR installs every chart on a kind cluster. In run 42304256932 (PR #32, which only touches paperlessngx-ftp-bridge), lint correctly processed one chart while install ran ipsec-vpn-server, outprint, paperless-gpt, paperlessngx-backup and vpn-ios-profile. The one changed chart is excluded from install, so it was never installed.

Change

  • ct install --all -> ct install --target-branch main, so only changed charts are installed (the exclusion is kept).
  • New installable output in the list-changed step: true when a changed chart other than paperlessngx-ftp-bridge exists. Repo add, kind setup and install are gated on it; lint stays gated on changed.

Verification

  • ct list-changed --target-branch main --chart-dirs charts outputs charts/<name> lines (checked locally with simulated changes), which is what the filter matches against.
  • Expected in CI: a PR touching only paperlessngx-ftp-bridge runs lint and skips kind/install; a PR touching e.g. outprint installs only outprint.

@fty4
fty4 merged commit 417c0fd into main Nov 6, 2026
2 checks passed
@fty4
fty4 deleted the ci/test-only-changed-charts branch November 6, 2026 22: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