feat: remove registration-only runner logic from entrypoint (#1249)

Closes #1207
This commit is contained in:
Richard Fussenegger 2022-03-22 19:33:14 +01:00 committed by GitHub
parent f28cecffe9
commit 532a2bb2a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 5 deletions

View File

@ -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