ci(infra): 完整 CI/CD 流水线配置

- ci-ts.yml: lint/typecheck/test/build + arch-scan + docker-build(classes + teacher-portal)

- ci-go.yml: vet/build/test + docker-build(api-gateway)

- ci-proto.yml: buf lint + buf breaking(本地 .git 比较)

- docker.yml: main/tag 触发,构建推送 3 服务镜像到 Gitea Registry

- deploy.yml: workflow_dispatch + workflow_run 触发,Runner 直接 docker compose 部署,含健康检查与回滚

- 所有 workflow runs-on: ubuntu-latest 匹配 actrunner 标签
This commit is contained in:
SpecialX
2026-07-08 15:13:53 +08:00
parent 4a0893ef52
commit 3b88e9cca5
5 changed files with 306 additions and 12 deletions

View File

@@ -22,4 +22,4 @@ jobs:
- name: buf breaking
if: github.event_name == 'pull_request'
working-directory: packages/shared-proto
run: buf breaking --against https://github.com/${{ github.repository }}.git#branch=main,subdir=packages/shared-proto
run: buf breaking --against .git#branch=main,subdir=packages/shared-proto