Skip to content

refactor(deps): take the shared Renovate preset from infra - #6738

Merged
dan-petty merged 5 commits into
mainfrom
refactor/6676-renovate-preset-from-infra
Nov 22, 2026
Merged

dan-petty merged 5 commits into
mainfrom
refactor/6676-renovate-preset-from-infra

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

devops-cli takes the shared Renovate rules from renovate/base.json of dan-petty/infra, which has the rules of the old devops-cli preset. Before, .github/renovate/base.json was a second live copy of them.

  • .github/renovate.json extends github>dan-petty/infra//renovate/base and keeps the rules that only devops-cli uses.
  • .github/renovate/base.json holds only an extends entry of the infra preset, so a repository that still extends the old path gets the same rules. chore(renovate): delete the forwarding preset #6677 deletes it.
  • The onboardingConfig of ConfigMap renovate-config extends the infra preset.
  • tests/core/test_renovate_config.py is deleted: no test asserts a value of a config file (test(k8s): Drop the tests that repeat third-party version pins #6060). renovate-config-validator --strict and the CI of infra check the configs.
  • The specs and the documents name the infra preset.

Closes #6676

Change: openspec/changes/archive/2026-11-22-6676-renovate-preset-from-infra/

@dan-petty dan-petty added type/refactor Type refactor: a new structure, same behavior scope/deps Dependency pins, upgrades and the supply chain labels Nov 22, 2026
@dan-petty

Copy link
Copy Markdown
Owner Author

Review points for the owner and the coordinator:

  1. Validation. npx --yes --package [email protected] -- renovate-config-validator --strict .github/renovate.json .github/renovate/base.json exits 0 in global mode and with --no-global (44.239.2 is the release of CronJob renovate). The command of the acceptance criterion with no version (it took 44.257.9) also exits 0. The validator does not fetch a preset, so the content of the infra preset is checked only by the CI job "Renovate presets" of dan-petty/infra.
  2. Equality. .github/renovate/base.json on origin/main 421498e41 and renovate/base.json of infra (merge cb3e1e54e) are equal as JSON with description removed.
  3. Not adopted: github>dan-petty/infra//renovate/k8s. The issue keeps the k8s managers in devops-cli, and the two differ (k8s/argocd/ against k8s/argocd/apps/, and the argocd git-tags rule of infra turns off only a source at main).
  4. The infra base preset names packages that only devops-cli seems to pin (the Renovate image and SearXNG in the schedule rule, Mattermost in the major approval rule). This change keeps them in infra, because infra PR feat(release): v0.2.3 #22 made base.json equal to the old preset. A follow-up in infra can move them to .github/renovate.json of devops-cli.
  5. Two scenarios that this change does not touch still name a test that does not exist ("Every pin of the repository has a Renovate manager", "Renovate titles fit the semantic title check").

After the merge (agent step of the issue): file one issue in each of dan-petty/devcontainer-features, dan-petty/devtools and dan-petty/vibes that changes its extends to github>dan-petty/infra//renovate/base (devops roadmap intake), and link them on #6677.

Person steps: none.

@dan-petty
dan-petty force-pushed the refactor/6676-renovate-preset-from-infra branch 2 times, most recently from 7763458 to efc76af Compare November 22, 2026 04:13
@dan-petty
dan-petty force-pushed the refactor/6676-renovate-preset-from-infra branch from efc76af to 8019a03 Compare November 22, 2026 04:30
@dan-petty
dan-petty marked this pull request as ready for review November 22, 2026 12:19
@dan-petty
dan-petty merged commit 2b1bd4e into main Nov 22, 2026
28 checks passed
@dan-petty
dan-petty deleted the refactor/6676-renovate-preset-from-infra branch November 22, 2026 12:20
dan-petty pushed a commit that referenced this pull request Nov 22, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.193.1](v0.193.0...v0.193.1)
(2026-11-22)


### Bug Fixes

* **roadmap:** ready the phase code for the read-only run folder
([#6745](#6745))
([62bcc35](62bcc35)),
closes [#6743](#6743)


### Code Refactoring

* **deps:** take the shared Renovate preset from infra
([#6738](#6738))
([2b1bd4e](2b1bd4e))

---
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/deps Dependency pins, upgrades and the supply chain type/refactor Type refactor: a new structure, same behavior

Projects

None yet

Development

Successfully merging this pull request may close these issues.

refactor(renovate): take the shared preset from infra

1 participant