Commit Graph
10 Commits
Author SHA1 Message Date
Gael Gate 3495efaa80 Add optional file pattern argument to ct-lint.sh
This allows selective linting of CI values files by passing a pattern argument,
similar to how assemble_ci_values_files_from_fragments.sh works.

When a pattern is provided, the script temporarily moves non-matching
*-values.yaml files from charts/matrix-stack/ci/ to a temporary directory,
runs ct lint with only the matching files, then restores all files.

The script now accepts an optional file pattern as the first argument,
followed by any additional arguments that are passed through to ct lint.

Also fixes shellcheck warnings and removes redundant help handling.
2026-03-05 15:12:32 +01:00
Ben Banfield-Zanin 50f65012f7 git ls-files | xargs sed -i '/^# Copyright .* New Vector Ltd/a # Copyright 2025 Element Creations Ltd' 2025-10-27 09:36:54 +00:00
Ben Banfield-Zanin b89a4d1dbb Scripts should be executable 2025-05-01 10:56:50 +01:00
Gaël Goinvic 6e10a7863a use mustMergeOverwrite to error out on bad merges 2025-04-25 17:05:53 +02:00
Gaël Goinvic 5c7d63732e fix lint 2025-04-25 16:36:38 +02:00
Gaël Goinvic 1a9dbde4dc Replace merge with mergeOverwrite to properly merge booleans. 2025-04-25 16:26:09 +02:00
Gaël Goinvic 273099b421 Licensing to AGPL-3.0-only 2025-03-20 14:15:02 +01:00
Gaël Goinvic 4963c30380 ct-lint.sh: parse $ / $root 2025-03-07 11:19:19 +01:00
Gaël Goinvic 85d5bd6ddf ct-lint: fix errors were not catched 2025-02-17 10:19:11 +01:00
Gaël Goinvic 27da8cad00 ci: verify that ct lint does not raise any fail or required error 2025-02-14 09:30:40 +01:00