mirror of
https://github.com/actions/actions-runner-controller.git
synced 2025-12-11 03:57:01 +00:00
feat: add STARTUP_DELAY to entrypoint.sh (#592)
Ref #591 Co-authored-by: Yusuke Kuoka <ykuoka@gmail.com>
This commit is contained in:
@@ -1,5 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ ! -z "${STARTUP_DELAY}" ]; then
|
||||
echo "Delaying startup by ${STARTUP_DELAY} seconds" 1>&2
|
||||
sleep ${STARTUP_DELAY}
|
||||
fi
|
||||
|
||||
if [ -z "${GITHUB_URL}" ]; then
|
||||
echo "Working with public GitHub" 1>&2
|
||||
GITHUB_URL="https://github.com/"
|
||||
|
||||
Reference in New Issue
Block a user