CI/CD 流水线配置对 BitzOrcas 来说尚在计划中。本指南将在 GitHub Actions 工作流模板就绪后补充完整内容。
计划的流水线阶段
构建 → 单元测试 → 架构测试 → 集成测试 → 构建 Docker 镜像 → 推送到仓库 → 部署计划的配置
name: CI/CDon: push: branches: [main] pull_request: branches: [main]
jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: actions/setup-dotnet@v4 with: dotnet-version: '10.0.x' - run: dotnet restore - run: dotnet build --no-restore - run: dotnet test --no-build --verbosity minimal另见
- 生产检查清单 — 部署安全