Commit Graph

7 Commits

Author SHA1 Message Date
benvin 8654dab582 Merge pull request 'Split PR CI into pre-commit, test, and build workflows' (#2) from benvin/ci-split into main
Reviewed-on: #2
2026-08-22 16:14:52 +10:00
unkin-agent eb3a18ff1c Split PR CI into pre-commit, test, and build workflows
Each Woodpecker workflow file maps to one ci/woodpecker/pr/<file> status
context, so break the single build.yaml into three PR workflows to expose
three separate PR checks:

- .woodpecker/pre-commit.yaml runs the pre-commit hooks via make pre-commit.
- .woodpecker/test.yaml runs make test (go test ./...).
- .woodpecker/build.yaml keeps only the container dry-run build-check.

Add .pre-commit-config.yaml (gofmt/go vet/go unit tests + whitespace/yaml
hooks) and a make pre-commit target. docker.yaml (tag release) is unchanged.
2026-08-22 15:16:04 +10:00
benvin 3c9f9d6de4 Merge pull request 'waitfordb: initial tool + container + CI' (#1) from benvin/initial into main
ci/woodpecker/tag/docker Pipeline was successful
Reviewed-on: #1
v0.1.0
2026-08-22 15:03:39 +10:00
unkin-agent d5186867fb test: genericise sample fixtures (appuser/appdb, no project names) 2026-08-22 14:59:37 +10:00
unkin-agent 49d257cd3b docs: make README generic (remove arrstack/sonarr references) 2026-08-22 14:59:04 +10:00
unkin-agent 2b37986218 waitfordb: initial tool — env-configured wait-for-DB init container
Small Go tool + distroless container used as a K8s initContainer to block an
app until its database (Postgres/MySQL) is reachable. Env-var configured
(WAITFORDB_* + libpq PG* fallback), configurable timeout/interval, redacted
logs, exit codes. Woodpecker CI publishes docker-internal/waitfordb on tag.
2026-08-22 13:31:44 +10:00
gitadmin 98971eb1b7 Initial commit 2026-08-22 13:29:35 +10:00