Commit Graph

1275 Commits

Author SHA1 Message Date
Haitao Pan
497a4ebd71 Add superadmin integration tests and env-based config 2026-01-25 09:04:08 +08:00
Haitao Pan
2d1f20a33f chore: ignore account export output 2026-01-24 23:04:41 +08:00
Haitao Pan
3aa9bc3fba chore: avoid clobbering schema on dump 2026-01-24 23:02:53 +08:00
Haitao Pan
b80032919a chore: improve scripts for local stunnel and env 2026-01-24 22:57:37 +08:00
Haitao Pan
d703e1f34b chore: fix phony init-db and go proxy 2026-01-24 22:42:40 +08:00
Haitao Pan
7fad438a94 refactor: move make targets to scripts 2026-01-24 22:36:29 +08:00
Haitao Pan
a66536043b chore: update cloud run image tag 2026-01-24 00:51:25 +08:00
Haitao Pan
cfbb363a9f fix: avoid duplicate healthz route 2026-01-24 00:50:47 +08:00
Haitao Pan
bb999fb2a9 chore: update cloud run image tag 2026-01-24 00:00:53 +08:00
Haitao Pan
74814c70cd feat: add healthz endpoint 2026-01-24 00:00:30 +08:00
Haitao Pan
57de96a025 chore: update cloud run image tag 2026-01-23 23:51:15 +08:00
Haitao Pan
1a9eaf13df fix: wait for stunnel before starting 2026-01-23 23:50:52 +08:00
Haitao Pan
0daa20a0f2 build: bump go builder image to 1.25.1 2026-01-23 23:34:46 +08:00
Haitao Pan
e72b37e7be chore: adapt cloud run + stunnel client config 2026-01-23 23:32:41 +08:00
Haitao Pan
04e03ce488 reset accounts.svc.plus repo 2026-01-23 23:16:37 +08:00
Haitao Pan
267d795391 feat: add Cloud Run sidecar deployment for Stunnel and update client-side setup 2026-01-23 19:45:32 +08:00
Haitao Pan
02d21241ff update cmd/accountsvc/main.go 2026-01-23 19:23:48 +08:00
Haitao Pan
15f966a29a 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
7661e5a23a merged 2026-01-23 17:35:18 +08:00
f49972ff26 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]
f32d7f7b5f 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
71300d1b51 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]
38a5f3de9b 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
53f19c379f deployment with GitHub Actions, Stunnel for TLS database connections, and dynamic configuration injection. 2026-01-20 21:05:30 +08:00
Haitao Pan
7f6fe07f7f fix: update sql module imports 2026-01-16 16:20:06 +08:00
Haitao Pan
07e31ff6bd 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
b2cc2b1dad chore: move account sql assets and update migrate docs 2026-01-16 11:47:10 +08:00
Haitao Pan
bececb69ac chore: update repo content and deployment/docs assets 2026-01-16 00:20:54 +08:00
a2329c5735 Initialize neurapress package exports (#795) 2025-12-14 21:22:08 +08:00
0134653705 Add NeuraPress submodule metadata (#794) 2025-12-14 21:01:34 +08:00
40ca789db5 Revert "Add NeuraPress shim package (#792)" (#793)
This reverts commit 5d44ebfd6f.
2025-12-14 20:25:32 +08:00
5d44ebfd6f Add NeuraPress shim package (#792) 2025-12-14 20:23:17 +08:00
Haitao Pan
50b7578252 chore(neurapress): relocate neurapress into dashboard sub-package 2025-12-14 19:48:40 +08:00
e5669b48de Add entrypoint for neurapress local package (#791) 2025-12-14 19:40:24 +08:00
Haitao Pan
e3bf8d1762 chore(neurapress): sync packages/neurapress with upstream source 2025-12-14 17:34:00 +08:00
be795498b9 chore: move neurapress to internal package (#786) 2025-12-14 17:30:15 +08:00
7ffd5a5a67 Make neurapress client-only entrypoint (#784) 2025-12-14 16:52:29 +08:00
390e9be8ff Add NeuraPress vendor entry point for editor (#783) 2025-12-14 16:10:35 +08:00
Haitao Pan
e76285d810 dashboard: move neurapress/ -> vendor/neurapress/ 2025-12-14 16:00:04 +08:00
ee20a2eac1 Highlight NeuraPress core in editor page (#782) 2025-12-14 15:57:06 +08:00
7084c47573 Make editor editor page client component (#781) 2025-12-14 15:34:41 +08:00
b7ae354ca1 Align dashboard Makefile build with Dockerfile (#780) 2025-12-14 15:17:31 +08:00
Haitao Pan
6426cce823 chore(dashboard): switch yarn registry to npmmirror; tidy Makefile; fix next-env types path 2025-12-14 14:50:45 +08:00
058336c0ea Add vendored neurapress editor shell (#779) 2025-12-14 14:39:17 +08:00
Haitao Pan
7c6876247c add markdown editor base opensource neurapress 2025-12-14 14:02:10 +08:00
Haitao Pan
c7a15de84d chore(docker-compose): switch images to cloudneutral namespace 2025-12-14 13:58:10 +08:00
dd1543e86f Add XControl image readiness check workflow (#778) 2025-12-12 16:05:50 +08:00
00ebe70f82 Update dashboard lockfile for Yarn 4.12 (#777) 2025-12-12 15:28:15 +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