File tree Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -167,12 +167,16 @@ jobs:
167167 dotnet test ./tests/Contrast.K8s.AgentOperator.FunctionalTests/Contrast.K8s.AgentOperator.FunctionalTests.csproj
168168 shell : bash
169169 - name : Dump Operator Logs
170+ uses : nick-fields/retry@v2
170171 if : ${{ always() }}
171- run : |
172- set -xe
173- kubectl --namespace testing-agent-operator get deployment contrast-agent-operator -o yaml
174- kubectl --namespace testing-agent-operator logs deployment/contrast-agent-operator
175- shell : bash
172+ with :
173+ timeout_minutes : 10
174+ max_attempts : 5
175+ command : |
176+ set -xe
177+ kubectl --namespace testing-agent-operator get deployment contrast-agent-operator -o yaml
178+ kubectl --namespace testing-agent-operator logs deployment/contrast-agent-operator
179+ shell : bash
176180 test-manifests :
177181 runs-on : ubuntu-latest
178182 needs :
You can’t perform that action at this time.
0 commit comments