83d516afa1
FastAPI gateway with A/B/C lane orchestration, LiteLLM proxy config, Swarm stack (postgres, redis, VPN off-by-default), deploy/smoke/audit scripts.
26 lines
523 B
YAML
26 lines
523 B
YAML
name: CI
|
|
|
|
on:
|
|
push:
|
|
branches: [master, main]
|
|
pull_request:
|
|
|
|
jobs:
|
|
build-gateway:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Build gateway image
|
|
run: docker build -f router/Dockerfile -t ai-router-gateway:ci .
|
|
|
|
- name: Lint Python syntax
|
|
run: python3 -m py_compile router/*.py
|
|
|
|
sync-config:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Sync routing config
|
|
run: bash scripts/sync-routing-config.sh
|