Fogejo Actions tests

This commit is contained in:
Earl Warren 2023-10-28 22:29:04 +02:00
parent d255395fc8
commit 7ccbeb7a46
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00
34 changed files with 764 additions and 1 deletions

6
actions/example-cron/run.sh Executable file
View file

@ -0,0 +1,6 @@
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