feat(ci): add hive discord alert on failure (#9482)

This commit is contained in:
joshieDo
2024-07-15 13:13:22 +02:00
committed by GitHub
parent 9daa23c981
commit 71182cb694
3 changed files with 15 additions and 4 deletions

View File

@ -117,4 +117,4 @@ engine-cancun:
# https://github.com/paradigmxyz/reth/issues/8579
sync:
- sync reth -> reth
- sync reth -> reth

View File

@ -22,8 +22,8 @@ while [ $attempt -lt $max_attempts ]; do
# Check if no tests were run. sed removes ansi colors
if check_log | grep -q "suites=0"; then
echo "no tests were run, retrying in 5 seconds"
sleep 5
echo "no tests were run, retrying in 10 seconds"
sleep 10
attempt=$((attempt + 1))
continue
fi
@ -35,4 +35,4 @@ while [ $attempt -lt $max_attempts ]; do
exit 1
fi
done
exit 1
exit 1