Add waitfordb repo #78

Merged
benvin merged 1 commits from benvin/waitfordb-repo into main 2026-08-22 13:29:00 +10:00
Member

Creates the unkin/waitfordb Gitea repo.

Why

waitfordb is a small Go tool shipped as a container image, used as a Kubernetes initContainer to block an app from starting until its database is ready (polls SELECT 1 until it succeeds, then exits 0). It replaces the hand-written psql-in-a-shell initContainers on the arrstack (sonarr/radarr/prowlarr). The tool is already built and tested locally, waiting for this repo to exist so it can be pushed.

Change

  • Add config/git.unkin.net/unkin/repository/waitfordb.yaml — public Go-tool repo mirroring node-lookup settings (squash merges, delete branch after merge, default branch main).

Note on branch protection

branch_protection is intentionally omitted on creation. The required Woodpecker status checks (ci/woodpecker/pr/*) do not exist until the repo is created and its first pipeline runs, so requiring them up front would block the very first PR (chicken-and-egg). It will be added in a follow-up PR mirroring node-lookup.yaml once CI is green.

Creates the `unkin/waitfordb` Gitea repo. ## Why waitfordb is a small Go tool shipped as a container image, used as a Kubernetes initContainer to block an app from starting until its database is ready (polls `SELECT 1` until it succeeds, then exits 0). It replaces the hand-written `psql`-in-a-shell initContainers on the arrstack (sonarr/radarr/prowlarr). The tool is already built and tested locally, waiting for this repo to exist so it can be pushed. ## Change - Add `config/git.unkin.net/unkin/repository/waitfordb.yaml` — public Go-tool repo mirroring `node-lookup` settings (squash merges, delete branch after merge, default branch `main`). ## Note on branch protection `branch_protection` is intentionally omitted on creation. The required Woodpecker status checks (`ci/woodpecker/pr/*`) do not exist until the repo is created and its first pipeline runs, so requiring them up front would block the very first PR (chicken-and-egg). It will be added in a follow-up PR mirroring `node-lookup.yaml` once CI is green.
unkin-agent added 1 commit 2026-08-22 12:52:50 +10:00
repository: add waitfordb repo
ci/woodpecker/pr/plan Pipeline was successful
ci/woodpecker/pr/pre-commit Pipeline was successful
7fa013160a
waitfordb is a small Go tool shipped as a container image, used as a Kubernetes
initContainer to block an app from starting until its database is ready. It
replaces the hand-written psql-in-a-shell init steps on the arrstack.

Creates the unkin/waitfordb Gitea repo (Go tool settings mirroring node-lookup:
public, squash merges, delete branch after merge). branch_protection is omitted
on creation to avoid requiring Woodpecker status checks that do not exist until
the first pipeline runs; it will be added in a follow-up PR once CI is green.
benvin merged commit 6e6dcc1f25 into main 2026-08-22 13:29:00 +10:00
benvin deleted branch benvin/waitfordb-repo 2026-08-22 13:29:01 +10:00
Sign in to join this conversation.