Skip to content

Add Renovate support#125982

Merged
mthalman merged 2 commits intodotnet:mainfrom
mthalman:dev/mthalman/renovate
Apr 6, 2026
Merged

Add Renovate support#125982
mthalman merged 2 commits intodotnet:mainfrom
mthalman:dev/mthalman/renovate

Conversation

@mthalman
Copy link
Copy Markdown
Member

@mthalman mthalman commented Mar 23, 2026

Adds Renovate support via a pipeline that will keep configured dependencies up-to-date.

This initial configuration is set to use image digest pinning for the container images used in the builds. This is configured such that it will automatically update any image name in the tracked files so any new images that get manually added to this file can just reference the tag name and Renovate will do the rest by updating it to the digest on the next run.

My assumption is that we don't want digest pinning done for Helix images which would continue to be referenced by tag. Includes support for digest pinning on Helix images.

Example dry run (internal link)

Contributes to #113455

@dotnet-policy-service
Copy link
Copy Markdown
Contributor

Tagging subscribers to this area: @dotnet/runtime-infrastructure
See info in area-owners.md if you want to be subscribed.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds Renovate support to dotnet/runtime via an Azure DevOps pipeline, with an initial Renovate configuration focused on digest-pinning container images referenced by the shared pipeline-with-resources.yml template.

Changes:

  • Add eng/renovate.json to configure Renovate with a custom regex manager for updating Docker image digests in pipeline-with-resources.yml.
  • Add eng/pipelines/runtime-renovate.yml to run Renovate on a scheduled basis using the shared Arcade Renovate pipeline template.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
eng/renovate.json Renovate configuration enabling a custom regex manager + digest pinning rules targeting the pipeline container image list.
eng/pipelines/runtime-renovate.yml New scheduled pipeline that extends the shared Renovate stages template and points at eng/renovate.json.

@jkotas
Copy link
Copy Markdown
Member

jkotas commented Mar 23, 2026

My assumption is that we don't want digest pinning done for Helix images which would continue to be referenced by tag.

Why not?

@mthalman
Copy link
Copy Markdown
Member Author

My assumption is that we don't want digest pinning done for Helix images which would continue to be referenced by tag.

Why not?

I thought I recall from past conversations that that was the direction but I could be mistaken. It was a long time ago. I'm happy to broaden the scope.

@mthalman
Copy link
Copy Markdown
Member Author

Also be aware that the context of why images are being updated will not be provided in the PR generated by Renovate. There's an issue logged to improve that: dotnet/arcade#16602

@mthalman mthalman merged commit 6180397 into dotnet:main Apr 6, 2026
167 of 169 checks passed
radekdoulik pushed a commit to radekdoulik/runtime that referenced this pull request Apr 9, 2026
Adds [Renovate
support](https://github.com/dotnet/arcade/blob/main/Documentation/Renovate.md)
via a pipeline that will keep configured dependencies up-to-date.

This initial configuration is set to use image digest pinning for the
container images used in the builds. This is configured such that it
will automatically update any image name in the tracked files so any new
images that get manually added to this file can just reference the tag
name and Renovate will do the rest by updating it to the digest on the
next run.

~~My assumption is that we don't want digest pinning done for Helix
images which would continue to be referenced by tag.~~ Includes support
for digest pinning on Helix images.

[Example dry
run](https://dev.azure.com/dnceng/internal/_build/results?buildId=2933814&view=results)
(internal link)

Contributes to dotnet#113455
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

4 participants