Skip to content

Reconfigure renovate#4010

Open
LecrisUT wants to merge 2 commits intomainfrom
renovate/reconfigure
Open

Reconfigure renovate#4010
LecrisUT wants to merge 2 commits intomainfrom
renovate/reconfigure

Conversation

@LecrisUT
Copy link
Contributor

@LecrisUT LecrisUT commented Sep 1, 2025

In order to properly run renovate with python dependencies that require system packages (see failure) we have to run renovate as self-hosted and embed the dependencies needed in the renovate runner to be able to run uv sync.

A breakdown of how this works:

  • containers/Containerfile.renovate: Inherits from upstream renovate image aka ghcr.io/renovatebot/renovate
  • build-and-publish-renovate.yml: Whenever the file above is updated or if run manually, this workflow build the container as renovate-tmt:latest and publishes it to this repo's github container respository
  • renovate.yml: Using the container above, this workflow basically runs renovate itself using the renovate-config.json for the runner, after which it is equivalent with the hosted renovate
  • In order for Github Actions to be run on PRs created by a different github action, a token other than ${github.token} must be used. In this case a Github app will be created and owned at the teemtee organization which is then fed into actions/create-github-app-token to get the final token that renovate would be using. See renovatebot/github-action example for more explanation

Besides the workflow above, to make sure everything is working correctly this PR reconfigures renovate.json as well:

  • Simplify the Documentation Dependencies flow. Something is probably still missing to properly make the PRs for these, but will continue this work afterwards
  • Drop the hatch devDependencies
  • Enable the python dependency update for everything. This probably needs more fine-tuning probably with lockFileMaintenance

@LecrisUT LecrisUT mentioned this pull request Sep 1, 2025
@LecrisUT
Copy link
Contributor Author

LecrisUT commented Sep 1, 2025

From the other PR, this is still relevant

It is a bit more complicated because even the suggested schedule may not be enough according to the last schedule attempt. Still tracking how to actually configure this in renovatebot/renovate#37720.

Btw, we can always trigger the current ones manually.

@renovate
Copy link
Contributor

renovate bot commented Sep 1, 2025

Reconfigure PR Results

This is a reconfigure PR comment to help you understand and re-configure your renovate bot settings. If this Reconfigure PR were to be merged, we'd expect to see the following outcome:


Detected Package Files

  • containers/Containerfile.full (dockerfile)
  • containers/Containerfile.mini (dockerfile)
  • containers/alpine/Containerfile (dockerfile)
  • containers/alpine/Containerfile.upstream (dockerfile)
  • containers/centos/7/Containerfile (dockerfile)
  • containers/centos/7/Containerfile.upstream (dockerfile)
  • containers/centos/stream10/Containerfile (dockerfile)
  • containers/centos/stream10/Containerfile.upstream (dockerfile)
  • containers/centos/stream9/Containerfile (dockerfile)
  • containers/centos/stream9/Containerfile.upstream (dockerfile)
  • containers/debian/12.7/Containerfile.upstream (dockerfile)
  • containers/fedora/42/Containerfile (dockerfile)
  • containers/fedora/42/Containerfile.unprivileged (dockerfile)
  • containers/fedora/42/Containerfile.upstream (dockerfile)
  • containers/fedora/42/bootc/Containerfile (dockerfile)
  • containers/fedora/43/Containerfile (dockerfile)
  • containers/fedora/43/Containerfile.unprivileged (dockerfile)
  • containers/fedora/43/Containerfile.upstream (dockerfile)
  • containers/fedora/coreos/Containerfile (dockerfile)
  • containers/fedora/coreos/ostree/Containerfile (dockerfile)
  • containers/fedora/eln/Containerfile (dockerfile)
  • containers/fedora/eln/Containerfile.unprivileged (dockerfile)
  • containers/fedora/eln/Containerfile.upstream (dockerfile)
  • containers/fedora/latest/Containerfile (dockerfile)
  • containers/fedora/latest/Containerfile.unprivileged (dockerfile)
  • containers/fedora/latest/Containerfile.upstream (dockerfile)
  • containers/fedora/latest/bootc/Containerfile (dockerfile)
  • containers/fedora/rawhide/Containerfile (dockerfile)
  • containers/fedora/rawhide/Containerfile.unprivileged (dockerfile)
  • containers/fedora/rawhide/Containerfile.upstream (dockerfile)
  • containers/ubi/8/Containerfile.upstream (dockerfile)
  • containers/ubuntu/22.04/Containerfile.upstream (dockerfile)
  • .github/workflows/doc-tests.yml (github-actions)
  • .github/workflows/pre-commit.yml (github-actions)
  • .github/workflows/publish-images.yml (github-actions)
  • .github/workflows/release.yml (github-actions)
  • .github/workflows/shellcheck.yml (github-actions)
  • pyproject.toml (pep621)
  • .pre-commit-config.yaml (pre-commit)

