bbd376f057
B1: Linux Mint + VMware Workstation + setup-host-linux.sh (Python 3.12 note)
B2: rsync template transfer, VMX registration, smoke tests; keyrings.alt choice
B3: SSH key perms, BuildVMGuest + GiteaPAT via PlaintextKeyring (D-Bus-free)
B4: act-runner.service, config.yaml labels/envs fix, smoke job PASS
B5: rewritten — Python-only timers (no pwsh), 7z compression, --service-name
act-runner fix, prerequisite dirs, root service for backup
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
41 lines
1.9 KiB
Markdown
41 lines
1.9 KiB
Markdown
# B1 — Closeout
|
|
|
|
Passo B1 di `plans/PhaseB-user-checklist.md`: setup hardware target con
|
|
Linux Mint LTS, VMware Workstation Pro Linux, layout storage e venv Python.
|
|
|
|
## Stato
|
|
|
|
✅ **COMPLETATO** — tutti i prerequisiti hardware e software soddisfatti.
|
|
|
|
## Cosa è stato fatto
|
|
|
|
- [x] Linux Mint LTS installato sull'hardware target (`ws1-mint`).
|
|
- [x] Sistema aggiornato (`apt full-upgrade`) e riavviato.
|
|
- [x] VMware Workstation Pro Linux installato via bundle `.bundle`; `vmrun -T ws --version` OK.
|
|
- [x] Smoke test Workstation UI: VM trivia creata, clonata, avviata, spenta, eliminata.
|
|
- [x] `vmnet8` NAT configurato su `192.168.79.0/24` (stesso range di Windows) via `vmware-netcfg`.
|
|
- [x] Utente di servizio `ci-runner` creato (`useradd -r -m -s /bin/bash`).
|
|
- [x] `setup-host-linux.sh -d /dev/sdf1` eseguito:
|
|
- `/dev/sdf1` montata su `/var/lib/ci` via fstab con boot automatico.
|
|
- Layout directory creato: `build-vms/`, `artifacts/`, `templates/`, `keys/`, `logs/`, `runner/`.
|
|
- Python 3.12 installato, `/opt/ci/venv` creato.
|
|
- Repo clonato in `/opt/ci/local-ci-cd-system`, package installato in modalità editabile.
|
|
- PowerShell Core (`pwsh`) installato (necessario per B5 nel piano originale;
|
|
sarà rimosso nella Fase C).
|
|
- [x] Verifica finale: `sudo -u ci-runner /opt/ci/venv/bin/python -m ci_orchestrator --help`
|
|
lista tutti i sub-comandi.
|
|
|
|
## Deviazioni / gotcha
|
|
|
|
- Lo script `setup-host-linux.sh` è stato scritto e committato durante questa
|
|
fase (commit `b9d6994`) — non era pre-esistente nel repo.
|
|
- La partizione `/dev/sdf1` conteneva una sottocartella `ci/` residua dalla
|
|
configurazione Windows; lo script la ha rilevata e spostata alla root prima
|
|
del mount definitivo.
|
|
- Python 3.12 (non 3.11 come da piano) installato perché è la versione LTS
|
|
disponibile su Linux Mint LTS — il package è compatibile.
|
|
|
|
## Riferimenti commit
|
|
|
|
- `b9d6994` — feat: add setup-host-linux.sh script for CI host bootstrap
|