codexorbis/helloworld
One binary.
It says hello.
Run hello and it greets you. Give it a name and it greets them. Add --serve and the same greeting answers over HTTP — a web page in a browser, JSON for anything else.
$
A greeting, four ways
- Greets by nameNo argument greets the world; one argument greets that person, spaces and all. Anything else is a usage error with a non-zero exit, so scripts can trust it.
- Serves over HTTPhello --serve starts a web server: a page at / with a box to type a name into, and the same greeting as JSON at /api/greet. The port is one flag away.
- Reports itself--version prints the version the binary was built with and nothing else. --help shows the usage. Both are queries about the binary, never greetings.
- Ready for KubernetesThe server answers /status/ready and /status/health, and its Helm chart wires those into readiness and liveness probes with CPU and memory limits set.
The tag is the deploy button
01
Cut a tag
A version tag is the only trigger. Nothing builds on a branch push, a pull request, or a Tuesday — pushing v1.2.3-next is what asks for a staging deployment.
02
Publish the artefacts
The same run builds the container image and packages the Helm chart, both published to the GitHub registry at the tag’s version. A published version is immutable — a re-run refuses to overwrite it.
03
Stage it
The candidate deploys to the next environment over Tailscale, into its own namespace, with no human action after the push. The deployment is recorded on the staging checklist that signed it.
04
Release it
A release tag retags the staged image — never rebuilds it — and deploys to live. A rollback tag puts any released version back, the same way, building nothing.