← Back to issue list

chore: update renovate rules around 12-factor Spread test materials- #1353

View original Github issue

Metadata

Project
charmcraft
Number
#2867
Type
pull request
State
merged
Author
erinecon
Labels
Created
Updated
Closed

Current evaluation

Merged. Updated renovate.json5 to manage 12-factor Spread test materials. Config ignores docs/requirements.txt, disables major updates, groups minor/patch releases, and adds custom managers for ExpressJS and Spring Boot. Approved and passed CI.

Suggested action:

No scores available.

Issue body

This PR updates `renovate.json5` to manage the version updates for the 12-factor documentation Spread tests. This PR was prepared using AI assistance. I used the following policy as a starting place for the updates: 1. Ignore `docs/requirements.txt` 2. For other files in the `docs` folder, disable major release updates in Renovate (someone would have to do those manually). 3. Lump minor/patch releases together (so you'd have one PR that updates everything) Note that the Go extension is not included because its version is handled through the snap; the Spread test and tutorial use `sudo snap install go --classic` with explicitly defining a version of Go. For Spring Boot, there is no native `start.spring.io` data source, so the custom rule uses `spring-boot-starter-parent` instead. The LLM claims that this data source tracks identical versions to `start.spring.io` ### Summary of changes * Updated `ignorePaths` to ignore `docs/requirements.txt` only * Added `packageRules` to disable major release updates and lump minor/patch releases together for files under `docs/tutorial/code/`. * Added `customManagers` to add custom rules for updating the `task.yaml` files for ExpressJS and Spring Boot. --- - [X] I've followed the [contribution guidelines](https://github.com/canonical/charmcraft/blob/main/CONTRIBUTING.md). - [X] I've signed the [CLA](http://www.ubuntu.com/legal/contributors/). - [Failures unrelated to the changes in this PR] I've successfully run `make lint && make test`. - [N/A] I've added or updated any relevant documentation. - [N/A] In documents I changed, I [added a meta description](https://canonical-starflow.readthedocs-hosted.com/how-to/add-a-page-meta-description/) if one was missing. - [ ] I've updated the relevant release notes.

Evaluation history

Date Model Scores Action Summary
qwen3.6-35b-a3b-mtp-q6 Merged. Updated renovate.json5 to manage 12-factor Spread test materials. Config ignores docs/requirements.txt, disables major updates, groups minor/patch releases, and adds custom managers for ExpressJS and Spring Boot. Approved and passed CI.

Update history

Date Change
updated
updated
updated
updated
updated
updated
updated
updated
created

Related issues

Issue Project State Summary Similarity
#1353 chore: update renovate rules around 12-factor Spread test materials rockcraft merged Merged. Updated renovate.json5 for 12-factor documentation Spread test versions. Rules ignore requirements.txt, disable major updates, group minor/patch releases, and handle ExpressJS and Spring Boot. Approved; unrelated CI failure was acknowledged.
98%
#143 chore: update renovate config starbase merged Merged into main after reviewer approval and passing CI checks. The pull request updates the Renovate configuration across two files (+44/-13 lines) with no impact on test coverage.
75%
#2823 chore: configure renovate to ignore requirements files under tests/ charmcraft merged Merged configuration update adding tests/** to ignorePaths in .github/renovate.json5. This stops Renovate from tracking test fixture requirements. Approved by two reviewers and merged.
72%
#11 chore(deps): update development dependencies (minor and patch) craft-actions merged Merged automated dependency updates after passing CI and receiving two approvals. Renovate bot upgraded @types/node, esbuild, eslint-plugin-jest, prettier, ts-jest, and typescript-eslint to their latest minor and patch versions.
72%
#70 chore(deps): update development dependencies (minor and patch) craft-actions merged Merged automated minor and patch updates for development dependencies including @types/node, eslint, prettier, and typescript-eslint. Approved by a reviewer, passed all CI checks, and merged via Renovate automerge.
72%
#156 chore: make renovate update pre-commit-config starbase merged Merged a chore to update the pre-commit configuration via Renovate. Approved by one reviewer, passed CI checks, and maintained 100% test coverage. The change modified a single file with one line addition and deletion.
71%
#4696 chore(deps): update development dependencies (non-major) snapcraft merged Merged automated updates for Python type stubs via Renovate. Approved after passing CI and coverage checks. Maintainer deferred merge to address unrelated spread test failures before applying.
71%
#4634 chore: spread cleanup snapcraft merged Merged by maintainer sergiusens after three reviewers approved. The PR cleaned up spread configuration across 85 files, removing 358 lines and adding 115. All CI checks passed with 100% coverage on modified code.
70%
#11 chore: enable spread tests snapcraft-rocks merged Merged to enable spread tests on CI using new self-hosted runners. Downgrades actions/checkout to v3 for compatibility. Approved by one reviewer.
70%
#3 chore: Configure Renovate snapcraft-rocks merged Merged to activate Renovate for automated dependency updates. The onboarding pull request was approved by one reviewer, passed CI checks, and added the initial renovate.json configuration to the repository.
70%