Commit Graph

7 Commits

Author SHA1 Message Date
3b9ef6407c ci: debug ssh
Some checks are pending
CI / fmt (push) Waiting to run
Publish / frontend (push) Waiting to run
Publish / backend (push) Waiting to run
CI / check (push) Successful in 1m34s
CI / clippy (push) Successful in 1m26s
2026-05-06 18:01:34 +03:00
99e337d387 ci: debug ssh
Some checks failed
Publish / backend (push) Waiting to run
CI / fmt (push) Successful in 36s
Publish / frontend (push) Failing after 39s
CI / check (push) Successful in 1m31s
CI / clippy (push) Successful in 1m36s
2026-05-06 17:35:30 +03:00
5e5908804a fix(ci): use --rsync-path 'sudo rsync' for privileged deploys
Some checks failed
CI / fmt (push) Successful in 43s
Publish / frontend (push) Failing after 44s
CI / clippy (push) Successful in 1m20s
CI / check (push) Successful in 1m31s
Publish / backend (push) Failing after 22m42s
Simplified deploy steps — rsync directly to final paths using
sudo rsync on the remote instead of temp-file staging.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-05-06 16:27:49 +03:00
075fef0ea9 fix(ci): drop Node.js install step — already on runner
Some checks failed
CI / check (push) Waiting to run
CI / fmt (push) Successful in 49s
CI / clippy (push) Successful in 1m37s
Publish / backend (push) Waiting to run
Publish / frontend (push) Failing after 28s
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-05-06 16:16:07 +03:00
2700821559 fix(ci): use Node.js tarball instead of fnm (runner lacks unzip)
Some checks failed
CI / check (push) Waiting to run
CI / fmt (push) Waiting to run
CI / clippy (push) Waiting to run
Publish / frontend (push) Waiting to run
Publish / backend (push) Has been cancelled
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-05-06 16:15:43 +03:00
2627bab72a ci: add publish workflow with frontend and backend deploy
Some checks failed
Publish / backend (push) Waiting to run
Publish / frontend (push) Failing after 36s
CI / fmt (push) Successful in 53s
CI / clippy (push) Successful in 1m20s
CI / check (push) Successful in 1m28s
publish.yml — triggered on push to main, two parallel jobs:

frontend:
- Builds Vite frontend (fnm + npm ci + npm run build)
- Rsyncs dist/ to gitea_ci@UI_HOST:UI_PATH/
- Rsyncs nginx config to UI_HOST, creates sites-enabled symlink,
  runs nginx -t && systemctl reload nginx

backend:
- Builds release binary (cargo build --release -p ericrfb-proxy)
- Stops blekin.service on WS_HOST
- Rsyncs binary to WS_HOST:/usr/local/bin/ericrfb-proxy via sudo rsync
- Rsyncs systemd unit to WS_HOST:/etc/systemd/system/blekin.service
- Enables and starts the service

asset/nginx/blekin.kosherinata.internal.conf:
- Serves static frontend from UI_PATH
- Reverse proxies /api/ to frootmig:3000 with WebSocket upgrade
- 24h read/send timeouts for long-lived KVM sessions

asset/systemd/blekin.service:
- Runs ericrfb-proxy with BLEKIN_HOST=10.3.0.130
- Restart on failure with 5s backoff

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-05-06 16:12:46 +03:00
c4e3df5a44 ci: add Gitea Actions workflow for check, fmt, clippy
Some checks failed
CI / fmt (push) Failing after 40s
CI / check (push) Successful in 1m2s
CI / clippy (push) Successful in 1m10s
Three parallel jobs on the rust runner:
- cargo check --workspace
- rustfmt --check on all .rs files
- cargo clippy --workspace -- -D warnings

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-05-06 13:47:58 +03:00