3a05600b78
fix(ci): use gbuser@SYSTEM_HOST in deploy ssh/scp commands
2026-04-23 21:28:40 +00:00
ff4bc0f3de
fix(stage): fix message type collision and switcher logic in chat ui
2026-04-23 21:12:34 +00:00
71b0731461
fix(ci): use gbuser@SYSTEM_HOST in deploy ssh/scp commands
Botlib CI / build (push) Successful in 8s
BotServer CI / build (push) Successful in 22s
Bottest CI / build (push) Successful in 25s
BotUI CI / build (push) Successful in 11s
2026-04-22 21:51:00 -03:00
a923ab2db1
fix(ci): Deploy via temp file + mv to avoid locked binary overwrite
...
Botlib CI / build (push) Successful in 3s
BotServer CI / build (push) Successful in 21s
Bottest CI / build (push) Successful in 19s
BotUI CI / build (push) Successful in 11s
- SCP to botui-new/botserver-new first, then mv into place
- Avoids 'dest open: Failure' when overwriting running binary
- pkill + systemctl stop before deploy, enable + start after
2026-04-22 14:30:37 +00:00
21659340a0
fix(ci): Kill process before scp, enable+start service after deploy
...
Botlib CI / build (push) Successful in 2s
BotServer CI / build (push) Successful in 21s
Bottest CI / build (push) Successful in 21s
BotUI CI / build (push) Failing after 5s
- botui was running outside systemd, so systemctl stop did nothing
- Add pkill -x as fallback after systemctl stop
- Enable service before starting so it persists across reboots
- Same pattern for both botui and botserver
2026-04-22 14:13:49 +00:00
aa8a6b8bea
fix(ci): Add SYSTEM_HOST from vars context to botui and botserver workflows
Botlib CI / build (push) Successful in 2s
BotServer CI / build (push) Failing after 2s
Bottest CI / build (push) Successful in 21s
BotUI CI / build (push) Failing after 3s
2026-04-22 13:58:08 +00:00
2a5332060b
fix(ci): Fix YAML indentation and remove hardcoded IPs from workflows
...
Botlib CI / build (push) Successful in 3s
BotServer CI / build (push) Failing after 3s
Bottest CI / build (push) Successful in 19s
BotUI CI / build (push) Failing after 1s
- Proper YAML indentation for env blocks under jobs
- Remove SYSTEM_HOST from env (use repo variable instead)
- Fix botlib path typo
- All 4 workflows: botlib, botserver, bottest, botui
2026-04-22 13:47:23 +00:00
6e822356ac
fix(ci): Move env to job level, use vars for SYSTEM_HOST
...
Botlib CI / build (push) Successful in 3s
BotServer CI / build (push) Failing after 3s
Bottest CI / build (push) Successful in 1m23s
- Move env block from workflow root to job level (Forgejo requirement)
- Replace hardcoded IP with ${{ vars.SYSTEM_HOST }} variable
- Fixes 'yaml: line 11: did not find expected key' error
- Applies to all 4 workflows: botlib, botserver, bottest, botui
2026-04-22 13:32:54 +00:00
1b25559a1b
fix: Use systemctl for botserver deploy to system container
...
Botlib CI / build (push) Successful in 2s
BotServer CI / build (push) Successful in 21s
Bottest CI / build (push) Failing after 7s
BotUI CI / build (push) Failing after 6s
- Stop botserver via 'sudo systemctl stop' before SCP
- Start botserver via 'sudo systemctl start' after copy
- Use health check endpoint to verify deployment
2026-04-22 03:02:17 +00:00
6a45629ed3
fix: Deploy binaries to system container via SSH
...
Botlib CI / build (push) Successful in 3s
BotServer CI / build (push) Failing after 5s
Bottest CI / build (push) Failing after 7s
BotUI CI / build (push) Failing after 5s
- CI runner runs on alm-ci container but must deploy to system container
- Use scp to transfer binary from alm-ci to system (10.157.134.196)
- SSH to system container to stop old process, copy binary, restart
2026-04-22 02:48:52 +00:00
a4834081b8
fix: Explicitly disable sccache in CI workflows
...
Botlib CI / build (push) Successful in 4s
Bottest CI / build (push) Failing after 9s
BotUI CI / build (push) Successful in 4s
BotServer CI / build (push) Failing after 20m5s
The forgejo-runner service inherits RUSTC_WRAPPER=sccache from
systemd environment. Set RUSTC_WRAPPER="" in workflow env to
override and prevent permission denied errors.
2026-04-22 02:20:44 +00:00
4380b39ac5
fix: Remove sccache from CI (permission issues), fix deploy binary paths
...
Bottest CI / build (push) Waiting to run
Botlib CI / build (push) Successful in 4s
BotServer CI / build (push) Has been cancelled
BotUI CI / build (push) Has been cancelled
- Remove RUSTC_WRAPPER=sccache from all workflows (permission denied
in act container environment)
- Fix deploy paths to use CARGO_TARGET_DIR=/opt/gbo/work/target
instead of relative target/debug
- Remove path triggers from botserver workflow (all pushes trigger)
- Add mkdir for target and bin dirs in setup steps
2026-04-22 02:07:07 +00:00
b537b021c4
fix: Update CI workflows for monorepo structure
...
Botlib CI / build (push) Successful in 4m37s
BotServer CI / build (push) Failing after 3m55s
Bottest CI / build (push) Failing after 10m21s
BotUI CI / build (push) Failing after 2m40s
- Fix all workflows to use /opt/gbo/work/generalbots (monorepo)
- Add proper env vars (SCCACHE, CARGO_TARGET_DIR, PATH) to all workflows
- Add deploy steps for botui (with process restart)
- Remove broken workflows for non-Rust packages (botapp, botbook,
botdevice, botmodels, botplugin)
- Add botlib test workflow
2026-04-22 01:23:37 +00:00
5ab886e6e3
ci: Update botserver workflow for single-repo, remove duplicate .forgejo from subdirs
Botapp CI / build (push) Failing after 0s
Botbook CI / build (push) Failing after 0s
Botdevice CI / build (push) Failing after 0s
Botmodels CI / build (push) Failing after 0s
Botplugin CI / build (push) Failing after 0s
BotServer CI / build (push) Failing after 0s
Bottest CI / build (push) Failing after 0s
BotUI CI / build (push) Failing after 0s
2026-04-21 23:04:27 +00:00
037db5c381
feat: Major workspace reorganization and documentation update
...
- Add comprehensive documentation in botbook/ with 12 chapters
- Add botapp/ Tauri desktop application
- Add botdevice/ IoT device support
- Add botlib/ shared library crate
- Add botmodels/ Python ML models service
- Add botplugin/ browser extension
- Add botserver/ reorganized server code
- Add bottemplates/ bot templates
- Add bottest/ integration tests
- Add botui/ web UI server
- Add CI/CD workflows in .forgejo/workflows/
- Add AGENTS.md and PROD.md documentation
- Add dependency management scripts (DEPENDENCIES.sh/ps1)
- Remove legacy src/ structure and migrations
- Clean up temporary and backup files
2026-04-19 08:14:25 -03:00
dac663dad8
ci: Renomear workflow para botserver-v2.yaml para forçar novo registro
BotServer CI/CD v2 / build (push) Failing after 1s
2026-04-18 16:21:47 -03:00
f388e5b380
ci: Forçar refresh do workflow (v2) e remover erros de sintaxe
...
BotServer CI/CD v2 / build (push) Failing after 1s
- Renomeado para 'BotServer CI/CD v2'
- Estrutura totalmente reescrita
- Removido blocos if/else quebrados
- Adicionado variáveis de ambiente para cache isolado
2026-04-18 16:20:38 -03:00
005de5bba7
fix: Build debug (rápido) e remoção total de clones
...
BotServer CI/CD / build (push) Waiting to run
- Alterado para cargo build (debug) para compilação mais rápida
- Removido lógica de if/else quebrada
- Caminho fixo: /opt/gbo/work/botserver/src
- Apenas git pull + build
2026-04-18 16:11:27 -03:00
b39dc3e268
fix: Remover git clone e usar path /opt/gbo/work/botserver/src
BotServer CI/CD / build (push) Failing after 0s
2026-04-18 16:07:29 -03:00
fed92acaab
Fix git clone handling for existing directories
BotServer CI/CD / build (push) Successful in 27m5s
2026-04-17 21:02:26 -03:00
c697b97943
Fix Cargo.toml filtering to preserve botserver member
BotServer CI/CD / build (push) Failing after 1s
2026-04-17 20:58:27 -03:00
41b502ef9a
Fix workspace directory structure
BotServer CI/CD / build (push) Failing after 2s
2026-04-17 20:52:44 -03:00
29a87e3694
Fix PATH environment for cargo command
BotServer CI/CD / build (push) Failing after 2s
2026-04-17 20:46:59 -03:00
5272b308f7
Update CI: use sccache, separate target dir per project, shared cargo cache
BotServer CI/CD / build (push) Failing after 3s
2026-04-17 19:53:47 -03:00
3a027e6619
Fix CI workflow to cache dependencies and preserve workspace between runs
BotServer CI/CD / build (push) Has been cancelled
2026-04-17 19:45:18 -03:00
867ba98585
Fix CI: Combine all steps into single atomic run block
BotServer CI/CD / build (push) Failing after 10s
2026-04-17 18:47:01 -03:00
98dde8cba2
Fix CI: Separate step for Cargo.toml setup
BotServer CI/CD / build (push) Failing after 16s
2026-04-17 18:45:15 -03:00
059a7c6584
Fix CI: Use gbuser home directory, fresh sources + cached target
BotServer CI/CD / build (push) Failing after 1s
2026-04-17 18:37:22 -03:00
be410f4faa
Fix CI: Remove sudo from Install deps (packages already installed)
BotServer CI/CD / build (push) Failing after 2s
2026-04-17 18:33:05 -03:00
1782fd95ec
Restore working CI with persistent directories
BotServer CI/CD / build (push) Failing after 4s
2026-04-17 18:24:55 -03:00
e3ca478461
Rewrite CI: Clean clone every time, no caching issues
BotServer CI/CD / build (push) Failing after 1s
2026-04-17 18:15:40 -03:00
0e8e416284
Simplify CI - remove sccache and simplify build step
BotServer CI/CD / build (push) Failing after 1s
2026-04-17 18:11:15 -03:00
5783d2e784
Fix CI: Remove chown causing permission errors
BotServer CI/CD / build (push) Failing after 1s
2026-04-17 18:05:30 -03:00
3f11122eb7
Fix CI: Remove tee that causes permission error
BotServer CI/CD / build (push) Failing after 1s
2026-04-17 17:55:44 -03:00
ceac526bc5
Fix CI: Use git reset to preserve timestamps for incremental builds
BotServer CI/CD / build (push) Failing after 10m1s
2026-04-17 17:43:04 -03:00
3cc6521146
Fix CI: Fresh clone source, keep cached target for fast builds
BotServer CI/CD / build (push) Failing after 1s
2026-04-17 17:17:26 -03:00
4785f8b1d7
Fix CI workflow - add git config for botserver update
BotServer CI/CD / build (push) Failing after 1s
2026-04-17 17:13:48 -03:00
c6d2f19458
Fix git config in CI workflow
2026-04-17 17:04:52 -03:00
e8e1b7d65b
ci: Move workspace to /tmp to avoid permission issues
...
BotServer CI/CD / build (push) Successful in 1m37s
- Use /tmp/persistent-botserver instead of /opt/gbo/data
- Use /tmp/sccache and /tmp/cargo for caches
- Runner has full permissions on /tmp
- Fixes 'Operation not permitted' on chown
2026-04-17 12:53:30 -03:00
2b432c763c
ci: Use HOME/USER env vars instead of su/sudo
...
BotServer CI/CD / build (push) Failing after 0s
- Remove su - and sudo -u which require passwords
- Set HOME=/home/gbuser and USER=gbuser as env vars
- Run git/cargo with proper HOME prefix
- Fix runner hanging on authentication
2026-04-17 12:49:13 -03:00
f67de0e85c
ci: Use /home/gbuser instead of /opt/gbo/data to avoid permission issues
...
BotServer CI/CD / build (push) Failing after 3s
- Move CI workspace to /home/gbuser/persistent-botserver
- Cache now in /home/gbuser/.cache and /home/gbuser/.cargo
- No more permission conflicts with /opt/gbo/data
2026-04-17 12:39:57 -03:00
e59892f9b4
ci: Use su - instead of sudo -u for runner compatibility
...
BotServer CI/CD / build (push) Failing after 6s
- Replace sudo with su - gbuser -c for proper user switching
- Simplify permission handling with chown/chmod as root
- Use su - for all gbuser operations
2026-04-17 12:03:47 -03:00
7673eccc59
ci: Fix workflow to run as gbuser with proper permissions
...
BotServer CI/CD / build (push) Has been cancelled
- Use sudo -u gbuser for all git operations
- Add chown/chmod for cache directories
- Use git pull instead of fetch/reset for cleaner updates
- Ensure consistent gbuser ownership
2026-04-17 11:57:22 -03:00
a826be35f7
ci: Update workflow permissions handling
BotServer CI/CD / build (push) Failing after 1s
2026-04-17 11:40:45 -03:00
9be8e6d788
ci: Use persistent directories for incremental builds
BotServer CI/CD / build (push) Successful in 28m1s
2026-04-16 10:06:35 -03:00
823a4fbddf
fix(ci): Fix YAML syntax errors
BotServer CI/CD / build (push) Has been cancelled
2026-04-16 09:58:38 -03:00
a46bee361b
fix(ci): Remove log redirection, output directly to console
2026-04-16 09:55:01 -03:00
04bfd668a4
Fix: simple redirect to /tmp/build.log
BotServer CI/CD / build (push) Successful in 1m10s
2026-04-16 08:49:50 -03:00
5960126d6a
Fix: use script to redirect build output to /tmp/build.log
2026-04-16 08:47:52 -03:00
de14de0a73
Fix: create build.log with proper permissions before build
BotServer CI/CD / build (push) Failing after 6s
2026-04-16 08:46:11 -03:00