Skip to content

Commit

Permalink
update REFERENCE.md in renovate PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
TheMeier committed Jun 13, 2024
1 parent 5ce4c7d commit 752c788
Showing 1 changed file with 31 additions and 6 deletions.
37 changes: 31 additions & 6 deletions renovate-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,28 +2,53 @@
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"onboarding": false,
"requireConfig": "optional",
"repositories": ["voxpupuli/puppet-prometheus"],
"extends": ["config:recommended"],
"enabledManagers": ["custom.regex"],
"repositories": [
"voxpupuli/puppet-prometheus"
],
"extends": [
"config:recommended"
],
"enabledManagers": [
"custom.regex"
],
"prHourlyLimit": 10,
"prConcurrentLimit": 20,
"branchConcurrentLimit": 30,
"customManagers": [
{
"customType": "regex",
"fileMatch": ["defaults.yaml"],
"fileMatch": [
"defaults.yaml"
],
"matchStrings": [
"# renovate: depName=(?<depName>[^\\s]+?)\\s+[a-z0-9:_]+?::version:\\s+['\"]?(?<currentValue>[\\w+\\.]*)"
],
"datasourceTemplate": "github-releases"
},
{
"customType": "regex",
"fileMatch": [".*_exporter.pp"],
"fileMatch": [
".*_exporter.pp"
],
"matchStrings": [
"# renovate: depName=(?<depName>[^\\s]+?)\\s+String\\[1\\]\\s+\\$version\\s+=\\s+['\"]?(?<currentValue>[\\w+\\.]*)"
],
"datasourceTemplate": "github-releases"
}

],
"postUpgradeTasks": {
"commands": [
"apt-get update",
"apt-get install -y bundler",
"bundle install",
"bundle exec rake strings:generate:reference"
],
"executionMode": "branch"
},
"allowedPostUpgradeCommands": [
"^apt-get update$",
"^apt-get install -y bundler$",
"^bundle install$",
"bundle exec rake strings:generate:reference"
]
}

0 comments on commit 752c788

Please sign in to comment.