Commit Graph

1195 Commits

Author SHA1 Message Date
69676cdc04 fix: update dashboard glob dependency (#764) 2025-12-06 18:54:24 +08:00
Haitao Pan
07e11cc18d ci(base-images): add Trivy vuln scan for built images 2025-12-06 18:52:18 +08:00
Haitao Pan
4a230bfb0d base-images: switch go-runtime to golang:1.25 and node-builder to bookworm 2025-12-06 18:36:30 +08:00
e51a2443b6 chore(account): bump quic-go (#763) 2025-12-06 18:20:24 +08:00
dependabot[bot]
d4eb45fb85 build(deps): bump golang.org/x/crypto in /rag-server (#761)
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.44.0 to 0.45.0.
- [Commits](https://github.com/golang/crypto/compare/v0.44.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-06 17:27:10 +08:00
dependabot[bot]
329cdadaea build(deps): bump github.com/quic-go/quic-go in /rag-server (#762)
Bumps [github.com/quic-go/quic-go](https://github.com/quic-go/quic-go) from 0.54.0 to 0.54.1.
- [Release notes](https://github.com/quic-go/quic-go/releases)
- [Commits](https://github.com/quic-go/quic-go/compare/v0.54.0...v0.54.1)

---
updated-dependencies:
- dependency-name: github.com/quic-go/quic-go
  dependency-version: 0.54.1
  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-06 17:26:36 +08:00
Haitao Pan
754327b559 ci(build-service-images): switch base images to public upstream defaults
Replaced internal GHCR base images with upstream Node and Go images
(node:22-bookworm, node:22-slim, golang:1.25) to avoid auth failures
and unblock builds on fresh runners. Downstream logic unchanged.
2025-12-06 16:41:38 +08:00
Haitao Pan
47cf30fbdc dashboard: drop registry override and clean up build steps 2025-12-06 16:25:40 +08:00
2e4a874c97 Fix cloud IaC service detail import (#760) 2025-12-06 16:13:52 +08:00
c0b22c314d Handle client-only rendering for IaC service page (#759) 2025-12-06 16:06:59 +08:00
eca08bfd38 Fix unique keys in Cloud IaC catalog (#758) 2025-12-06 15:46:04 +08:00
Haitao Pan
3b3d217569 updat dashboard/Dockerfile 2025-12-06 13:22:33 +08:00
8a569b3790 Fix dashboard Docker build dependencies (#757) 2025-12-06 11:50:31 +08:00
Haitao Pan
7ac71fc1d5 build(dashboard): bump node base images to 22-bookworm and use yarn for next build 2025-12-06 11:37:36 +08:00
f3313c9c8f Fix matrix support references in composite actions (#756) 2025-12-06 11:29:54 +08:00
f909a2592e Fix download page type import (#755) 2025-12-06 11:21:30 +08:00
967576dfb1 Rebuild docker-compose stack for XControl (#754) 2025-12-06 11:11:20 +08:00
f1dc8e3668 Use public Node images for dashboard build (#753) 2025-12-06 11:01:37 +08:00
236a5d1a77 Fix account module path (#751)
* Fix module path for account service

* Restructure account module path
2025-12-06 10:32:31 +08:00
1d08955b07 Fix rag-server module path (#752)
* Fix rag-server module path

* Align rag-server module imports
2025-12-06 10:27:24 +08:00
Haitao Pan
9e35a09acf fix(makefile): add idempotent go mod init for account and rag-server 2025-12-06 10:09:06 +08:00
Haitao Pan
5b2bf946f6 fix(go-modules): correct module paths for account and rag-server
Split repositories into two standalone Go modules and fixed their
respective Makefile init targets. Updated:

- account: module → `account`
- rag-server: module → `rag-server`
2025-12-06 10:00:34 +08:00
Haitao Pan
3031a59d6b chore(docker): bump Go base image to 1.25 for account and rag-server 2025-12-05 00:41:45 +08:00
Haitao Pan
42ae5f245f feat: add go modules for account & rag-server services 2025-12-05 00:38:33 +08:00
Haitao Pan
cffa35b481 fix(rag-server): correct Dockerfile WORKDIR so go.mod is detected during build 2025-12-04 23:44:55 +08:00
Haitao Pan
bfcbc1f735 fix(rag-server): correct Dockerfile WORKDIR so go.mod is detected during build 2025-12-04 23:37:22 +08:00
Haitao Pan
8bb2d3b3ab fix(docker): install curl in builder image for init-go 2025-12-04 23:25:09 +08:00
Haitao Pan
1cc683eaee build: ensure Go init runs before binary compilation 2025-12-04 23:20:47 +08:00
Haitao Pan
d0a5a613af 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
59cfd6c397 build: drop ARG gymnastics; embed Go install in builder stages 2025-12-04 23:11:20 +08:00
Haitao Pan
a6ee35499f ci(docker): simplify Go builder pipeline and trim runtime images 2025-12-04 22:57:12 +08:00
Haitao Pan
f6d3b82153 fix(docker): add default go-runtime image arg for account and rag-server builds 2025-12-04 22:42:40 +08:00
Haitao Pan
6168b2ac7e fix(docker): align account build stages with go-runtime INSTALL_GO args 2025-12-04 22:23:18 +08:00
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
dc7251804c 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
baff113d10 fix(docker): move global ARGs before FROM and normalize dashboard runtime path 2025-12-04 21:52:34 +08:00
Haitao Pan
e8c1bbbcac chore(docker): unify account service entrypoint naming and permissions 2025-12-04 21:47:00 +08:00
Haitao Pan
99fe1f33b3 chore(docker): install make in builder stage and clean runtime env vars 2025-12-04 21:44:46 +08:00
Haitao Pan
9aef9281fe refactor(build): enable standalone next.js build and fix rag-server Dockerfile paths 2025-12-04 21:40:58 +08:00
Haitao Pan
b059fbd265 build(dashboard): refactor Dockerfile to two-stage COPY + make build workflow 2025-12-04 21:27:53 +08:00
Haitao Pan
47fb88f55c ci: simplify image fallback logic with non-empty defaults 2025-12-04 21:17:38 +08:00
Haitao Pan
437b367032 ci(build-service-images): add default node/go runtime image values 2025-12-04 21:09:56 +08:00
Haitao Pan
5264ffc9eb refactor(docker): replace GO_BASE_IMAGE with GO_RUNTIME_IMAGE across Dockerfiles 2025-12-04 21:04:31 +08:00
Haitao Pan
d733981c22 ci(service-images): remove image-ref indirection and simplify build args 2025-12-04 20:58:53 +08:00
Haitao Pan
95e2a94461 ci: simplify service image workflow by removing prepare-image-refs indirection 2025-12-04 20:52:03 +08:00
Haitao Pan
bc13268279 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
9a5ee27cb2 Adjust workflow build directories (#749) 2025-12-04 20:28:44 +08:00
Haitao Pan
e8964a9902 fix(account,ci): adjust image digests and simplify account config handling 2025-12-04 20:21:57 +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
0f14da2623 Extract base image preparation script (#748) 2025-12-04 19:48:46 +08:00