The Forgejo instance completed the echo test successfully, there must be a log at some point. But since Forgejo is still running, it may not had time to write the logs just yet. Retry instead of giving up immediately.
15 lines
374 B
Bash
Executable file
15 lines
374 B
Bash
Executable file
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
source $FEATURE_DIR/../../lib/lib.sh
|
|
source $FEATURE_DIR/../../forgejo/fixtures.sh
|
|
|
|
if ! retry bash -c "find $DIR/forgejo-work-path/data/actions_log/root/example-echo | grep --quiet log.zst"; then
|
|
(
|
|
cd $DIR/forgejo-work-path
|
|
find data
|
|
)
|
|
echo expected a single log.zst file in data/actions_log/root/example-echo
|
|
exit 1
|
|
fi
|