diff --git a/renovate-config.json b/renovate-config.json index f9eedf52f..392688863 100644 --- a/renovate-config.json +++ b/renovate-config.json @@ -2,15 +2,23 @@ "$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, "customManagers": [ { "customType": "regex", - "fileMatch": ["defaults.yaml"], + "fileMatch": [ + "defaults.yaml" + ], "matchStrings": [ "# renovate: depName=(?<depName>[^\\s]+?)\\s+[a-z0-9:_]+?::version:\\s+['\"]?(?<currentValue>[\\w+\\.]*)" ], @@ -18,12 +26,26 @@ }, { "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$" + ], + "executionMode": "branch" + }, + "allowedPostUpgradeCommands": [ + "^apt-get update$", + "^apt-get install -y bundler$", + "^bundle install$" ] }