end-to-end/actions/example-cron/run.sh

7 lines
332 B
Bash
Raw Normal View History

2023-10-28 22:29:04 +02:00
forgejo-test-helper.sh push_workflow actions/example-$example $url root example-$example setup-forgejo $token
# cron runs once per minute, give it three minutes max before declaring failure
if ! RETRY_DELAYS="30 30 30 30 30 30" forgejo.sh retry test -f /srv/example-cron-volume/DONE ; then
cat $FORGEJO_RUNNER_LOGS
false
fi