Skip to content

feat(argocd): admit the homelab repo in both AppProjects - #5365

Merged
dan-petty merged 5 commits into
mainfrom
feat/5364-homelab-source-repo
Nov 13, 2026
Merged

dan-petty merged 5 commits into
mainfrom
feat/5364-homelab-source-repo

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

The AppProjects homelab and homelab-system admit https://github.com/dan-petty/homelab as a source and keep devops-cli. Argo CD refuses an Application source that its project does not admit, so the switch of the Applications to the homelab repository needs these entries first. Project homelab ignores the repository credential repo-homelab, which the owner makes outside git, as an orphan.

docs/HOMELAB_REPO_SWITCH.md gives plan steps 10 to 17 of #5134: the drift check and the baseline, the switch with bootstrap-gitops, the freeze and soak, prune on, the live patches into homelab, the deletion of the override path and of the environment files, and the revert. Each step has a check and a revert, and each check prints names, keys, counts or exit codes only.

No Application changes its source, so all Applications stay Synced and no workload restarts.

Plan step 8. Part of #5134.

Closes #5364

Change: openspec/changes/archive/2026-11-13-5364-homelab-source-repo/

The switch of #5134 points the Argo CD Applications at the private
repository dan-petty/homelab. Argo CD refuses a source whose repository
is not in the sourceRepos of its AppProject, so homelab and
homelab-system now admit the homelab repository. They keep devops-cli,
because Application devops reads k8s/devops from it after the switch.

Project homelab ignores the repository credential Secret repo-homelab
as an orphan. The owner makes it, and it never goes into git. It was the
one orphan of the Applications argocd, argocd-image-updater and base.

Part of #5134
docs/HOMELAB_REPO_SWITCH.md gives plan steps 10 to 17 of #5134: the
drift check and baseline, the switch with bootstrap-gitops, the freeze
and soak, prune on, the live patches into homelab, the deletion of the
override path and of the environment files, and the revert of the
switch. Each step has its check and its revert. The page names roles
only, and each check prints names, keys, counts or exit codes only.

k8s/README.md links the runbook from its GitOps section, and step 14
of the runbook replaces the in-cluster Gitea of #1291 as the place of
the private values.

Part of #5134
Shared check 7 now prints the Helm value files that Application
prometheus reads through a devops-cli ref, so steps 11 and 17 can
compare with the paths that #5134 names. Step 12 lists the
Applications with a deployment subscription. Step 15 names both
override constants and reads the dry run of all stacks, because 4
stacks wrote the overrides. The revert check does not compare
check 9 with the baseline.

k8s/README.md gave 27 leaf Applications, but there are 32. It now
gives no count, so the count cannot become wrong again. It also
says that the repository credential uses the GitHub App
devops-cli-argocd with Contents (read).

Part of #5134
@dan-petty dan-petty added type/feature Type feature: a new function scope/argocd Argo CD sync, projects and the devops application labels Nov 13, 2026
@dan-petty

Copy link
Copy Markdown
Owner Author

Check results

Head commit: 1933a570e23223e93cf005eb8058f4e81e599aab

Check Conclusion Link
Tests & Coverage success run
devops-cli success run
zizmor success run
trivy-config success run
CodeQL success run
Plan Check skipped run
Tests on Main skipped run
Dependency Freshness skipped run
Test Job Duration skipped run
Semantic PR title success run
Tests & Coverage (shard 2 of 4) success run
Tests & Coverage (shard 1 of 4) success run
Tests & Coverage (shard 3 of 4) success run
Service Image success run
Design Tokens success run
MCP Server Image success run
Changed-Test Independence success run
Static Analysis success run
Tests & Coverage (shard 4 of 4) success run
Analyze (python) success run
Docs Site Build success run
Runner Image success run
Image Pins success run
Analyze (actions) success run

Skipped check: Plan Check
Skipped check: Tests on Main
Skipped check: Dependency Freshness
Skipped check: Test Job Duration

@dan-petty
dan-petty marked this pull request as ready for review November 13, 2026 05:33
@dan-petty
dan-petty merged commit f299667 into main Nov 13, 2026
24 checks passed
@dan-petty
dan-petty deleted the feat/5364-homelab-source-repo branch November 13, 2026 05:42
dan-petty pushed a commit that referenced this pull request Nov 13, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.127.0](v0.126.1...v0.127.0)
(2026-11-13)


### Features

* **argocd:** admit the homelab repo in both AppProjects
([#5365](#5365))
([f299667](f299667)),
closes [#5364](#5364)


### Bug Fixes

* **ci:** run each gate row replay on the source of its tree
([#5362](#5362))
([67e7aba](67e7aba))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/argocd Argo CD sync, projects and the devops application type/feature Type feature: a new function

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(argocd): admit the homelab repo in both AppProjects

1 participant