diff --git a/plans/PhaseB-user-checklist.md b/plans/PhaseB-user-checklist.md index e26aef9..d9c966f 100644 --- a/plans/PhaseB-user-checklist.md +++ b/plans/PhaseB-user-checklist.md @@ -456,26 +456,32 @@ baseline Windows (entro ±20%). I due burn-in sono sequenziali `WinBuild2025`: ```bash - sudo -u ci-runner pwsh /opt/ci/local-ci-cd-system/scripts/Test-CapacityBurnIn.ps1 \ + pwsh /opt/ci/local-ci-cd-system/scripts/Test-CapacityBurnIn.ps1 \ -Parallelism 4 -Rounds 10 \ -TemplatePath /var/lib/ci/templates/WinBuild2025/WinBuild2025.vmx \ -RepoUrl 'http://10.10.20.11:3100/Simone/nsis-plugin-ns7zip.git' \ -CloneBaseDir /var/lib/ci/build-vms/ \ -ArtifactBaseDir /var/lib/ci/artifacts/ \ - -VmrunPath /usr/bin/vmrun + -VmrunPath /usr/bin/vmrun \ + -BuildCommand 'New-Item -ItemType Directory -Force dist | Out-Null; Set-Content -Path dist\build-info.txt -Value build-ok' ``` + > **Prerequisiti** (una-tantum, come `simone`): + > `sudo usermod -a -G ci-runner simone && sudo chmod g+w /var/lib/ci/artifacts/ /var/lib/ci/build-vms/` + > Poi copia il keyring: `mkdir -p ~/.local/share/python_keyring && sudo cp /home/ci-runner/.local/share/python_keyring/keyring_pass.cfg ~/.local/share/python_keyring/ && sudo chown simone: ~/.local/share/python_keyring/keyring_pass.cfg && chmod 600 ~/.local/share/python_keyring/keyring_pass.cfg` + - [ ] **Avviato in Linux** — burn-in 4 × 10 su `LinuxBuild2404`: ```bash - sudo -u ci-runner pwsh /opt/ci/local-ci-cd-system/scripts/Test-CapacityBurnIn.ps1 \ + pwsh /opt/ci/local-ci-cd-system/scripts/Test-CapacityBurnIn.ps1 \ -Parallelism 4 -Rounds 10 \ -TemplatePath /var/lib/ci/templates/LinuxBuild2404/LinuxBuild2404.vmx \ -RepoUrl 'http://10.10.20.11:3100/Simone/nsis-plugin-ns7zip.git' \ -CloneBaseDir /var/lib/ci/build-vms/ \ -ArtifactBaseDir /var/lib/ci/artifacts/ \ -VmrunPath /usr/bin/vmrun \ - -GuestOS Linux + -GuestOS Linux \ + -BuildCommand 'mkdir -p dist && echo build-ok > dist/build-info.txt' ``` - [ ] Misurare: - [ ] Tempo medio per job, confronto con baseline A5