Repository navigation
docs(spec): plan #7497 replace the onboard settings rows with OpenTofu - #7521
Merged
Merged
Conversation
2 tasks
dan-petty
force-pushed
the
refactor/7497-onboard-settings-opentofu
branch
from
November 28, 2026 02:20
2e64a3d to
ad49dce
Compare
…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
force-pushed
the
refactor/7497-onboard-settings-opentofu
branch
from
November 28, 2026 02:37
ad49dce to
69f4e7f
Compare
dan-petty
marked this pull request as ready for review
November 28, 2026 02:46
This was referenced Nov 28, 2026
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/`
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This plan replaces the repository-settings engine of
devops repos onboardwith OpenTofu andintegrations/githubv6.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 namespacetofu-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/