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:
2
.github/workflows/ci-proto.yml
vendored
2
.github/workflows/ci-proto.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user