Commit Graph

6 Commits

Author SHA1 Message Date
sharang a590caa34b ci(tenant-registry): drop hashFiles job gate
ci / shared (pull_request) Successful in 4s
ci / test (pull_request) Failing after 32s
ci / image (pull_request) Has been skipped
act_runner doesn't reliably evaluate hashFiles() at job-level if:
conditions, so the gate skipped the test job even with the Go
sources committed. tenant-registry has Go source from day one — let
test always run.

Refs: M4.1
2026-05-18 23:07:50 +02:00
sharang 6a6cd76426 feat(server): tenant-registry skeleton boots against dev stack
ci / shared (pull_request) Successful in 4s
ci / test (pull_request) Has been skipped
ci / image (pull_request) Has been skipped
Minimal Go service so platform/portal has something to resolve in local
dev. Stdlib net/http with Go 1.22 enhanced ServeMux (method+path
patterns); no third-party deps yet.

Layout:
  cmd/server/main.go               entry point with graceful shutdown
  internal/config/                 env-driven config (APP_ENV, ADDR, KC issuer)
  internal/server/                 http handlers + request-logging middleware
  internal/store/memory.go         in-memory tenant store, seeded with acme
  migrations/0001_init.up.sql      schema for the M4.1 follow-up (unapplied)
  Makefile                         dev/test/build/lint/docker targets
  Dockerfile                       multi-stage distroless build

Endpoints (under :8080 in dev):
  GET /healthz
  GET /v1/tenants/by-slug/{slug}   200 acme | 404
  GET /v1/tenants/{id}             200 by uuid | 404

JWT validation and the real Postgres-backed store land in the M4.1
follow-up PR — keeping this PR strictly to 'boots, replies, tests pass'.

Refs: M4.1 (skeleton)
2026-05-18 22:40:49 +02:00
sharang e960a5ff9d chore(domain): yourplatform.com → breakpilot.com
ci / shared (push) Successful in 4s
ci / test (push) Has been skipped
ci / image (push) Has been skipped
Apply platform-domain decision (2026-05-18). No services touched; docs/config only.

Refs: M1.1
2026-05-18 20:28:42 +00:00
sharang daff430960 ci: rework workflow for Gitea Actions (M0.2)
ci / shared (push) Successful in 3s
ci / test (push) Has been skipped
ci / image (push) Has been skipped
Switches commitlint to bash regex, gitleaks to inline binary, trivy to inline binary (v0.70.0). Per-stack jobs gated on hashFiles.

Refs: M0.2
2026-05-18 19:42:27 +00:00
sharang db14bfac9f chore: bootstrap repo scaffolding (M0.1)
ci / shared (push) Failing after 6s
ci / test (push) Failing after 3s
ci / image (push) Has been skipped
Bootstraps §1.2 scaffolding (README, CONTRIBUTING, CODEOWNERS, CHANGELOG, PR + issue templates, LICENSE, CI workflow, release workflow, commitlint, cliff, .editorconfig, .gitignore, .env.example) and ships a proprietary all-rights-reserved LICENSE naming both founders.

Refs: M0.1
2026-05-18 19:15:33 +00:00
sharang a24d372bcb Initial commit 2026-05-18 19:05:34 +00:00