Commit Graph

12 Commits

Author SHA1 Message Date
Haitao Pan
d850d37c32 fix(ci): add checkout step for local actions and rename pipeline to XControl Unified CI/CD Pipeline 2025-12-04 22:15:49 +08:00
Haitao Pan
c3fab178d8 ci(pipeline): fix CD job dependency to wait for service image build 2025-12-04 19:54:33 +08:00
7b71201841 Fix workflow syntax issues (#743) 2025-12-04 13:43:43 +08:00
0d45148d5d Fix workflow secrets inheritance usage (#742) 2025-12-04 13:39:04 +08:00
b18ba8162d Fix pipeline workflow syntax (#741) 2025-12-04 13:33:36 +08:00
Haitao Pan
48eb1b79df ci: replace composite actions with reusable workflows and extract scripts 2025-12-04 13:20:52 +08:00
Haitao Pan
364857c691 ci(build): move image build steps out of build action into main pipeline 2025-12-04 11:59:36 +08:00
Haitao Pan
2eadd6d310 ci(pipeline): split CI and CD stages; remove env from CI jobs
CI jobs no longer carry environment vars and depend only on branches.
Deploy remains environment-aware and runs only on workflow_dispatch.
2025-12-04 11:34:29 +08:00
a76acab06d Fix workflow environment handling (#739) 2025-12-04 11:10:25 +08:00
Haitao Pan
0259f56cc3 ci(pipeline): refactor GitHub Actions to simplify matrix and unify environment control 2025-12-04 11:03:31 +08:00
Haitao Pan
3acd9512e5 ci(pipeline): replace YAML anchors with global matrix env vars
GitHub Actions does not support YAML anchors (`x-matrix`), so the
pipeline has been updated to use JSON-based global matrix variables
(MATRIX_PLATFORM / MATRIX_SERVICE / MATRIX_ENVIRONMENT) and
fromJson() inside each job's strategy.

No logic changed: the 5-stage pipeline (code-quality → build → test
→ security → deploy) keeps the same matrix behaviour with a single
source of truth.
2025-12-04 10:54:50 +08:00
8ee35d1765 Refactor CI pipeline with matrix stages (#737) 2025-12-04 10:40:18 +08:00