Skip to content

docs(spec): plan #7497 replace the onboard settings rows with OpenTofu - #7521

Merged
dan-petty merged 1 commit into
mainfrom
refactor/7497-onboard-settings-opentofu
Nov 28, 2026
Merged

dan-petty merged 1 commit into
mainfrom
refactor/7497-onboard-settings-opentofu

Conversation

@dan-petty

@dan-petty dan-petty commented Nov 28, 2026 •

Copy link
Copy Markdown
Owner

This plan replaces the repository-settings engine of devops repos onboard with OpenTofu and integrations/github v6.13.0 (MIT). Proposed ADR 0041 replaces ADR 0035 and amends decisions 1, 4 and 7 of ADR 0026; on acceptance, this pull request also sets the supersede links and moves the five code comments that cite ADR 0035 (task 1.3). One root for each owner account in dan-petty/homelab (tf/github/<owner>) calls a module of dan-petty/infra, the state is in namespace tofu-state, agents plan and the owner applies. Onboard keeps the template pull request, the Service rows, the labels, the webhook, the release key, and five API calls for settings that the provider cannot hold. A read-only plan imported devops-cli with 0 changes and showed the removal of a required check (#7489). The owner reviews the decision; this pull request holds no code.

Refs #7497

Plans #7497

Change: openspec/changes/7497-onboard-settings-opentofu/

@dan-petty dan-petty added type/docs Type docs: a change to the documents scope/spec labels Nov 28, 2026
@dan-petty
dan-petty force-pushed the refactor/7497-onboard-settings-opentofu branch from 2e64a3d to ad49dce Compare November 28, 2026 02:20
…nTofu

ADR 0041 (proposed) supersedes ADR 0035 and amends decisions 1, 4 and 7 of ADR 0026. The change folder holds the design, the migration order and the spec deltas of the build.

Refs #7497
@dan-petty
dan-petty force-pushed the refactor/7497-onboard-settings-opentofu branch from ad49dce to 69f4e7f Compare November 28, 2026 02:37
@dan-petty
dan-petty marked this pull request as ready for review November 28, 2026 02:46
@dan-petty
dan-petty merged commit 80810dd into main Nov 28, 2026
28 checks passed
@dan-petty
dan-petty deleted the refactor/7497-onboard-settings-opentofu branch November 28, 2026 03:21
dan-petty added a commit that referenced this pull request Nov 28, 2026
…7540)

The owner accepted one change to the plan of #7521: CI applies the
GitHub settings, and the owner approves each apply with one click.
GitHub gives required reviewers only to public repositories on the Free,
Pro and Team plans, so the root of the public repositories moves to
dan-petty/infra, and the private repositories get their own root in
dan-petty/homelab, which the same approved job applies. A pull request
gets `tofu plan -refresh=false` as a tfcmt comment. A push to `main`
runs the apply in environment `github-settings`, which alone holds the
writer App key. The jobs run on a runner scale set of infra in the
cluster, because GitHub-hosted runners cannot reach the state in
`tofu-state`. ADR 0041 (still proposed) now also amends ADR 0032 section
8. The build items are dan-petty/infra#240 to #243,
dan-petty/homelab#642 and #643, #7534 and dan-petty/github-workflows#11.

Refs #7497

Plans #7497

Change: `openspec/changes/7497-onboard-settings-opentofu/`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/spec type/docs Type docs: a change to the documents

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant