Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Write customManagers entry to update renovateVersion string in Markdown files #596

Open
3 tasks
HonkingGoose opened this issue Oct 25, 2024 · 1 comment
Open
3 tasks
Labels
enhancement New feature or request

Comments

@HonkingGoose
Copy link
Contributor

We want to get updates from Renovate bot for the renovateVersion string in the FAQ Markdown file.

How?

@rarkins proposed:

I think that using npm or Docker versions as "close enough" is good enough for us. We won't want to update this all the time either, e.g. we could update this monthly like we do with renovate versions in other docs.

Source:

Todos

I don't know enough to write the new Renovate configuration. I hope someone smart at regex can help! Here are the todos:

Write new config code in default.json:

  • Write a new customManagers entry, to update the "renovateVersion": "38.120.1" pattern string in Markdown files.
  • Use the version of Renovate from npm, or Docker as "close enough" approximation of the version of the Mend hosted Renovate app.
  • Set the schedule to monthly (or match the schedule for the other Markdown docs updates).
@viceice
Copy link
Member

viceice commented Dec 5, 2024

i think this simply needs another regex added here:

.github/default.json

Lines 140 to 151 in bf45bb3

{
"customType": "regex",
"description": "Update Renovate and other docker images references in Markdown files",
"fileMatch": ["\\.md$"],
"matchStrings": [
"(?<depName>renovate/renovate):(?<currentValue>[a-z0-9.-]+)(?:@(?<currentDigest>sha256:[a-f0-9]+))?",
"(?<depName>ghcr.io/renovatebot/renovate):(?<currentValue>[a-z0-9.-]+)(?:@(?<currentDigest>sha256:[a-f0-9]+))?",
"\\simage: (?<depName>.+?):(?<currentValue>[a-z0-9.-]+)(?:@(?<currentDigest>sha256:[a-f0-9]+))?"
],
"datasourceTemplate": "docker",
"versioningTemplate": "docker"
},

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants