refactor: update runner var names in configure_env.sh wizard
- Remove RUNNER_DEFAULT_CAPACITY prompt (smart defaults in runner wizard) - RUNNER_DEFAULT_DATA_PATH → RUNNER_DATA_BASE_PATH - LOCAL_RUNNER_DATA_PATH → LOCAL_RUNNER_DATA_BASE_PATH - TOTAL_PROMPTS 53 → 52 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -65,7 +65,7 @@ get_env_val() {
|
||||
# Prompt function
|
||||
# ---------------------------------------------------------------------------
|
||||
# Base prompt count (fixed prompts only — repo prompts added dynamically)
|
||||
TOTAL_PROMPTS=53
|
||||
TOTAL_PROMPTS=52
|
||||
CURRENT_PROMPT=0
|
||||
LAST_SECTION=""
|
||||
|
||||
@@ -323,10 +323,9 @@ prompt_var "GITHUB_MIRROR_INTERVAL" "How often Gitea pushes to GitHub" none
|
||||
|
||||
# --- RUNNERS ---
|
||||
prompt_var "RUNNER_DEFAULT_IMAGE" "Default container image for docker runners" nonempty "catthehacker/ubuntu:act-latest" "RUNNERS"
|
||||
prompt_var "RUNNER_DEFAULT_CAPACITY" "Default max concurrent jobs per runner" positive_integer "1" "RUNNERS"
|
||||
prompt_var "RUNNER_DEFAULT_DATA_PATH" "Default data path for remote (docker) runners" nonempty "/mnt/nvme/gitea-runner" "RUNNERS"
|
||||
prompt_var "RUNNER_DATA_BASE_PATH" "Base dir on remote hosts for runner data (host path)" nonempty "/mnt/nvme/gitea-runner" "RUNNERS"
|
||||
# shellcheck disable=SC2088 # tilde intentionally stored as literal (expanded at runtime)
|
||||
prompt_var "LOCAL_RUNNER_DATA_PATH" "Data path for native macOS runner" nonempty "~/gitea-runner" "RUNNERS"
|
||||
prompt_var "LOCAL_RUNNER_DATA_BASE_PATH" "Base dir on macOS for native runner data" nonempty "~/gitea-runner" "RUNNERS"
|
||||
prompt_var "LOCAL_REGISTRY" "Local registry prefix (empty = Docker Hub)" optional "" "RUNNERS"
|
||||
|
||||
# --- NGINX REVERSE PROXY ---
|
||||
|
||||
Reference in New Issue
Block a user