Use binary gitea runner to avoid stress
Some checks failed
Deploy with Docker Compose / deploy (push) Has been cancelled
Some checks failed
Deploy with Docker Compose / deploy (push) Has been cancelled
This commit is contained in:
12
gitea-runner/run.sh
Executable file
12
gitea-runner/run.sh
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
echo "Waiting for localhost:3000 to respond..." >&2
|
||||
|
||||
while ! curl -sf http://localhost:3000 > /dev/null 2>&1; do
|
||||
sleep 2
|
||||
done
|
||||
|
||||
echo "localhost:3000 is up. Starting act_runner daemon..." >&2
|
||||
|
||||
exec ./act_runner daemon
|
||||
|
||||
Reference in New Issue
Block a user