pre-release build step fails: rsync not available in runner container #21
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
The Build Package step in pre-release.yml.template uses rsync to copy src/ to the build directory. rsync is not always available in Gitea Actions runner containers, causing exit code 127 (command not found).
Root Cause
The runner container image does not include rsync. The step runs under bash -e so the missing command kills the entire job.
Fix
Replace rsync with cp -a which is universally available. Excluded files can be removed in a separate rm step.
Before:
After:
Affected Templates
Discovered In
MokoWaaS repo pre-release workflow runs 9150, 9154.