end-to-end/actions/example-cron/run.sh
2023-10-29 00:03:57 +02:00

7 lines
332 B
Bash
Executable file

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