Commit Graph
7 Commits
Author SHA1 Message Date
bruno f6f4dad0ec test: script e2e local + commande npm test:e2e
Reproduit les conditions du job CI e2e (backend natif, auth desactivee, port 2029, projet chromium-desktop) pour valider localement avant chaque push.
2026-08-25 09:13:24 -04:00
bruno ed031baf92 fix: auto-elevate to root via sudo or doas in install script
CI / lint (push) Successful in 22s
CI / security (push) Successful in 14s
CI / test (push) Successful in 28s
CI / build (push) Successful in 6s
CI / e2e (push) Failing after 12s
- Script now re-executes itself with 'sudo' if available (or 'doas' as fallback)
- No need to prefix with sudo/doas — just run ./install-gitea-runner.sh ...
- Falls back to clear error if neither sudo nor doas is installed
2026-07-25 10:10:31 -04:00
bruno 65a0221557 fix: add root privilege check to install-gitea-runner.sh
CI / lint (push) Successful in 25s
CI / security (push) Successful in 13s
CI / test (push) Successful in 27s
CI / build (push) Successful in 10s
CI / e2e (push) Failing after 20s
- Exits early with clear error if not run as root
- Suggests 'doas' on Alpine, 'sudo' on Debian/Arch
- Prevents silent failure from apk add / apt-get requiring root
2026-07-25 10:09:31 -04:00
bruno b2e9b8aecc fix: Alpine-compatible install script — no sudo, doas, curl pre-installed
CI / lint (push) Successful in 29s
CI / security (push) Successful in 14s
CI / test (push) Successful in 29s
CI / build (push) Successful in 14s
CI / e2e (push) Failing after 20s
- Changed shebang to /bin/sh for wider compatibility
- Script requires root (sudo/doas) — all privileged ops work directly
- Alpine: installs curl+docker before download (was failing silently)
- Alpine: writes OpenRC init directly (no sudo/tee permission issue)
- Debian: auto-detects SUDO_USER for WorkingDirectory instead of hardcoded /home/bruno
- All OS: prerequisites (curl, docker) installed in unified step [1/5]
2026-07-25 09:24:10 -04:00
bruno d37010c6ae fix: add --no-interactive flag + WorkingDirectory to runner install
CI / lint (push) Successful in 27s
CI / security (push) Successful in 14s
CI / test (push) Successful in 30s
CI / build (push) Successful in 14s
CI / e2e (push) Failing after 29s
- act_runner register --no-interactive: prevents interactive prompt that ignores flags
- systemd: WorkingDirectory=/home/bruno: daemon needs .runner file in working dir
- systemd: User=bruno: runs as correct user
- Updated both install-gitea-runner.sh and Obsidian documentation
- All 8 server sections fixed with consistent config
2026-07-25 08:58:16 -04:00
bruno 45c313824e fix: correct act_runner download URL (missing version number)
CI / lint (push) Successful in 30s
CI / security (push) Successful in 14s
CI / test (push) Successful in 28s
CI / build (push) Successful in 7s
CI / e2e (push) Failing after 22s
- Old: https://dl.gitea.com/act_runner/act_runner-linux-amd64 → 404
- New: https://dl.gitea.com/act_runner/0.2.11/act_runner-0.2.11-linux-amd64
- Fixed in both install-gitea-runner.sh and Obsidian doc
- User can now run: sudo rm /usr/local/bin/act_runner && sudo curl -L -o /usr/local/bin/act_runner 'correct-URL'
2026-07-24 23:39:20 -04:00
bruno 7058d0c0b2 docs: runner installation guide for all 8 HomeLab servers + automation script
CI / lint (push) Successful in 46s
CI / security (push) Successful in 15s
CI / test (push) Successful in 28s
CI / build (push) Successful in 6s
CI / e2e (push) Failing after 25s
- New doc: DevOps/Installation Gitea Runners — Tous les Serveurs.md
  - Step-by-step for each server: deepin-desktop, dev.lab, dev.prod,
    docker.test, automate.prod, media-1.lab, openclaw1.dev, automate.dev
  - Alpine vs Debian/Ubuntu instructions (OpenRC vs systemd)
  - Labels reference table for all 8 servers
  - Automated install script + usage examples
- New script: scripts/install-gitea-runner.sh
  - Universal installer: auto-detects OS (Alpine/Debian/Arch)
  - Installs Docker if missing, downloads runner, registers, sets up service
  - Supports x86_64, ARM64, ARMv7 architectures
2026-07-24 23:03:52 -04:00