feat: remove registration-only runner logic from entrypoint (#1249)
Closes #1207
This commit is contained in:
parent
f28cecffe9
commit
532a2bb2a9
|
|
@ -150,11 +150,6 @@ cat .runner
|
||||||
# -H "Authorization: bearer ${GITHUB_TOKEN}"
|
# -H "Authorization: bearer ${GITHUB_TOKEN}"
|
||||||
# https://api.github.com/repos/USER/REPO/actions/runners/171
|
# https://api.github.com/repos/USER/REPO/actions/runners/171
|
||||||
|
|
||||||
if [ -n "${RUNNER_REGISTRATION_ONLY}" ]; then
|
|
||||||
success "This runner is configured to be registration-only. Exiting without starting the runner service..."
|
|
||||||
exit 0
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ -z "${UNITTEST:-}" ]; then
|
if [ -z "${UNITTEST:-}" ]; then
|
||||||
mkdir ./externals
|
mkdir ./externals
|
||||||
# Hack due to the DinD volumes
|
# Hack due to the DinD volumes
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue