chore: retarget GitOps repo to Personal/cluster #81

Merged
martin merged 1 commit from migration/personal-org into main 2026-11-15 20:13:09 +00:00
Owner

Summary

Retargets the GitOps source of truth to the repository's new owner (Personal/cluster), as prepared in #76. Merge only inside the cutover window — merging before the transfer makes Argo CD fetch a non-existent URL.

  • modules/common.nix: networking.clusterRepo → https://code.${domain.root}/Personal/cluster.git (feeds nixidy.target.repository and Argo CD's repository.cluster registration). networking.registry intentionally unchanged — no app references it and images already publish to code.martials.no/personal/<app>.
  • .woodpecker/switch.yml: automerge endpoint uses ${CI_REPO} instead of the hardcoded martin/cluster API path.
  • AGENTS.md: issue-tracking link and slug → Personal/cluster; new "Canonical Repository" section with GitOps URL, local SSH remote, git remote set-url guidance, and the note that image pulls are independent of repository ownership.
  • Generated manifests (just switch dev|infra|prod): 11 Application repoURL values + manifests/dev/argocd/Secret-argocd-repo-cluster.yaml url.

Validation

  • just fmt — 0 files changed
  • just test — 108/108
  • just test-IT — 11/11
  • just diff dev|infra|prod reviewed before regenerating: only repoURL/url hunks, no deletions or identity changes
  • git grep martin/cluster over tracked files — no remaining references
  • Commit signed (G) with the SSH signing key

Not in this PR

  • Cluster cutover and archaeology: live Application.spec.source.repoURL repointing, ordered sync, automation restore — tracked in #76.
  • Stale Getting Started docs — #80.
  • Registry option cleanup / package ownership — out of scope per #76.

Refs #76

## Summary Retargets the GitOps source of truth to the repository's new owner (`Personal/cluster`), as prepared in #76. **Merge only inside the cutover window** — merging before the transfer makes Argo CD fetch a non-existent URL. - `modules/common.nix`: `networking.clusterRepo` → `https://code.${domain.root}/Personal/cluster.git` (feeds `nixidy.target.repository` and Argo CD's `repository.cluster` registration). `networking.registry` intentionally unchanged — no app references it and images already publish to `code.martials.no/personal/<app>`. - `.woodpecker/switch.yml`: automerge endpoint uses `${CI_REPO}` instead of the hardcoded `martin/cluster` API path. - `AGENTS.md`: issue-tracking link and slug → `Personal/cluster`; new "Canonical Repository" section with GitOps URL, local SSH remote, `git remote set-url` guidance, and the note that image pulls are independent of repository ownership. - Generated manifests (`just switch dev|infra|prod`): 11 `Application` `repoURL` values + `manifests/dev/argocd/Secret-argocd-repo-cluster.yaml` `url`. ## Validation - `just fmt` — 0 files changed - `just test` — 108/108 - `just test-IT` — 11/11 - `just diff dev|infra|prod` reviewed before regenerating: only repoURL/url hunks, no deletions or identity changes - `git grep martin/cluster` over tracked files — no remaining references - Commit signed (`G`) with the SSH signing key ## Not in this PR - Cluster cutover and archaeology: live `Application.spec.source.repoURL` repointing, ordered sync, automation restore — tracked in #76. - Stale Getting Started docs — #80. - Registry option cleanup / package ownership — out of scope per #76. Refs #76
chore: retarget GitOps repo to Personal/cluster
All checks were successful
ci/woodpecker/pr/pr-review Pipeline was successful
ci/woodpecker/pr/switch Pipeline was successful
535b4901c2
Point networking.clusterRepo (nixidy target + Argo CD repository registration) at the transferred repository and regenerate manifests, so Argo CD bootstraps from the new owner.

- Make the Woodpecker automerge endpoint owner-agnostic via CI_REPO.
- Document the canonical GitOps URL and local SSH remote in AGENTS.md and update the issue-tracking link.

Manifests regenerated with just switch dev|infra|prod; only Application repoURL and the argocd-repo-cluster url changed.
martin merged commit 53840c091e into main 2026-11-15 20:13:09 +00:00
martin deleted branch migration/personal-org 2026-11-15 20:13:09 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
Personal/cluster!81
No description provided.