Commit c8eeab8
authored
feat(super-linter): default to slim image (#24)
## Summary
- Switch from the full Super-Linter image to the slim variant (~2 GB
smaller), which excludes Rust, .NET/C#, PowerShell, and ARM template
linters most consuming repos don't need
- Add a `packageRules` entry to the Renovate preset (`default.json`) and
flint's own `renovate.json5` that applies regex versioning when the
current value starts with `slim-` — this teaches Renovate how to parse
`slim-v8.4.0` style tags. The rule only activates for slim tags, so
repos using the full image are unaffected (backwards compatible)
- Document the slim vs full image choice in README
## Test plan
- [x] Run `mise run lint:super-linter` locally — confirm it pulls the
slim image
- [ ] Run `mise run fix` — confirm autofix works with slim image
- [ ] Verify a consuming repo can override to full image by setting
`SUPER_LINTER_VERSION` to a non-prefixed tag
- [ ] Verify Renovate can parse the slim tag and propose updates
Signed-off-by: Gregor Zeitlinger <gregor.zeitlinger@grafana.com>1 parent 4622dc8 commit c8eeab8
4 files changed
+28
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
26 | 34 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
133 | 142 | | |
134 | 143 | | |
135 | 144 | | |
| |||
143 | 152 | | |
144 | 153 | | |
145 | 154 | | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
150 | 159 | | |
151 | 160 | | |
152 | 161 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
28 | 34 | | |
29 | 35 | | |
30 | 36 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
0 commit comments