Commit graph

90 commits

Author SHA1 Message Date
452e674e09 fix(ci): use killall -9 with fuser fallback for reliable process kill
Some checks failed
BotServer CI/CD / build (push) Has been cancelled
2026-04-03 20:01:11 -03:00
bf140a870e fix(ci): resolve deploy step hanging on pkill
Some checks failed
BotServer CI/CD / build (push) Has been cancelled
- pgrep -f botserver matched the SSH command itself causing deadlock
- replaced with pkill -f '/opt/gbo/bin/botserver' || true
- added SSH keepalive (ServerAliveInterval=10, ServerAliveCountMax=3)
- added Step 7: explicitly start botserver after deploy
- fixed unquoted SSH_ARGS causing argument splitting
2026-04-03 19:51:30 -03:00
9440ba46d3 ci: fix deploy SSH to use explicit key for gbuser
Some checks failed
BotServer CI/CD / build (push) Failing after 1s
- Add SSH_KEY variable with -i flag for gbuser identity
- Fix all ssh commands in deploy and verify steps
- Job 902 proved build works with sccache (106s)
- Deploy was failing because gbuser had no SSH key auth to system container
2026-04-03 10:17:40 -03:00
71cb8dee2e ci: fix PATH to include rustup toolchain bin directory
All checks were successful
BotServer CI/CD / build (push) Successful in 1m46s
2026-04-03 09:45:02 -03:00
1779f4f2fd ci: run as gbuser, use sccache, rename ci to data
Some checks failed
BotServer CI/CD / build (push) Failing after 2s
- Change runner service from root to gbuser
- Add sccache for build caching (RUSTC_WRAPPER=sccache)
- Rename /opt/gbo/ci to /opt/gbo/data for consistency
- Persist gb-ws clone instead of re-cloning every build
- Add sccache --show-stats to build output for monitoring
2026-04-03 09:40:16 -03:00
11c161fc1d Update botserver
All checks were successful
BotServer CI/CD / build (push) Successful in 27s
2026-04-02 17:03:12 -03:00
521b9b7da4 Update forgejo workflow
Some checks failed
BotServer CI/CD / build (push) Failing after 19s
2026-04-02 16:15:01 -03:00
00e5a3a5ff ci: add Step 7 to restart botserver service after deploy
Some checks failed
BotServer CI/CD / build (push) Failing after 17s
2026-04-02 16:01:15 -03:00
b47d928608 fix: CI system dependencies check before apt-get update
All checks were successful
BotServer CI/CD / build (push) Successful in 3m47s
- Check if packages already installed with dpkg before running apt-get
- Skip apt-get update/install if all dependencies present
- Reduces CI time from ~30s to instant on subsequent runs
2026-04-01 18:19:10 -03:00
68ef554132 fix: Vault as single source of truth - credentials + location for all services
All checks were successful
BotServer CI/CD / build (push) Successful in 4m53s
- Qdrant health check: recognize 'healthz check passed' response (fixes 45s timeout)
- seed_vault_defaults: add host/port/url/grpc_port for ALL 10 services
- fetch_vault_credentials: fetch ALL services via generic loop (drive, cache, tables, vectordb, directory, llm, meet, alm, encryption)
- vectordb URL: fix https://localhost:6334 -> http://localhost:6333 in all config getters
- get_from_env: add host/port/grpc_port for vectordb fallback
- Tested: .reset (fresh install) + .restart (idempotent) - zero errors
2026-04-01 16:46:16 -03:00
26684e2db3 fix(ci): Separate deploy steps, use killall instead of pkill, add numbered traces
All checks were successful
BotServer CI/CD / build (push) Successful in 3m24s
2026-03-31 19:09:01 -03:00
dfa78890ab fix(ci): Use tar+zstd over ssh for binary deploy
Some checks failed
BotServer CI/CD / build (push) Failing after 7s
2026-03-31 19:07:31 -03:00
ab620aa729 fix(ci): Separate deploy steps with timeouts
Some checks failed
BotServer CI/CD / build (push) Failing after 8s
2026-03-31 19:02:21 -03:00
1fdb0df634 fix(ci): Add verbose traces to rsync deploy step
Some checks failed
BotServer CI/CD / build (push) Failing after 8s
2026-03-31 18:58:24 -03:00
1e14bd8b3b fix(ci): Use rsync for deploy instead of incus
Some checks failed
BotServer CI/CD / build (push) Failing after 14s
2026-03-31 18:35:16 -03:00
64fea8ea4e fix(ci): Direct incus file push between containers
Some checks failed
BotServer CI/CD / build (push) Failing after 7s
2026-03-31 18:15:33 -03:00
dca097f63b fix(ci): Use incus file transfer for large binary deploy
Some checks failed
BotServer CI/CD / build (push) Failing after 8s
2026-03-31 18:14:26 -03:00
307aa3180f fix(ci): Add /root/.cargo/bin to PATH for alm-ci runner
All checks were successful
BotServer CI/CD / build (push) Successful in 20s
2026-03-31 15:32:37 -03:00
fa8701d69e fix(ci): Remove hardcoded hosts entry
Some checks failed
BotServer CI/CD / build (push) Failing after 7s
2026-03-31 15:28:53 -03:00
a5dca2216b fix(ci): Update alm IP to 63.141.255.9 and simplify setup step 2026-03-31 15:28:43 -03:00
4c0cfb72eb fix(ci): Simplify SSL setup step, remove fragile git config parsing 2026-03-31 15:28:11 -03:00
e3faf7711c fix(ci): Remove internet-dependent rust/sccache installation steps
Some checks failed
BotServer CI/CD / build (push) Failing after 0s
- alm-ci has Rust and tools pre-installed offline
- Remove sccache download from GitHub releases
- Remove sccache server startup and stats display
2026-03-31 15:21:35 -03:00
3da26f497c fix: Use pre-installed Rust tools instead of downloading
- Remove Install Rust step (pre-installed in /root/.cargo/bin)
- Remove Install sccache step (pre-installed)
- Use pre-installed tools path instead
2026-03-31 12:55:21 -03:00
071f66d96e revert: Remove Google DNS workaround, fixed at DNS root 2026-03-31 12:35:46 -03:00
492e3c9dc8 fix: Add Google DNS for external domains 2026-03-31 12:26:27 -03:00
885b20a626 fix: Update container name and remove bad git url replacements 2026-03-31 12:15:25 -03:00
291b7e2e65 ci: Trigger build
Some checks failed
BotServer CI/CD / build (push) Failing after 13s
2026-03-21 21:09:49 -03:00
a30aeada83 revert: Remove IP hardcode from workflow 2026-03-21 21:08:50 -03:00
4893a01375 ci: Add hostname setup step 2026-03-21 21:08:11 -03:00
43f2eb7e5c ci: Add health check after botserver deploy 2026-03-21 20:47:13 -03:00
4f43b9eefc ci: Fix pkill pattern to match running process 2026-03-20 22:57:10 -03:00
8c9a21d586 fix: Explicitly enable chat feature in CI build 2026-03-20 22:44:19 -03:00
90b097ea50 fix: Use gb Cargo.toml with members stripped instead of minimal fake 2026-03-20 21:45:17 -03:00
7f36f47339 fix: Replace heredoc with printf in workflow YAML 2026-03-20 21:43:01 -03:00
1fb1e06bdb ci: Fixed workspace path for incremental builds, no more full recompile 2026-03-20 21:39:58 -03:00
9f6499b56a fix: rm binary before scp to bypass ownership restriction 2026-03-20 20:59:20 -03:00
97e9e6626e ci: Fix deploy log capture and error handling 2026-03-20 20:33:14 -03:00
ac6d41f2c9 ci: Add verbose scp logging to debug deploy failure 2026-03-20 19:51:08 -03:00
cac045d98a fix: Clone botserver to temp dir then replace submodule to avoid workspace conflict 2026-03-20 19:15:03 -03:00
6e54799973 fix: Kill botserver before scp deploy to prevent file lock 2026-03-20 18:59:14 -03:00
282f3487c0 ci: deploy via SSH instead of lxc device mounts 2026-03-17 13:12:41 -03:00
bf5ee0bef2 Remove botui SVG dependency - use None for svg_content
All checks were successful
BotServer CI / build (push) Successful in 15m48s
2026-03-15 16:20:41 -03:00
749db895bb CI: copy botui instead of symlink
Some checks failed
BotServer CI / build (push) Has been cancelled
2026-03-15 16:18:55 -03:00
321d744922 CI: fix botui symlink path
Some checks failed
BotServer CI / build (push) Failing after 17s
2026-03-15 16:16:38 -03:00
4f214f3d98 CI: add botui submodule for SVG assets
Some checks are pending
BotServer CI / build (push) Waiting to run
2026-03-15 16:16:18 -03:00
0883fe9cce fix: Avoid workspace conflict in Forgejo CI
All checks were successful
BotServer CI / build (push) Successful in 7m54s
Remove actions/checkout with custom path that causes multiple workspace
roots error. Clone botserver repository directly in Setup Workspace step
instead of using checkout action.

