Commit 1ad6979
authored
feat(tfroot-runner): bump tooling; replace oc with kubectl; drop OpenShift import workflow (#2)
## Summary
- Bump every pinned tool in `tfroot-runner/Containerfile` to current
latest:
| Tool | Old | New |
|---|---|---|
| terraform-docs | 0.21.0 | **0.22.0** |
| opentofu | 1.11.5 | 1.11.6 |
| sops | 3.11.0 | 3.12.2 |
| tflint | 0.61.0 | 0.62.0 |
| tfupdate | 0.9.1 | 0.9.3 |
| infracost | 0.10.43 | 0.10.44 |
| checkov | 3.2.504 | 3.2.525 |
| pre-commit | 4.5.1 | 4.6.0 |
| conventional-pre-commit (hook) | v4.3.0 | v4.4.0 |
- The **terraform-docs 0.21.0 → 0.22.0** bump fixes a months-long
local-vs-CI divergence (Homebrew shipped v0.22.0; CI image stuck at
v0.21.0 → README markdown tables regenerated in different formats
locally vs in CI).
- **Drop `oc` (OpenShift CLI) + `gcompat`** (alpine package, only needed
for oc's glibc linking) — OpenShift Local is gone from the stack.
- **Add `kubectl 1.36.0`** as the replacement; the new PostSync hooks in
kustomize-cluster (`wait-for-crds`, `wait-for-repo-server`,
`ci-token-sync`) use kubectl directly.
- **Delete `.github/workflows/pull.yml`** — this workflow imported each
built image into OpenShift's internal registry at
`image-registry.openshift-image-registry.svc:5000/public-registry/<image>:latest`.
With CRC retired and consumers (CI workflows in tfroot-libvirt and
kustomize-cluster) already pulling directly from
`ghcr.io/makeitworkcloud/...:latest`, the import is dead code.
Bundles the previously-staged repo-local opencode config (the prior
commit on this branch).
## Test plan
- [x] `pre-commit` runs clean locally (hadolint not installed locally;
CI's `Build` workflow runs hadolint via the buildah job)
- [ ] CI `Build` job passes on PR (rebuilds image without push)
- [x] On merge: `Build` workflow rebuilds and pushes new
`tfroot-runner:latest` to `ghcr.io/makeitworkcloud`
- [ ] After merge: re-running CI on tfroot-libvirt PR #2 and any other
tfroot-* repo will use the new image with terraform-docs v0.22.0, fixing
the README format drift1 parent 27e5a3b commit 1ad6979
4 files changed
Lines changed: 51 additions & 69 deletions
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | | - | |
| 10 | + | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | 23 | | |
25 | 24 | | |
26 | 25 | | |
| |||
32 | 31 | | |
33 | 32 | | |
34 | 33 | | |
35 | | - | |
36 | 34 | | |
37 | 35 | | |
38 | 36 | | |
39 | 37 | | |
40 | 38 | | |
41 | 39 | | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
46 | 44 | | |
47 | | - | |
48 | | - | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
49 | 48 | | |
50 | 49 | | |
51 | 50 | | |
| |||
57 | 56 | | |
58 | 57 | | |
59 | 58 | | |
60 | | - | |
61 | | - | |
62 | | - | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
63 | 62 | | |
64 | 63 | | |
65 | 64 | | |
| |||
82 | 81 | | |
83 | 82 | | |
84 | 83 | | |
85 | | - | |
| 84 | + | |
86 | 85 | | |
87 | 86 | | |
88 | 87 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
0 commit comments