revert changes to workflow
This commit is contained in:
parent
b13eec8fde
commit
2cf2bdeb75
1 changed files with 5 additions and 8 deletions
|
@ -36,11 +36,8 @@ jobs:
|
|||
# Launch Forgejo & the runner
|
||||
#
|
||||
$cli up -d
|
||||
for delay in $(seq 60) ; do
|
||||
test -f ./forgejo-runner/runner.json && break
|
||||
sleep 30
|
||||
done
|
||||
test -f ./forgejo-runner/runner.json
|
||||
for delay in $(seq 60) ; do test -f /srv/runner-data/.runner && break ; sleep 30 ; done
|
||||
test -f /srv/runner-data/.runner
|
||||
#
|
||||
# Run the demo workflow
|
||||
#
|
||||
|
@ -56,11 +53,11 @@ jobs:
|
|||
grep --quiet "$success" /tmp/out && break
|
||||
grep --quiet "$failure" /tmp/out && break
|
||||
$cli ps --all
|
||||
$cli logs --tail=20 forgejo-runner demo-workflow
|
||||
$cli logs --tail=20 runner-daemon demo-workflow
|
||||
sleep 30
|
||||
done
|
||||
grep --quiet "$success" /tmp/out
|
||||
$cli logs forgejo-runner > /tmp/runner.log
|
||||
$cli logs runner-daemon > /tmp/runner.log
|
||||
grep --quiet 'Start image=code.forgejo.org/oci/node:20-bookworm' /tmp/runner.log
|
||||
|
||||
- name: full docker compose logs
|
||||
|
|
Loading…
Reference in a new issue