Commit Graph

124 Commits

Author SHA1 Message Date
Haitao Pan
53f19c379f deployment with GitHub Actions, Stunnel for TLS database connections, and dynamic configuration injection. 2026-01-20 21:05:30 +08:00
dd1543e86f Add XControl image readiness check workflow (#778) 2025-12-12 16:05:50 +08:00
4721a065ec Fix xcontrol-init build context in workflow (#776) 2025-12-12 15:07:55 +08:00
554ea7bf8b Adjust xcontrol-init build context (#775) 2025-12-12 14:58:39 +08:00
Haitao Pan
43e8cf927a feat: add Dockerfile for XControl Init service 2025-12-11 16:09:19 +08:00
Haitao Pan
d9c5a3ee8c chore(ci): update default Docker Hub namespace to "cloudneutral" 2025-12-08 17:18:45 +08:00
Haitao Pan
172ff17512 refactor(ci): simplify DockerHub push logic to always publish using 'latest' tag 2025-12-06 23:11:09 +08:00
Haitao Pan
97ee055c69 fix(ci): add fallback to 'latest' when TAG_NAMES is empty in DockerHub push logic 2025-12-06 23:00:57 +08:00
Haitao Pan
0cf1dd9b04 ci: unify DockerHub retag/push logic across base and service image workflows 2025-12-06 22:50:28 +08:00
Haitao Pan
6a5a593bac build(ci): unify push_images logic and add global PUSH_IMAGES env 2025-12-06 22:31:46 +08:00
Haitao Pan
7068c7c964 refactor(ci): unify build job names and split security stage for base and service workflows 2025-12-06 22:26:35 +08:00
Haitao Pan
ee7738222d feat(ci): add Docker Hub namespace support and push steps to base image workflow 2025-12-06 22:11:21 +08:00
Haitao Pan
8dc9a62e76 feat(ci): add Docker Hub namespace support and push workflow 2025-12-06 22:03:02 +08:00
Haitao Pan
33a6dd8d44 deploy: remove init service and drop unused workspace volume bindings 2025-12-06 21:21:40 +08:00
Haitao Pan
bc2aec193b ci: force GHCR images to public; update docker-compose to use postgres-runtime 2025-12-06 20:48:53 +08:00
Haitao Pan
50169300e3 ci(build-service): switch base images to official Node/Golang for consistent builds
Replaced legacy GHCR base-image fallbacks with the official upstream images:
- node:22-bookworm (builder)
- node:22-slim (runtime)
- golang:1.25 (Go services)
2025-12-06 20:27:09 +08:00
Haitao Pan
7a7e99f9e9 chore(ci): remove unused Go/Node base images from build matrix 2025-12-06 19:28:53 +08:00
Haitao Pan
7e7b21f053 ci(base-images): fix Trivy scan ref (matrix.service → matrix.image) 2025-12-06 19:03:30 +08:00
Haitao Pan
c2e0d18f31 ci(service-images): switch default base images to upstream node/go 2025-12-06 18:59:43 +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
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
f3313c9c8f Fix matrix support references in composite actions (#756) 2025-12-06 11:29:54 +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
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
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
2d9294f002 Update service build workflow inputs (#747) 2025-12-04 16:14:19 +08:00
Haitao Pan
060a089f55 chore: workflow tweaks + go-runtime rename + Dockerfile fixes 2025-12-04 15:07:23 +08:00
Haitao Pan
a0c9e328ef merged: go-runtime.Dockerfile & go-builder.Dockerfile -> go-base.Dockerfile 2025-12-04 14:52:33 +08:00
692a990098 Use default registry for base image workflow (#746) 2025-12-04 14:39:51 +08:00
Haitao Pan
affeb3fbb9 reverted: build-base-images.yml 2025-12-04 14:17:03 +08:00
Haitao Pan
859a2a4902 ci(build-base-images): correct workflow name to 'Build Base Images' 2025-12-04 14:09:13 +08:00
Haitao Pan
1fdd130b7d ci(build-service-images): remove illegal GITHUB_TOKEN declaration 2025-12-04 14:07:41 +08:00
Haitao Pan
3cf600c13d ci: rewrite base-image workflow into service-image builder 2025-12-04 14:04:39 +08:00
b8b5c18511 Fix build-service workflow secrets declaration (#744) 2025-12-04 13:53:38 +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
e48b05806e Refine GitHub actions matrix support (#740) 2025-12-04 11:34:10 +08:00
a76acab06d Fix workflow environment handling (#739) 2025-12-04 11:10:25 +08:00
92634d2518 Reorganize build image workflows (#738) 2025-12-04 11:04:59 +08:00