Some checks failed
Build SilverMetal Enhanced - Windows ISO / build (pull_request) Failing after 4s
Temporary diagnostic to see the silverlabs-runner-win host identity, drives, share mounts/stored creds, and ISO reachability before wiring the base-ISO source. Removed once the source is settled. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
36 lines
1.7 KiB
YAML
36 lines
1.7 KiB
YAML
name: Runner probe (throwaway)
|
|
|
|
# Temporary diagnostic: discover the silverlabs-runner-win host identity, drives,
|
|
# existing share mounts/stored creds, and whether the base ISO is reachable -
|
|
# so we can pick the simplest path (local path vs persistent SMB mount). Delete
|
|
# once the ISO source is wired. workflow_dispatch only.
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
probe:
|
|
runs-on: windows-latest
|
|
timeout-minutes: 5
|
|
steps:
|
|
- name: Probe
|
|
shell: pwsh
|
|
env:
|
|
ISO_SRC: ${{ vars.SILVERMETAL_BASE_ISO_URL }}
|
|
run: |
|
|
Write-Host "host=$env:COMPUTERNAME user=$(whoami)"
|
|
Write-Host "--- IPv4 (is the runner itself 10.0.0.60?) ---"
|
|
(Get-NetIPAddress -AddressFamily IPv4 | Where-Object { $_.IPAddress -ne '127.0.0.1' }).IPAddress
|
|
Write-Host "--- local filesystem drives ---"
|
|
Get-PSDrive -PSProvider FileSystem | Format-Table Name, @{n='UsedGB';e={[math]::Round($_.Used/1GB,1)}}, @{n='FreeGB';e={[math]::Round($_.Free/1GB,1)}}, Root -AutoSize
|
|
Write-Host "--- existing net use mappings ---"; cmd /c "net use"
|
|
Write-Host "--- stored credentials (cmdkey) ---"; cmd /c "cmdkey /list"
|
|
Write-Host "--- UNC reachability as SYSTEM ---"
|
|
Write-Host ("UNC exists = {0}" -f [bool](Test-Path -LiteralPath $env:ISO_SRC))
|
|
Write-Host "--- top-level dirs on each drive matching ISO/private/SILVERLABS ---"
|
|
Get-PSDrive -PSProvider FileSystem | ForEach-Object {
|
|
Get-ChildItem $_.Root -Directory -EA SilentlyContinue |
|
|
Where-Object Name -match 'ISO|private|SILVERLABS|template' |
|
|
Select-Object -ExpandProperty FullName
|
|
}
|