mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-07-02 01:46:53 -04:00
workflows: add error handling to e2e windows liveness probe
This commit is contained in:
parent
cddbba1898
commit
a02002075f
1 changed files with 7 additions and 0 deletions
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…
Add table
Add a link
Reference in a new issue