Configuration Summary

Based on the default config's presets, Renovate will:

  • Hopefully safe environment variables to allow users to configure.
  • Show all Merge Confidence badges for pull requests.
  • Enable Renovate Dependency Dashboard creation.
  • Use semantic commit type fix for dependencies and chore for all others if semantic commits are in use.
  • Ignore node_modules, bower_components, vendor and various test/tests (except for nuget) directories.
  • Group known monorepo packages together.
  • Use curated list of recommended non-monorepo package groupings.
  • Show only the Age and Confidence Merge Confidence badges for pull requests.
  • Apply crowd-sourced package replacement rules.
  • Apply crowd-sourced workarounds for known problems with packages.
  • Ensure that every dependency pinned by digest and sourced from GitHub.com contains a link to the commit-to-commit diff
  • Correctly link to the source code for golang.org/x packages
  • Link to pkg.go.dev/... for golang.org/x packages' title
  • Enable the pre-commit manager.
  • Disable semantic prefixes for commit messages and PR titles.

What to Expect

With your current configuration, Renovate will create 3 Pull Requests:

Update Pre-commit Dependencies
Update GitHub Actions
Update Locked dependencies
  • Schedule: ["at any time"]
  • Branch name: renovate/locked-dependencies
  • Merge into: main
  • Upgrade setuptools to <83
  • Upgrade types-requests to <2.32.4.20260108

🚸 PR creation will be limited to maximum 2 per hour, so it doesn't swamp any CI resources or overwhelm the project. See docs for prHourlyLimit for details.

@LecrisUT LecrisUT added the status | blocked The merging of PR is blocked on some other issue label Sep 1, 2025
@happz happz added this to planning Sep 1, 2025
@github-project-automation github-project-automation bot moved this to backlog in planning Sep 1, 2025
@happz happz moved this from backlog to review in planning Sep 1, 2025
@LecrisUT
Copy link
Contributor Author

LecrisUT commented Sep 1, 2025

To investigate: Why are the docs no longer grouped? They are not grouped in main branch either: https://developer.mend.io/github/teemtee/tmt. Probably missing a flag to not separate the major releases.

@LecrisUT LecrisUT removed the status | blocked The merging of PR is blocked on some other issue label Sep 26, 2025
@LecrisUT LecrisUT self-assigned this Sep 26, 2025
@LecrisUT LecrisUT moved this from review to implement in planning Sep 26, 2025
Signed-off-by: Cristian Le <git@lecris.dev>
Signed-off-by: Cristian Le <git@lecris.dev>
@LecrisUT LecrisUT force-pushed the renovate/reconfigure branch from 4b15a16 to fcefd68 Compare March 11, 2026 18:52
@LecrisUT LecrisUT added renovate area | automation Tools, actions and workflows automating our work labels Mar 11, 2026
@LecrisUT LecrisUT added the status | blocking other work An important pull request, blocking other pull requests or issues label Mar 11, 2026
@LecrisUT LecrisUT removed their assignment Mar 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area | automation Tools, actions and workflows automating our work renovate status | blocking other work An important pull request, blocking other pull requests or issues

Projects

Status: implement

Development

Successfully merging this pull request may close these issues.

1 participant