docs: add manual runner management workflow to testing documentation

This commit is contained in:
adilallo
2025-08-29 08:24:13 -06:00
parent 9d7e0095f2
commit f87bff4675
5 changed files with 145 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
#!/bin/bash
echo "🚀 Starting Gitea Actions Runner..."
# Check if runner is already running
if pgrep -f "act_runner daemon" > /dev/null; then
echo "⚠️ Runner is already running!"
echo "To stop it, run: ./stop-runner.sh"
exit 1
fi
# Start the runner in the background
./act_runner daemon --config config.yaml &
RUNNER_PID=$!
# Save PID to file for easy stopping
echo $RUNNER_PID > .runner.pid
echo "✅ Runner started with PID: $RUNNER_PID"
echo "📝 Logs will be written to: runner.log"
echo ""
echo "To stop the runner, run: ./stop-runner.sh"
echo "To check status, run: ./status-runner.sh"