Skip to content

Commit fe78adc

Browse files
committed
ci: tolerate live deploy propagation
1 parent f8d9321 commit fe78adc

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

‎.github/workflows/deploy-production.yml‎

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,4 +307,14 @@ jobs:
307307
fi
308308
309309
- name: Verify the live agent contract with both reference clients
310-
run: npm run contract:live
310+
run: |
311+
for attempt in {1..8}; do
312+
if npm run contract:live; then
313+
exit 0
314+
fi
315+
if [[ "$attempt" -lt 8 ]]; then
316+
echo "Live contract has not converged yet; retrying in 3 seconds."
317+
sleep 3
318+
fi
319+
done
320+
exit 1

0 commit comments

Comments
 (0)