SpecialX
|
c31b3ddeba
|
ci(infra): workflow 参照 CICD 参考项目重构
- 所有需要 docker 的 job 改用 container: dockerreg.eazygame.cn/node-with-docker:22
- ci-go.yml: quality 阶段用 golang:1.22-alpine,docker-build 阶段切到 node-with-docker:22
- ci-ts.yml/docker.yml/deploy.yml: 全部加 container 配置
- 移除 setup-node/setup-go action(容器内已有 node/go 或手动安装)
- 不配置 npm 代理(runner 已全局代理)
|
2026-07-08 16:12:07 +08:00 |
|
SpecialX
|
3b88e9cca5
|
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 标签
|
2026-07-08 15:13:53 +08:00 |
|
SpecialX
|
2ba4250165
|
feat(p1): complete P1 foundation stage
CI Go / test (push) Has been cancelled
CI Proto / lint (push) Has been cancelled
CI Python / test (push) Has been cancelled
CI TypeScript / test (push) Has been cancelled
- monorepo: pnpm workspace + go.work + pyproject.toml + commitlint/husky
- infra: docker-compose (minimal + full profiles) + init-sql + prometheus
- arch-scan: multi-language scanner skeleton (TS/Go/Python/Proto)
- shared-proto: buf v2 + classes.proto (ClassService CRUD contract)
- api-gateway: Go/Gin + JWT HS256 auth + reverse proxy + request ID
- classes: NestJS golden template (error system + observability + middleware + CRUD + tests)
- teacher-portal: Next.js + paper-feel UI design system
- CI/CD: 4 workflows (go/ts/py/proto)
- docs: migration guide + project_rules + coding-standards + git-workflow + ui-design-system + 004 + 9 module READMEs + known-issues + spec/plan migration + roadmap
|
2026-07-07 23:39:37 +08:00 |
|