mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-04-22 08:09:13 -04:00
update retry condition in last iteration
This commit is contained in:
parent
a02002075f
commit
0a963de356
8
.github/workflows/e2e-windows.yml
vendored
8
.github/workflows/e2e-windows.yml
vendored
@ -98,8 +98,10 @@ jobs:
|
||||
|
||||
if (-not $?) {
|
||||
Write-Host "Execution of command 'kubectl' failed with exit code: $LASTEXITCODE"
|
||||
Write-Host "Retrying in $retryIntervalSeconds seconds..."
|
||||
Start-Sleep -Seconds $retryIntervalSeconds
|
||||
if ($retryCount -lt $maxRetries) {
|
||||
Write-Host "Retrying in $retryIntervalSeconds seconds..."
|
||||
Start-Sleep -Seconds $retryIntervalSeconds
|
||||
}
|
||||
continue
|
||||
}
|
||||
|
||||
@ -119,7 +121,7 @@ jobs:
|
||||
}
|
||||
}
|
||||
|
||||
if (-not $allNodesReady) {
|
||||
if (-not $allNodesReady -and $retryCount -lt $maxRetries) {
|
||||
Write-Host "Retrying in $retryIntervalSeconds seconds..."
|
||||
Start-Sleep -Seconds $retryIntervalSeconds
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user