9cdf4b2472
Phase 1 of foreman: initialize the Go module, project layout, and core infrastructure. Includes env-based configuration (FOREMAN_* namespace), SQLite-backed durable job queue with WAL mode via modernc.org/sqlite, stdlib HTTP server with /healthz and optional bearer-token auth middleware, subcommand dispatch (serve + stubs), Gitea CI workflow, multi-stage distroless Dockerfile, and comprehensive tests for all packages. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
35 lines
397 B
Plaintext
35 lines
397 B
Plaintext
# Compiled binary (cmd/foreman)
|
|
/foreman
|
|
/dist/
|
|
*.exe
|
|
|
|
# Test & coverage output
|
|
*.out
|
|
*.test
|
|
coverage.*
|
|
|
|
# SQLite queue + artifacts (local dev data — never commit)
|
|
*.db
|
|
*.db-wal
|
|
*.db-shm
|
|
*.sqlite
|
|
*.sqlite3
|
|
|
|
# Local config / secrets (commit .env.example, not .env)
|
|
.env
|
|
.env.local
|
|
*.local
|
|
|
|
# Vendor
|
|
vendor/
|
|
|
|
# Go workspace
|
|
go.work
|
|
go.work.sum
|
|
|
|
# Editor / OS cruft
|
|
.DS_Store
|
|
.idea/
|
|
.vscode/
|
|
*.swp
|