ci: add CI/CD pipeline configuration #1

Closed
xiaoxia wants to merge 112 commits from feature/cicd-pipeline into develop
Owner

????

????? CI/CD ?????? Git ??????

????

  • CI/CD ??
  • ????

????

CI/CD Pipeline (.gitea/workflows/ci-cd.yml)

  • Stage 1: ??????

    • Black ????
    • isort ??????
    • Mypy ????
    • Flake8 ??????
    • Bandit ????
  • Stage 2: ?????

    • ????(PostgreSQL + Redis)
    • ????
    • ???????
  • Stage 3: ??????

    • API Docker ??
    • Worker Docker ??
  • Stage 4: ????

    • React ??????
    • ????????? API URL
  • Stage 5: ??? Staging

    • develop ??????
  • Stage 6: ?????

    • main ??????

Git ????? (docs/GIT-WORKFLOW.md)

  • ??????
  • ??????
  • Commit ??
  • PR ??
  • ??????
  • ??????

????

  • CI/CD ????????
  • Git ???????
  • ?? CI ??????

????

??????????????,????:

  • META.md - ???
  • ??SaaS??????????.md - ??????

????

??? CI/CD ????????:

  • Push ? feature/bugfix/hotfix ??:?????????
  • Push ? develop:??????????? Staging
  • Push ? main:?????????????
## ???? ????? CI/CD ?????? Git ?????? ## ???? - [x] CI/CD ?? - [x] ???? ## ???? ### CI/CD Pipeline (.gitea/workflows/ci-cd.yml) - **Stage 1: ??????** - Black ???? - isort ?????? - Mypy ???? - Flake8 ?????? - Bandit ???? - **Stage 2: ?????** - ????(PostgreSQL + Redis) - ???? - ??????? - **Stage 3: ??????** - API Docker ?? - Worker Docker ?? - **Stage 4: ????** - React ?????? - ????????? API URL - **Stage 5: ??? Staging** - develop ?????? - **Stage 6: ?????** - main ?????? ### Git ????? (docs/GIT-WORKFLOW.md) - ?????? - ?????? - Commit ?? - PR ?? - ?????? - ?????? ## ???? - [x] CI/CD ???????? - [x] Git ??????? - [ ] ?? CI ?????? ## ???? ??????????????,????: - META.md - ??? - ??SaaS??????????.md - ?????? ## ???? ??? CI/CD ????????: - Push ? feature/bugfix/hotfix ??:????????? - Push ? develop:??????????? Staging - Push ? main:?????????????
xiaoxia added 1 commit 2026-06-18 15:53:45 +08:00
ci: add CI/CD pipeline configuration
CI/CD Pipeline / Code Quality Check (push) Failing after 1m41s
CI/CD Pipeline / Automated Testing (push) Has been skipped
CI/CD Pipeline / Build Backend Images (push) Has been skipped
CI/CD Pipeline / Build Frontend (push) Has been skipped
CI/CD Pipeline / Deploy to Staging (push) Has been skipped
CI/CD Pipeline / Deploy to Production (push) Has been skipped
CI/CD Pipeline / Code Quality Check (pull_request) Failing after 35s
CI/CD Pipeline / Automated Testing (pull_request) Has been skipped
CI/CD Pipeline / Build Backend Images (pull_request) Has been skipped
CI/CD Pipeline / Build Frontend (pull_request) Has been skipped
CI/CD Pipeline / Deploy to Staging (pull_request) Has been skipped
CI/CD Pipeline / Deploy to Production (pull_request) Has been skipped
cf62c9b8a6
- Add Gitea Actions workflow
- Stage 1: Code quality check (black, isort, mypy, flake8, bandit)
- Stage 2: Automated testing (unit + integration tests)
- Stage 3: Build backend Docker images
- Stage 4: Build frontend static assets
- Stage 5: Deploy to staging (develop branch)
- Stage 6: Deploy to production (main branch)

