Add P2 SaaS CI, P4 scheduled discovery, P6 agent bridge (Redis pub/sub), Caddyfile

- P2: Gitea Actions CI for SaaS backend (separate from Go agent CI)
- P4: ScheduledDiscovery with Redis distributed lock to prevent concurrent scans
- P6: AgentBridge — Redis pub/sub for SaaS↔agent communication (approvals + step results)
- Caddyfile: self-hosted reverse proxy with auto-TLS for all 6 products
This commit is contained in:
2026-03-01 03:16:33 +00:00
parent bbbea3519e
commit 2ceeac1a11
4 changed files with 242 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
name: CI - SaaS
on:
push:
branches: [main]
paths:
- 'products/02-iac-drift-detection/saas/**'
pull_request:
paths:
- 'products/02-iac-drift-detection/saas/**'
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '22'
- name: Install deps
run: npm ci
working-directory: products/02-iac-drift-detection/saas
- name: Type check
run: npx tsc --noEmit
working-directory: products/02-iac-drift-detection/saas
- name: Test
run: npm test
working-directory: products/02-iac-drift-detection/saas