fix(plans): add -BuildCommand to B7 burn-in commands

Without an explicit build command, job.py runs dotnet build (which fails
on nsis-plugin-ns7zip in a fresh VM) and expects bin\CIOutput as artifact
source. With a trivial BuildCommand, artifact_source defaults to "dist"
and the lightweight command always succeeds.

Also documents one-time simone group/keyring prerequisites for running
the burn-in as simone with ci-runner group access.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-23 23:03:52 +02:00
parent 5982a88041
commit 40aae7ad16
+10 -4
View File
@@ -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