Also add Git workflow documentation.
xiaoxia added 1 commit 2026-06-18 15:56:14 +08:00
fix(ci): fix job names and simplify pipeline
CI/CD Pipeline / Automated Testing (pull_request) Blocked by required conditions
CI/CD Pipeline / Build Backend (pull_request) Blocked by required conditions
CI/CD Pipeline / Build Frontend (pull_request) Blocked by required conditions
CI/CD Pipeline / Deploy Staging (pull_request) Blocked by required conditions
CI/CD Pipeline / Deploy Production (pull_request) Blocked by required conditions
CI/CD Pipeline / Code Quality Check (push) Failing after 43s
CI/CD Pipeline / Automated Testing (push) Has been skipped
CI/CD Pipeline / Build Backend (push) Has been skipped
CI/CD Pipeline / Build Frontend (push) Has been skipped
CI/CD Pipeline / Deploy Staging (push) Has been skipped
CI/CD Pipeline / Deploy Production (push) Has been skipped
CI/CD Pipeline / Code Quality Check (pull_request) Failing after 18m32s
18d5dcf5f4
- Change job names to valid format (no spaces)
- Simplify backend build (skip Docker for now)
- Keep frontend build with npm
- All jobs now have proper runs-on configuration
xiaoxia added 1 commit 2026-06-18 15:58:35 +08:00
docs: update README for CI test
CI/CD Pipeline / Automated Testing (pull_request) Blocked by required conditions
CI/CD Pipeline / Build Backend (pull_request) Blocked by required conditions
CI/CD Pipeline / Build Frontend (pull_request) Blocked by required conditions
CI/CD Pipeline / Deploy Staging (pull_request) Blocked by required conditions
CI/CD Pipeline / Deploy Production (pull_request) Blocked by required conditions
CI/CD Pipeline / Code Quality Check (push) Has been cancelled
CI/CD Pipeline / Automated Testing (push) Has been cancelled
CI/CD Pipeline / Build Backend (push) Has been cancelled
CI/CD Pipeline / Build Frontend (push) Has been cancelled
CI/CD Pipeline / Deploy Staging (push) Has been cancelled
CI/CD Pipeline / Deploy Production (push) Has been cancelled
CI/CD Pipeline / Code Quality Check (pull_request) Failing after 15m30s
6c7bb6cfba
xiaoxia added 1 commit 2026-06-18 16:02:14 +08:00
fix(ci): use custom checkout to fix repository URL issue
CI/CD Pipeline / Code Quality Check (push) Waiting to run
CI/CD Pipeline / Code Quality Check (pull_request) Failing after 30s
CI/CD Pipeline / Automated Testing (pull_request) Has been skipped
CI/CD Pipeline / Build Backend (pull_request) Has been skipped
CI/CD Pipeline / Build Frontend (pull_request) Has been skipped
CI/CD Pipeline / Deploy Staging (pull_request) Has been skipped
CI/CD Pipeline / Deploy Production (pull_request) Has been skipped
CI/CD Pipeline / Automated Testing (push) Has been cancelled
CI/CD Pipeline / Build Backend (push) Has been cancelled
CI/CD Pipeline / Build Frontend (push) Has been cancelled
CI/CD Pipeline / Deploy Staging (push) Has been cancelled
CI/CD Pipeline / Deploy Production (push) Has been cancelled
53ac0b94c5
- Replace actions/checkout@v4 with manual git clone
- Use correct Gitea URL with /git/ path
- This works around Gitea Actions URL bug
xiaoxia added 1 commit 2026-06-18 16:11:58 +08:00
ci: trigger CI test - 2026-06-18 16:11:49
CI/CD Pipeline / Code Quality Check (pull_request) Failing after 31s
CI/CD Pipeline / Automated Testing (pull_request) Has been skipped
CI/CD Pipeline / Code Quality Check (push) Failing after 33s
CI/CD Pipeline / Automated Testing (push) Has been skipped
CI/CD Pipeline / Build Backend (pull_request) Has been skipped
CI/CD Pipeline / Build Frontend (pull_request) Has been skipped
CI/CD Pipeline / Build Backend (push) Has been skipped
CI/CD Pipeline / Build Frontend (push) Has been skipped
CI/CD Pipeline / Deploy Staging (pull_request) Has been skipped
CI/CD Pipeline / Deploy Production (pull_request) Has been skipped
CI/CD Pipeline / Deploy Staging (push) Has been skipped
CI/CD Pipeline / Deploy Production (push) Has been skipped
e5fd3c8ad1
xiaoxia closed this pull request 2026-06-27 00:41:14 +08:00
Some checks are pending
CI/CD Pipeline / Code Quality Check (pull_request) Failing after 31s
CI/CD Pipeline / Automated Testing (pull_request) Has been skipped
CI/CD Pipeline / Code Quality Check (push) Failing after 33s
CI/CD Pipeline / Automated Testing (push) Has been skipped
CI/CD Pipeline / Build Backend (pull_request) Has been skipped
CI/CD Pipeline / Build Frontend (pull_request) Has been skipped
CI/CD Pipeline / Build Backend (push) Has been skipped
CI/CD Pipeline / Build Frontend (push) Has been skipped
CI/CD Pipeline / Deploy Staging (pull_request) Has been skipped
CI/CD Pipeline / Deploy Production (pull_request) Has been skipped
CI/CD Pipeline / Deploy Staging (push) Has been skipped
CI/CD Pipeline / Deploy Production (push) Has been skipped

Pull request closed

Sign in to join this conversation.