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

chore(config): migrate renovate config #1975

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
53 changes: 26 additions & 27 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
@@ -1,36 +1,35 @@
{
"extends": [
"config:base",
// go dependencies and auto-merge configuration: https://github.com/newrelic/coreint-automation/blob/main/renovate-base.json5
"github>newrelic/coreint-automation:renovate-base.json5",
extends: [
'config:recommended',
'github>newrelic/coreint-automation:renovate-base.json5',
],
// Label PRs with `dependencies`.
"labels": ["dependencies"],
"enabledManagers": [
// Enable only the regex manager (for Dockerfile base image bumping).
"regex"
labels: [
'dependencies',
],
"regexManagers": [
enabledManagers: [
'custom.regex',
],
customManagers: [
{
// Parse bundle image version from `base_image` ARG in Dockerfile.
"fileMatch": [
"build/container/Dockerfile$"
customType: 'regex',
fileMatch: [
'build/container/Dockerfile$',
],
datasourceTemplate: 'docker',
matchStrings: [
'base_image=(?<depName>.+):(?<currentValue>.+)',
],
"datasourceTemplate": "docker",
"matchStrings": [
"base_image=(?<depName>.+):(?<currentValue>.+)"
]
},
{
// Parse version of embedded integrations.
"fileMatch": [
"build/embed/integrations.version$"
customType: 'regex',
fileMatch: [
'build/embed/integrations.version$',
],
depNameTemplate: 'newrelic/{{{integrationName}}}',
datasourceTemplate: 'github-releases',
matchStrings: [
'(?<integrationName>.+),(?<currentValue>v.+)',
],
"depNameTemplate": "newrelic/{{{integrationName}}}",
"datasourceTemplate": "github-releases", // Version info is fetched from GitHub.
"matchStrings": [
"(?<integrationName>.+),(?<currentValue>v.+)"
]
}
]
},
],
}
Loading