Commit Graph

21 Commits

Author SHA1 Message Date
Haitao Pan
7054ecae5e feat: make release chain traceable by sha 2026-04-12 13:42:48 +08:00
Haitao Pan
412573bdbd Move image push into build job 2026-04-11 08:52:46 +08:00
Haitao Pan
4e25c7ea58 Simplify accounts pipeline flow 2026-04-11 08:41:25 +08:00
Haitao Pan
51dd23de73 fix: log in to ghcr before sbom scan 2026-04-10 20:37:24 +08:00
Haitao Pan
7b7d045cd9 chore: extract pipeline flag resolution 2026-04-10 20:35:20 +08:00
Haitao Pan
ddf0fd827e chore: inline deploy playbook execution 2026-04-10 20:27:54 +08:00
Haitao Pan
2baf21a251 chore: simplify workflow dispatch inputs 2026-04-10 20:18:42 +08:00
Haitao Pan
79fd46678b Refactor GitHub Actions pipeline 2026-04-10 20:10:33 +08:00
Haitao Pan
70c6a3f82f removed all old workflows 2026-04-02 17:51:35 +08:00
Haitao Pan
cb291a0868 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
5f6f8e2b3a ci(pipeline): fix CD job dependency to wait for service image build 2025-12-04 19:54:33 +08:00
833f7876a5 Fix workflow syntax issues (#743) 2025-12-04 13:43:43 +08:00
01ea6fb0cb Fix workflow secrets inheritance usage (#742) 2025-12-04 13:39:04 +08:00
27a39568a2 Fix pipeline workflow syntax (#741) 2025-12-04 13:33:36 +08:00
Haitao Pan
3ac729e651 ci: replace composite actions with reusable workflows and extract scripts 2025-12-04 13:20:52 +08:00
Haitao Pan
629e5baf17 ci(build): move image build steps out of build action into main pipeline 2025-12-04 11:59:36 +08:00
Haitao Pan
64bba74dd1 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
65eb04cb1f Fix workflow environment handling (#739) 2025-12-04 11:10:25 +08:00
Haitao Pan
97389b92a6 ci(pipeline): refactor GitHub Actions to simplify matrix and unify environment control 2025-12-04 11:03:31 +08:00
Haitao Pan
cb2105ade1 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
0810d76a0b Refactor CI pipeline with matrix stages (#737) 2025-12-04 10:40:18 +08:00