Commit Graph
2 Commits
Author SHA1 Message Date
Simone 057bfcf63a fix(scripts): satisfy PSScriptAnalyzer (lint gate)
- Remove-Securely: suppress PSUseShouldProcessForStateChangingFunctions
  (internal best-effort shred; ShouldProcess prompts are undesirable)
  + add [CmdletBinding()].
- Replace the two empty catch blocks (Set-CIGuestCredential.ps1,
  Test-CIGuestWinRM.ps1) with Write-Verbose so PSAvoidUsingEmptyCatchBlock
  is satisfied while keeping best-effort behavior.
2026-05-17 22:31:34 +02:00
Simone e59bac2434 feat(scripts): add Set-CIGuestCredential.ps1
Stores a guest-VM credential into the LocalSystem keyring vault via a
transient SYSTEM scheduled task, using the production venv's keyring
(the backend ci_orchestrator reads). Fixes the per-user vault mismatch
that made act_runner (LocalSystem) fail with "Credential not found in
keyring" for cmdkey/UI-stored credentials.
2026-05-17 11:56:40 +02:00