Commit Graph

242 Commits

Author SHA1 Message Date
S
567f507d05 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>
2026-03-01 10:10:41 -05:00
S
7ce562bc1c refactor: update runner var names in env validation arrays
- RUNNER_DEFAULT_DATA_PATH → RUNNER_DATA_BASE_PATH
- LOCAL_RUNNER_DATA_PATH → LOCAL_RUNNER_DATA_BASE_PATH
- Remove RUNNER_DEFAULT_CAPACITY from validation

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-01 10:10:20 -05:00
S
5b11af955c refactor: rename runner data path vars, remove RUNNER_DEFAULT_CAPACITY
- RUNNER_DEFAULT_DATA_PATH → RUNNER_DATA_BASE_PATH (clarify it's a host path)
- LOCAL_RUNNER_DATA_PATH → LOCAL_RUNNER_DATA_BASE_PATH
- Remove RUNNER_DEFAULT_CAPACITY (now smart defaults per host type in wizard)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-01 10:09:56 -05:00
S
768701004d docs: update PLAN.md for REPO_NAMES
Replace REPO_1/2/3_NAME references with REPO_NAMES.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-01 10:09:20 -05:00
S
3d0532ca40 docs: update README.md for dynamic repo list
Replace "hardcoded 3-repo limit" section with dynamic REPO_NAMES docs.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-01 10:08:42 -05:00
S
6c193eb4b5 feat: dynamic repo count in configure_env.sh wizard
Replace 3 hardcoded REPO_N_NAME prompts with:
- "How many repos?" prompt
- Loop for each repo name
- Saves as space-delimited REPO_NAMES in .env
TOTAL_PROMPTS computed dynamically after repo count is known.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-01 10:08:28 -05:00
S
e564a99937 refactor: use REPO_NAMES in configure_runners.sh
- Update validate_runner_repos() to check against words in REPO_NAMES
- Update repos hint builder to iterate REPO_NAMES

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-01 10:06:48 -05:00
S
93aff03b19 refactor: use REPO_NAMES in preflight.sh
- Replace REPO_1/2/3_NAME in required vars with REPO_NAMES
- Update GitHub repos existence check to iterate REPO_NAMES
- Update runner repos validation to check against REPO_NAMES words

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-01 10:06:24 -05:00
S
a4e20ab4f1 refactor: use REPO_NAMES in phase9_teardown.sh
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-01 10:05:45 -05:00
S
2ba32d4bc8 refactor: use REPO_NAMES in phase9_post_check.sh
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-01 10:05:45 -05:00
S
6d4c34eb8a refactor: use REPO_NAMES in phase9_security.sh
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-01 10:05:45 -05:00
S
077ab55018 refactor: use REPO_NAMES in phase8_teardown.sh
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-01 10:05:45 -05:00
S
d25a2075d4 refactor: use REPO_NAMES in phase8_post_check.sh
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-01 10:05:45 -05:00
S
71025f21fb refactor: use REPO_NAMES in phase8_cutover.sh
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-01 10:05:45 -05:00
S
2903dffc5a refactor: use REPO_NAMES in phase7_teardown.sh
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-01 10:05:45 -05:00
S
922f3b6dd2 refactor: use REPO_NAMES in phase7_post_check.sh
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-01 10:05:45 -05:00
S
e511947267 refactor: use REPO_NAMES in phase7_branch_protection.sh
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-01 10:05:45 -05:00
S
ce77fab000 refactor: use REPO_NAMES in phase6_teardown.sh
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-01 10:05:45 -05:00
S
b0a3b07f0b refactor: use REPO_NAMES in phase6_post_check.sh
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-01 10:05:45 -05:00
S
971580630d refactor: use REPO_NAMES in phase6_github_mirrors.sh
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-01 10:05:45 -05:00
S
9aaf7b13d1 refactor: use REPO_NAMES in phase5_teardown.sh
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-01 10:05:45 -05:00
S
2fca8300a1 refactor: use REPO_NAMES in phase5_post_check.sh
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-01 10:05:45 -05:00
S
9cccd5196d refactor: use REPO_NAMES in phase5_migrate_pipelines.sh
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-01 10:05:45 -05:00
S
49268a4674 refactor: use REPO_NAMES in phase4_teardown.sh
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-01 10:05:45 -05:00
S
60686d681e refactor: use REPO_NAMES in phase4_post_check.sh
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-01 10:05:45 -05:00
S
8aad4299ca refactor: use REPO_NAMES in phase4_migrate_repos.sh
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-01 10:05:45 -05:00
S
46881bd8fa feat: replace REPO_1/2/3_NAME with space-delimited REPO_NAMES in .env.example
Supports any number of repos instead of hardcoded 3.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-01 10:05:10 -05:00
S
87fefe28a1 feat: add get_repo_list() and replace REPO_N_NAME with REPO_NAMES in validation
- Add get_repo_list() helper to split space-delimited REPO_NAMES
- Replace REPO_1_NAME/REPO_2_NAME/REPO_3_NAME with single REPO_NAMES in
  _ENV_VAR_NAMES and _ENV_VAR_TYPES validation arrays

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-01 10:04:57 -05:00
S
4895d24a2d docs: update PLAN.md for single GitHub token
Replace GITHUB_MIRROR_TOKEN references with GITHUB_TOKEN.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-01 10:03:18 -05:00
S
93355ee143 docs: update USAGE_GUIDE.md for single GitHub token
Consolidated two tokens into one GITHUB_TOKEN with repo scope.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-01 10:02:35 -05:00
S
017ab098f1 fix: remove GITEA_INSTANCE_NAME from phase2 require_vars
Phase 2 (backup instance) does not use GITEA_INSTANCE_NAME.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-01 10:02:01 -05:00
S
e9c165e350 fix: update configure_env.sh versions, descriptions, consolidate tokens
- GITEA_VERSION default 1.23 → 1.25, ACT_RUNNER_VERSION 0.2.11 → 0.3.0
- GITHUB_TOKEN description: "repo read" → "repo scope (read+write)"
- BACKUP_STORAGE_PATH description: "Absolute path on Fedora for backup archives"
- Remove GITHUB MIRROR section, move GITHUB_MIRROR_INTERVAL to REPOSITORIES
- TOTAL_PROMPTS 57 → 56

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-01 10:01:47 -05:00
S
0c4da57136 fix: remove GITHUB_MIRROR_TOKEN from preflight required vars
Consolidated into GITHUB_TOKEN.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-01 10:00:57 -05:00
S
0f7a20c450 fix: use GITHUB_TOKEN instead of GITHUB_MIRROR_TOKEN for push mirrors
Single PAT with repo scope handles both migration and push mirroring.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-01 10:00:45 -05:00
S
eabc961139 fix: remove GITHUB_MIRROR_TOKEN from env validation arrays
Consolidated into GITHUB_TOKEN — single PAT handles both migration
and push mirroring. GITHUB_MIRROR_INTERVAL remains as its own var.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-01 10:00:18 -05:00
S
0aee01c3f3 fix: update .env.example versions, token consolidation, and descriptions
- GITEA_VERSION 1.23 → 1.25, ACT_RUNNER_VERSION 0.2.11 → 0.3.0
- Consolidate GITHUB_MIRROR_TOKEN into GITHUB_TOKEN (single PAT with repo scope)
- Move GITHUB_MIRROR_INTERVAL into REPOSITORIES section
- Fix GITHUB_TOKEN description: "repo read" → "repo scope (read+write)"
- Fix BACKUP_STORAGE_PATH description: clarify "Absolute path on Fedora"

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-01 09:59:57 -05:00
S
c90a7a6db6 feat: add unzip installation check for backup/restore scripts on Unraid 2026-03-01 08:59:04 -05:00
S
ba5aa6816b feat: add unzip installation check for backup/restore scripts on Fedora 2026-03-01 08:59:00 -05:00
S
10b155da74 fix: correct total prompts count in configure_env.sh 2026-03-01 08:58:56 -05:00
S
52765a6626 refactor: replace mapfile with compatible loop for reading manifest entries 2026-03-01 08:58:53 -05:00
S
61d58790b1 fix: update sed escape pattern to handle pipe delimiter in save_env_var function 2026-03-01 08:58:49 -05:00
S
135a0b7c0c refactor: replace DNS resolution method with Python for improved compatibility 2026-03-01 08:58:44 -05:00
S
24d7df0a0b feat: add idempotent token deletion before generating new Gitea backup admin token 2026-03-01 08:58:39 -05:00
S
83f706c6b8 feat: add idempotent token deletion before generating new Gitea admin token 2026-03-01 08:58:34 -05:00
S
5bdf72063e refactor: replace associative array with Bash 3.2 compatible key-value store for collected runner data 2026-03-01 08:45:13 -05:00
S
a34cc69681 refactor: streamline environment variable loading with dedicated function 2026-03-01 08:40:25 -05:00
S
6100d482d2 docs: update usage guide with boot-mode native runner details and sudo requirements 2026-03-01 08:28:49 -05:00
S
b120ef2e0e docs: add details about native runner boot mode and sudo requirements 2026-03-01 08:28:46 -05:00
S
8896d89078 feat: add boot option to runner configuration output 2026-03-01 08:28:28 -05:00
S
611c377bb1 fix: improve native runner removal process by handling missing plist files 2026-03-01 08:28:22 -05:00