feat(quality-gate): adopt template tier + per-template renovate#44
Merged
Merged
Conversation
Phase 3 of the per-template-renovate-baselines refactor (Model B, canonicalised in nwarila-platform/.github ADR-0004 at f2ff593 and adopted by NWarila/terraform-runner-template at 0f1d828). This consumer now has TWO drift-gate invocations — one per tier — and a thin Renovate config that inherits the entire stack-wide baseline from the type-template instead of carrying a byte-clone. drift-gate: dual-tier --------------------- .github/workflows/drift-gate.yaml now runs: 1. org-baseline / verify pinned to nwarila-platform/.github@f2ff593 (manifest: baseline-manifest.json, 11 entries) 2. template-baseline / verify pinned to NWarila/terraform-runner-template@0f1d828 (manifest: baseline-manifest.json, 1 entry) Both must pass for the merge gate to be green. ADR mirrors synced ------------------ - org/0004-use-renovate-for-dependency-updates.md NEW: byte-mirror of the canonical ADR-0004 (per-template-baselines model). The 4 existing org-tier mirrors (0001, 0002, 0003 and now 0004) cover the full canonical org tier at f2ff593. - template/0001-pin-terraform-and-provider-versions-exactly.md NEW: byte-mirror of NWarila/terraform-runner-template@0f1d828's master. This is the consumer's first template-tier mirror. renovate.json5 collapse ----------------------- Was: 80-line byte-clone of NWarila/terraform-runner-template's full config (universal + Terraform-specific managers, customManagers, packageRules — all duplicated). Now: 14 lines, just `extends: ["github>NWarila/terraform-runner- template"]`. The template's full baseline propagates transparently via Renovate's extends mechanism. Stack-wide tweaks happen in one place (the template) rather than every consumer. This is the user-visible payoff of the Model B amendment in ADR-0004: DRY within the Terraform stack, no centralised org-level Renovate config, stack independence preserved. .gitignore ---------- Allowlist additions for the two new ADR mirror paths (deny-all .gitignore per ADR-0003). Verification ------------ Locally: - org-tier drift-gate against canonical f2ff593: 11/11 MATCH. - template-tier drift-gate against template 0f1d828: 1/1 MATCH. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Contributor
Terraform Framework Test Results
Runs: 0 total, 0 passed, 0 failed, 0 skipped Full test outputCommit: 2adf48e |
1 task
NWarila
added a commit
that referenced
this pull request
May 25, 2026
## Summary `tools/check_docs_layout.py` was not updated when PR #44 introduced the template-tier ADR. The framework's own CI workflow only runs terraform fmt/init/validate/test, so this never failed framework-side, but consumers (github-terraform-runner) that run `make ci` against this framework as part of contract validation surface the layout error. Aligns with the convention in all four template repos which already include 'template' in ADR_ALLOWED_SUBTREES. ## Test plan - [ ] CI green Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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.
Summary
Phase 3 of the per-template-renovate-baselines refactor. This consumer now:
Net diff
Pin map after merge
Verified locally
Test plan
🤖 Generated with Claude Code