From d190828088d7c8fad42964733b2e152485f65174 Mon Sep 17 00:00:00 2001 From: Brooke Date: Fri, 14 Nov 2025 14:52:50 -0500 Subject: [PATCH] delete custom config file for the entrypoint logic --- .env.sample | 11 +---------- runner-config.toml.tmpl | 2 -- runner-entrypoint.sh.tmpl | 3 ++- 3 files changed, 3 insertions(+), 13 deletions(-) delete mode 100644 runner-config.toml.tmpl diff --git a/.env.sample b/.env.sample index 729ee57..30a5b5b 100644 --- a/.env.sample +++ b/.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. \ No newline at end of file +# SECRET_SSO_PROVIDER_SECRET_VERSION=v1 \ No newline at end of file diff --git a/runner-config.toml.tmpl b/runner-config.toml.tmpl deleted file mode 100644 index 7ad8ce8..0000000 --- a/runner-config.toml.tmpl +++ /dev/null @@ -1,2 +0,0 @@ -concurrent = {{ env RUNNER_CONCURENCY }} -shutdown_timeout = {{ env RUNNER_TIMEOUT }} \ No newline at end of file diff --git a/runner-entrypoint.sh.tmpl b/runner-entrypoint.sh.tmpl index 8df2f07..55fdb27 100644 --- a/runner-entrypoint.sh.tmpl +++ b/runner-entrypoint.sh.tmpl @@ -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 +