Require the platform checks and k3d smoke test in CI for platform changes #5
Labels
No labels
good-first-issue
priority
P0
priority
P1
priority
P2
priority
P3
priority
P4
status
accepted
status
blocked
status
triage
type
bug
type
cleanup
type
feature
type
task
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
platform/monorepo#5
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
tools/smoke/k3d.shis the only check that runs the real bootstrap against a real cluster, twice, and proves the platform comes up healthy and idempotent. Today it runs only when someone remembers to run it by hand. Changes toinfra/k8sandtools/bootstrapcan merge without it, and nothing in CI notices.The same is true of the cheaper checks for those areas. Presubmit runs only the Bazel checks.
shellcheck,tofu fmt/tofu validateand thekustomize | flux envsubst | kubeconformmanifest check (all listed inCLAUDE.md) run nowhere automatically.Proposal
Make both a required part of review for platform changes.
tools/smoke/k3d.shfor every pull request that touchesinfra/k8s/**ortools/bootstrap/**. Make its status required in branch protection.Constraints the design must handle
docker_host: "-"ininfra/k8s/ci/runner.yaml), because a job that drives dind could tamper with other jobs.Directions to evaluate
smoke) on a cheap, short-lived Hetzner server, created for the run and deleted afterwards, in its own Hetzner project.Write down what the smoke test still can't cover (its header lists cloud-init, TLS, backups and more) next to the required check, so a green result isn't read as more than it is.
Done when: a pull request that touches
infra/k8sortools/bootstrapcan't merge until the static checks and the k3d smoke test pass in CI, and other pull requests aren't slowed down by it.Design doc
Needed for step 2: where it runs, who holds which token, and how each run is isolated.