Browse Source

Add renovate config

pull/1216/head
Andras Elso 6 months ago
parent
commit
6b189b6538
1 changed files with 63 additions and 0 deletions
  1. +63
    -0
      renovate.json5

+ 63
- 0
renovate.json5 View File

@@ -0,0 +1,63 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"configMigration": true,
"extends": [
'config:recommended',

// Make sure we get a single PR combining all updates
'group:all',
],
"automerge": false,
"separateMinorPatch": true,
"gitAuthor": "renovate[bot] <bot@renovateapp.com>",
"enabledManagers": [
"dockerfile",
"custom.regex"
],
"packageRules": [
{
"matchDatasources": [
"repology"
],
"matchPackagePatterns": [
"^debian_"
],
"groupName": "debian packages",
"groupSlug": "debian"
},
{
"matchDatasources": [
"repology"
],
"matchPackagePatterns": [
"^ubuntu_"
],
"groupName": "ubuntu packages",
"groupSlug": "ubuntu"
}
],
"customManagers": [
{
"description": "Update packages set in Dockerfiles",
"customType": "regex",
"fileMatch": [
'(^|/|\\.)([Dd]ocker|[Cc]ontainer)file$',
'(^|/)([Dd]ocker|[Cc]ontainer)file[^/]*$',
],
"matchStrings": [
"#\\srenovate:\\sdatasource=(?<datasource>.*?) depName=(?<depName>.*?)( versioning=(?<versioning>.*?))?( extractVersion=(?<extractVersion>.*?))?\\s(ENV|ARG) .*?_VERSION=\"(?<currentValue>.*)\"\\s"
],
"versioningTemplate": "{{#if versioning}}{{{versioning}}}{{else}}loose{{/if}}",
"datasourceTemplate": "{{#if datasource}}{{{datasource}}}{{else}}repology{{/if}}"
}
],

// Disable dependency dashboard
"dependencyDashboard": false,

// Use our labelling system
"labels": ['dependencies'],

// We generally always want the major version
"separateMajorMinor": false,
}

Loading…
Cancel
Save