mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-04-21 15:56:26 -04:00
workflows: add error handling to e2e windows liveness probe
This commit is contained in:
parent
cddbba1898
commit
a02002075f
7
.github/workflows/e2e-windows.yml
vendored
7
.github/workflows/e2e-windows.yml
vendored
@ -96,6 +96,13 @@ jobs:
|
||||
|
||||
$nodesOutput = & kubectl get nodes --kubeconfig "$PWD\constellation-admin.conf"
|
||||
|
||||
if (-not $?) {
|
||||
Write-Host "Execution of command 'kubectl' failed with exit code: $LASTEXITCODE"
|
||||
Write-Host "Retrying in $retryIntervalSeconds seconds..."
|
||||
Start-Sleep -Seconds $retryIntervalSeconds
|
||||
continue
|
||||
}
|
||||
|
||||
$lines = $nodesOutput -split "`r?`n" | Select-Object -Skip 1
|
||||
|
||||
$allNodesReady = $true
|
||||
|
Loading…
x
Reference in New Issue
Block a user