Commit Graph

1296 Commits

Author SHA1 Message Date
c364fcf8ff Merge pull request #3 from cloud-neutral-toolkit/refactor/makefile-scripts
Refactor/makefile scripts
2026-01-25 09:10:18 +08:00
Haitao Pan
fb06e97d6c Add superadmin integration tests and env-based config 2026-01-25 09:04:08 +08:00
Haitao Pan
ead2ed7fa2 chore: ignore account export output 2026-01-24 23:04:41 +08:00
Haitao Pan
6d76072104 chore: avoid clobbering schema on dump 2026-01-24 23:02:53 +08:00
Haitao Pan
1151ee0c71 chore: improve scripts for local stunnel and env 2026-01-24 22:57:37 +08:00
Haitao Pan
52a575535f chore: fix phony init-db and go proxy 2026-01-24 22:42:40 +08:00
Haitao Pan
c7c6e14ad5 refactor: move make targets to scripts 2026-01-24 22:36:29 +08:00
Haitao Pan
f7b71da95f chore: update cloud run image tag 2026-01-24 00:51:25 +08:00
Haitao Pan
d74372e592 fix: avoid duplicate healthz route 2026-01-24 00:50:47 +08:00
Haitao Pan
d0e8a4436f chore: update cloud run image tag 2026-01-24 00:00:53 +08:00
Haitao Pan
08a0a7a61b feat: add healthz endpoint 2026-01-24 00:00:30 +08:00
Haitao Pan
6928b9a6ff chore: update cloud run image tag 2026-01-23 23:51:15 +08:00
Haitao Pan
60a2490e86 fix: wait for stunnel before starting 2026-01-23 23:50:52 +08:00
Haitao Pan
67b8cac467 build: bump go builder image to 1.25.1 2026-01-23 23:34:46 +08:00
Haitao Pan
62e037795d chore: adapt cloud run + stunnel client config 2026-01-23 23:32:41 +08:00
Haitao Pan
29ee491acf reset accounts.svc.plus repo 2026-01-23 23:16:37 +08:00
Haitao Pan
e0915541a7 feat: add Cloud Run sidecar deployment for Stunnel and update client-side setup 2026-01-23 19:45:32 +08:00
Haitao Pan
b0c1ce813e update cmd/accountsvc/main.go 2026-01-23 19:23:48 +08:00
Haitao Pan
315517c047 fix: update entrypoint and config to bind to 0.0.0.0 for Cloud Run 2026-01-23 18:38:32 +08:00
Haitao Pan
3c5a018b63 merged 2026-01-23 17:35:18 +08:00
0bd40091e6 Merge pull request #2 from cloud-neutral-toolkit/fine-tune-dockerfile-entrypoint-4806566025323220590
Fix: Improve entrypoint script and Dockerfile for Cloud Run deployment
2026-01-21 17:01:09 +08:00
google-labs-jules[bot]
5226b2d9cf Fix: Improve entrypoint script and Dockerfile for Cloud Run deployment
- Update `entrypoint.sh` to support `DB_HOST`, `DB_PORT`, `DB_USER`, `DB_NAME` environment variables for dynamic DSN construction.
- Ensure proper escaping of special characters in `entrypoint.sh` when using `sed`.
- Update `Dockerfile` to accept `GOPROXY` build argument.
- Update `Dockerfile` to include `curl` in runtime image for debugging.
- Use `-ldflags="-s -w"` in `go build` to reduce binary size.
2026-01-21 08:49:49 +00:00
ad39ac335c Merge pull request #1 from cloud-neutral-toolkit/fix-cloud-run-build-and-startup-3517540955516058013
Fix Cloud Run build failure and stunnel startup issues
2026-01-21 15:59:28 +08:00
google-labs-jules[bot]
f4ec90bbfd Fix Cloud Run build and stunnel startup support
- Downgrade Go version from 1.25.1 to 1.24.0 in go.mod and Dockerfile to resolve build failure (Go 1.25 is not yet released).
- Add `netcat-openbsd` to Dockerfile runtime image to ensure `nc` command is available for health checks.
- Update `entrypoint.sh` to robustly wait for `stunnel` to start using `nc` loop, preventing app startup failure when DB TLS is enabled.
- Add explicit error handling in `entrypoint.sh` if `stunnel` fails to start within timeout.
2026-01-21 07:57:08 +00:00
Haitao Pan
19ab008c30 deployment with GitHub Actions, Stunnel for TLS database connections, and dynamic configuration injection. 2026-01-20 21:05:30 +08:00
Haitao Pan
ecf11b948f fix: update sql module imports 2026-01-16 16:20:06 +08:00
Haitao Pan
ee6e1a6363 feat: move account service to repo root
# Conflicts:
#	account/Makefile
#	account/go.mod
#	docs/account-admin-settings.md
#	docs/account-svc-plus.md
2026-01-16 16:15:23 +08:00
Haitao Pan
dce981a529 chore: move account sql assets and update migrate docs 2026-01-16 11:47:10 +08:00
Haitao Pan
5e57fdeac2 chore: update repo content and deployment/docs assets 2026-01-16 00:20:54 +08:00
f5f02330e8 Initialize neurapress package exports (#795) 2025-12-14 21:22:08 +08:00
bb7ca95c03 Add NeuraPress submodule metadata (#794) 2025-12-14 21:01:34 +08:00
6940d239c7 Revert "Add NeuraPress shim package (#792)" (#793)
This reverts commit 3f082e002e.
2025-12-14 20:25:32 +08:00
3f082e002e Add NeuraPress shim package (#792) 2025-12-14 20:23:17 +08:00
Haitao Pan
94123b756d chore(neurapress): relocate neurapress into dashboard sub-package 2025-12-14 19:48:40 +08:00
daca34ec6a Add entrypoint for neurapress local package (#791) 2025-12-14 19:40:24 +08:00
Haitao Pan
560df1e92e chore(neurapress): sync packages/neurapress with upstream source 2025-12-14 17:34:00 +08:00
b6d301f005 chore: move neurapress to internal package (#786) 2025-12-14 17:30:15 +08:00
748e10e63d Make neurapress client-only entrypoint (#784) 2025-12-14 16:52:29 +08:00
30742eb62d Add NeuraPress vendor entry point for editor (#783) 2025-12-14 16:10:35 +08:00
Haitao Pan
d769ef6aa8 dashboard: move neurapress/ -> vendor/neurapress/ 2025-12-14 16:00:04 +08:00
f9a0bc499a Highlight NeuraPress core in editor page (#782) 2025-12-14 15:57:06 +08:00
a84389f4a5 Make editor editor page client component (#781) 2025-12-14 15:34:41 +08:00
e65661972c Align dashboard Makefile build with Dockerfile (#780) 2025-12-14 15:17:31 +08:00
Haitao Pan
dd87b00787 chore(dashboard): switch yarn registry to npmmirror; tidy Makefile; fix next-env types path 2025-12-14 14:50:45 +08:00
57a945be26 Add vendored neurapress editor shell (#779) 2025-12-14 14:39:17 +08:00
Haitao Pan
063e6cc16f add markdown editor base opensource neurapress 2025-12-14 14:02:10 +08:00
Haitao Pan
62ef2432b7 chore(docker-compose): switch images to cloudneutral namespace 2025-12-14 13:58:10 +08:00
4b83e483c8 Add XControl image readiness check workflow (#778) 2025-12-12 16:05:50 +08:00
de55da25e4 Update dashboard lockfile for Yarn 4.12 (#777) 2025-12-12 15:28:15 +08:00
7a83d195ae Fix xcontrol-init build context in workflow (#776) 2025-12-12 15:07:55 +08:00