CI/CD Flow¶
This repository has a CI-friendly validation model and now includes a post-merge GitHub Actions workflow for the public onprem-basic path on a GitHub-hosted Ubuntu 24.04 runner.
What exists today¶
- deterministic root
maketargets for docs and matrix validation - structured
static,contract, andlivelevels - anonymous JSON artifacts under
test-artifacts/for run evidence - a clear split between operator entry points and implementation scripts
- a dedicated
test-live-gha-onpremtarget that treats the GitHub runner as the remoteonprem-basichost
Practical CI/CD model¶
In CI, the intended flow is:
- run
make test-static - run
make test-contract - run
make test-live-gha-onpremafter merges tomain - run the broader live layer only where the environment supports it
- keep the resulting artifacts as evidence
Why document it now¶
The checked-in workflow still benefits from documenting the CI/CD contract because:
- it stabilizes the repository interface
- it defines what future automation should call
- it keeps local and CI execution aligned
Current public workflow¶
The repository includes .github/workflows/post-merge-onprem-github-host.yml.
That workflow runs when a pull request targeting main is closed in the merged state. It:
- runs
make test-static - runs
make test-contract - checks out sibling
productive-k3s - runs
make test-live-gha-onprem
The live job prepares openssh-server on the GitHub-hosted runner and then exercises use-cases/onprem-basic against 127.0.0.1 as a single-node remote host.
Notes¶
Note
The public workflow intentionally validates the onprem-basic single-host path only. It does not replace the broader local live matrix that still depends on environments such as Multipass or external cloud credentials.