Commit Graph

1141 Commits

Author SHA1 Message Date
Haitao Pan
f9d120fc3e fix(rag-server): correct Dockerfile WORKDIR so go.mod is detected during build 2025-12-04 23:44:55 +08:00
Haitao Pan
595ad65292 fix(rag-server): correct Dockerfile WORKDIR so go.mod is detected during build 2025-12-04 23:37:22 +08:00
Haitao Pan
05a1db3aa2 fix(docker): install curl in builder image for init-go 2025-12-04 23:25:09 +08:00
Haitao Pan
eaa1412bcb build: ensure Go init runs before binary compilation 2025-12-04 23:20:47 +08:00
Haitao Pan
c1f78ee1da fix(docker): expose GO_VERSION arg in builder stages
Builder images install Go SDK and must receive GO_VERSION explicitly.
Adds missing ARG to account and rag-server Dockerfiles.
2025-12-04 23:15:00 +08:00
Haitao Pan
7601669fd4 build: drop ARG gymnastics; embed Go install in builder stages 2025-12-04 23:11:20 +08:00
Haitao Pan
447f60ba51 ci(docker): simplify Go builder pipeline and trim runtime images 2025-12-04 22:57:12 +08:00
Haitao Pan
87d2e90244 fix(docker): add default go-runtime image arg for account and rag-server builds 2025-12-04 22:42:40 +08:00
Haitao Pan
ce0f0e10c9 fix(docker): align account build stages with go-runtime INSTALL_GO args 2025-12-04 22:23:18 +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
9cda9f67d7 feat(docker): enhance go-runtime with optional Go SDK and unify rag-server multi-stage build 2025-12-04 22:09:05 +08:00
Haitao Pan
515f51460a fix(docker): move global ARGs before FROM and normalize dashboard runtime path 2025-12-04 21:52:34 +08:00
Haitao Pan
d85b4a6d50 chore(docker): unify account service entrypoint naming and permissions 2025-12-04 21:47:00 +08:00
Haitao Pan
82fb5ee168 chore(docker): install make in builder stage and clean runtime env vars 2025-12-04 21:44:46 +08:00
Haitao Pan
1da2ce64c0 refactor(build): enable standalone next.js build and fix rag-server Dockerfile paths 2025-12-04 21:40:58 +08:00
Haitao Pan
3726b0c6c9 build(dashboard): refactor Dockerfile to two-stage COPY + make build workflow 2025-12-04 21:27:53 +08:00
Haitao Pan
a4ecb7be6f ci: simplify image fallback logic with non-empty defaults 2025-12-04 21:17:38 +08:00
Haitao Pan
a03be0e1ff ci(build-service-images): add default node/go runtime image values 2025-12-04 21:09:56 +08:00
Haitao Pan
4e764284ad refactor(docker): replace GO_BASE_IMAGE with GO_RUNTIME_IMAGE across Dockerfiles 2025-12-04 21:04:31 +08:00
Haitao Pan
b6ab6f8ded ci(service-images): remove image-ref indirection and simplify build args 2025-12-04 20:58:53 +08:00
Haitao Pan
15a9c9bb69 ci: simplify service image workflow by removing prepare-image-refs indirection 2025-12-04 20:52:03 +08:00
Haitao Pan
0c3b3a612d ci(workflow): rename base-image inputs and simplify service build
Replaces the old *_digest inputs with clearer *_image references that
accept full repo URLs. Cleans up the service matrix and switches the
build step to proper context/file usage. Removes unused base image args
to match current service needs.
2025-12-04 20:42:33 +08:00
a5c30bade1 Adjust workflow build directories (#749) 2025-12-04 20:28:44 +08:00
Haitao Pan
e4869b9ed5 fix(account,ci): adjust image digests and simplify account config handling 2025-12-04 20:21:57 +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
789e5eac3d Extract base image preparation script (#748) 2025-12-04 19:48:46 +08:00
dependabot[bot]
bd4348c1e3 build(deps): bump golang.org/x/crypto in /light-idp/idp-server (#677)
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.36.0 to 0.45.0.
- [Commits](https://github.com/golang/crypto/compare/v0.36.0...v0.45.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-version: 0.45.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-04 19:47:12 +08:00
dependabot[bot]
2127c04a7d chore(deps): bump next from 16.0.1 to 16.0.7 in /dashboard (#736)
Bumps [next](https://github.com/vercel/next.js) from 16.0.1 to 16.0.7.
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/compare/v16.0.1...v16.0.7)

---
updated-dependencies:
- dependency-name: next
  dependency-version: 16.0.7
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-04 19:45:50 +08:00
5870f573af Update service build workflow inputs (#747) 2025-12-04 16:14:19 +08:00
Haitao Pan
9344c7bf19 chore: workflow tweaks + go-runtime rename + Dockerfile fixes 2025-12-04 15:07:23 +08:00
Haitao Pan
5c92bebc2c merged: go-runtime.Dockerfile & go-builder.Dockerfile -> go-base.Dockerfile 2025-12-04 14:52:33 +08:00
6132704d04 Use default registry for base image workflow (#746) 2025-12-04 14:39:51 +08:00
ac41055ab2 Update Go base images to Ubuntu 24.04 (#745) 2025-12-04 14:31:24 +08:00
Haitao Pan
f84a23997c reverted: build-base-images.yml 2025-12-04 14:17:03 +08:00
Haitao Pan
0edcbf5b05 ci(build-base-images): correct workflow name to 'Build Base Images' 2025-12-04 14:09:13 +08:00
Haitao Pan
650b72dd97 ci(build-service-images): remove illegal GITHUB_TOKEN declaration 2025-12-04 14:07:41 +08:00
Haitao Pan
71137e118a ci: rewrite base-image workflow into service-image builder 2025-12-04 14:04:39 +08:00
fa6aae2e1b Fix build-service workflow secrets declaration (#744) 2025-12-04 13:53:38 +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
788a518352 Refine GitHub actions matrix support (#740) 2025-12-04 11:34:10 +08:00
65eb04cb1f Fix workflow environment handling (#739) 2025-12-04 11:10:25 +08:00
7392ae76cd Reorganize build image workflows (#738) 2025-12-04 11:04:59 +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