Fixes error: "multiple workspace roots found in the same workspace"

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-15 23:26:55 +00:00
e8a400d86d Remove Kubernetes deployment, add embed-ui deployment documentation
Some checks failed
BotServer CI / build (push) Failing after 12m5s
- Removed Kubernetes deployment files (focus on embed-ui feature instead)
- Added deploy-ui.sh script for manual UI file deployment
- Added deploy/README.md with comprehensive deployment guide
- Updated README.md with embed-ui feature explanation
- Simplified deployment: embed-ui feature creates self-contained binary
2026-02-06 09:26:44 -03:00
7da1442c91 Fix PostgreSQL readiness check timeout in bootstrap
All checks were successful
BotServer CI / build (push) Successful in 13m13s
- Use local pg_isready path when available (./botserver-stack/bin/tables/bin/pg_isready)
- Fall back to system pg_isready if local binary not found
- Prevents 30-second timeout during bootstrap when PostgreSQL is actually running
- Applied to both readiness checks in start_all() method
2026-02-05 22:23:04 -03:00
87931e930c ci: adjust CARGO_BUILD_JOBS to 2
All checks were successful
BotServer CI / build (push) Successful in 22m11s
2026-02-05 20:01:15 -03:00
cdb1197920 ci: increase CARGO_BUILD_JOBS to 6 for faster builds
Some checks are pending
BotServer CI / build (push) Waiting to run
2026-02-05 19:54:31 -03:00