Commit fb6fdcc
committed
Separate retry with pipe operations
This patch will fix following CI failure.
```
+ retry ./openshift-clients/linux/oc get secrets -n openshift-authentication v4-0-config-system-ocp-branding-template -o json
+ local retries=10
+ local count=0
+ jq -r '.data["login.html"]'
+ ./openshift-clients/linux/oc get secrets -n openshift-authentication v4-0-config-system-ocp-branding-template -o json
+ base64 -d
The connection to the server api.crc.testing:6443 was refused - did you specify the right host or port?
+ exit=1
+ wait=1
+ count=1
+ '[' 1 -lt 10 ']'
+ echo 'Retry 1/10 exited 1, retrying in 1 seconds...'
+ sleep 1
parse error: Invalid numeric literal at line 1, column 6
```1 parent 38e2f7f commit fb6fdcc
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
191 | 191 | | |
192 | 192 | | |
193 | 193 | | |
194 | | - | |
| 194 | + | |
| 195 | + | |
195 | 196 | | |
196 | 197 | | |
197 | 198 | | |
| |||
0 commit comments