Commit 9569a9d
committed
scripts: use scaffold Dockerfile and .golangci.yml instead of backup
Keep scaffold-generated versions for Dockerfile and .golangci.yml,
applying MetalK8s customizations programmatically on top (extra COPY
layers, ldflags, LABEL block) via a new DockerfilePatch dataclass.
This ensures upstream scaffold improvements are picked up automatically
on future upgrades.
Also cleans up redundant entries (.devcontainer, cover.out) from the
merge policy and removes the golangci-lint install/migrate logic.1 parent 7e6dd52 commit 9569a9d
2 files changed
+134
-118
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
| 129 | + | |
133 | 130 | | |
134 | 131 | | |
135 | 132 | | |
| |||
165 | 162 | | |
166 | 163 | | |
167 | 164 | | |
168 | | - | |
169 | | - | |
170 | | - | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
171 | 168 | | |
172 | 169 | | |
173 | 170 | | |
| |||
0 commit comments