diff --git a/.github/workflows/run-omnibus-bootstap-test.yml b/.github/workflows/run-omnibus-bootstap-test.yml index 862755aa5..32d0426b8 100644 --- a/.github/workflows/run-omnibus-bootstap-test.yml +++ b/.github/workflows/run-omnibus-bootstap-test.yml @@ -1,6 +1,9 @@ name: Run omnibus bootstrap test on: + schedule: + - cron: '15 0 * * *' + workflow_dispatch: branches: - main diff --git a/scripts/omnibus-bootstrap-test.sh b/scripts/omnibus-bootstrap-test.sh index 31f7e26d3..cbde1bab8 100755 --- a/scripts/omnibus-bootstrap-test.sh +++ b/scripts/omnibus-bootstrap-test.sh @@ -46,3 +46,8 @@ do cargopid=$(pidof -s acropolis_process_omnibus) done + +if [ $count -eq $maxcount -a "$snapshot_complete" = "" ]; then + echo "Process did not complete in allotted time" >&2 + exit 1 +fi