delete custom config file for the entrypoint logic
This commit is contained in:
11
.env.sample
11
.env.sample
@ -27,13 +27,4 @@ SSO=false
|
||||
# ORG_NAME="My Organization"
|
||||
# SSO_PROVIDER_URL="https://authentik.mydomain.com/application/o/gitlab/"
|
||||
# SSO_PROVIDER_ID="your authentik Client ID"
|
||||
# SECRET_SSO_PROVIDER_SECRET_VERSION=v1
|
||||
|
||||
|
||||
## Runner Configuration
|
||||
|
||||
RUNNER_TIMEOUT=30
|
||||
# Number of seconds until the forceful shutdown operation times out and exits the process.
|
||||
|
||||
RUNNER_CONCURENCY=5
|
||||
# Limits how many jobs can run concurrently, across all registered runners.
|
||||
# SECRET_SSO_PROVIDER_SECRET_VERSION=v1
|
||||
@ -1,2 +0,0 @@
|
||||
concurrent = {{ env RUNNER_CONCURENCY }}
|
||||
shutdown_timeout = {{ env RUNNER_TIMEOUT }}
|
||||
@ -2,8 +2,9 @@
|
||||
|
||||
set -e
|
||||
|
||||
while [ ! -s /some/file ]
|
||||
while [ ! -s /etc/gitlab-runner/config.toml ]
|
||||
do
|
||||
echo "The runner was not registered yet. Next try in 5 seconds."
|
||||
sleep 5
|
||||
done
|
||||
|
||||
|
||||
Reference in New Issue
Block a user