fix(renovate): enable scanning test directories for emulator images

The custom regex manager wasn't detecting emulator image dependencies
in test/e2e/internal/objectstore/ because Renovate's default ignorePaths
blocks test directories. Removed the `**/test/**` pattern while keeping
other sensible defaults to allow scanning test files.

Also fixed the regex pattern to handle the multi-line format where
renovate comments span three lines, and corrected all managerFilePatterns
to use the proper `/pattern$/` format.

Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>
This commit is contained in:
Marco Nenciarini 2026-01-12 17:06:20 +01:00
parent d589729d53
commit 82b7540dd5
No known key found for this signature in database
GPG Key ID: 589F03F01BA55038

View File

@ -11,6 +11,17 @@
],
rebaseWhen: 'never',
prConcurrentLimit: 5,
// Override default ignorePaths to scan test/e2e for emulator image dependencies
// Removed: '**/test/**'
ignorePaths: [
'**/node_modules/**',
'**/bower_components/**',
'**/vendor/**',
'**/examples/**',
'**/__tests__/**',
'**/tests/**',
'**/__fixtures__/**',
],
lockFileMaintenance: {
enabled: true,
},
@ -28,7 +39,7 @@
{
customType: 'regex',
managerFilePatterns: [
'/(^Taskfile\\.yml$)/',
'/(^|/)Taskfile\\.yml$/',
],
matchStrings: [
'# renovate: datasource=(?<datasource>[a-z-.]+?) depName=(?<depName>[^\\s]+?)(?: (?:lookupName|packageName)=(?<packageName>[^\\s]+?))?(?: versioning=(?<versioning>[^\\s]+?))?(?: extractVersion=(?<extractVersion>[^\\s]+?))?(?: currentValue=(?<currentValue>[^\\s]+?))?\\s+[A-Za-z0-9_]+?_SHA\\s*:\\s*["\']?(?<currentDigest>[a-f0-9]+?)["\']?\\s',
@ -38,16 +49,16 @@
{
customType: 'regex',
managerFilePatterns: [
'\\.go$',
'/\\.go$/',
],
matchStrings: [
'// renovate: datasource=(?<datasource>[a-z-.]+?) depName=(?<depName>[^\\s]+?)(?: versioning=(?<versioning>[^\\s]+?))?\\s+(?:// Version: (?<currentValue>[^\\s]+?)\\s+)?Image:\\s*"[^@]+@(?<currentDigest>sha256:[a-f0-9]+)"',
'//\\s*renovate:\\s*datasource=(?<datasource>[a-z-.]+?)\\s+depName=(?<depName>[^\\s]+?)(?:\\s+versioning=(?<versioning>[^\\s]+?))?\\s*\\n\\s*//\\s*Version:\\s*(?<currentValue>[^\\s]+?)\\s*\\n\\s*Image:\\s*"[^@]+@(?<currentDigest>sha256:[a-f0-9]+)"',
],
},
{
customType: 'regex',
managerFilePatterns: [
'/(^docs/config\\.yaml$)/',
'/(^|/)docs/config\\.yaml$/',
],
matchStrings: [
'# renovate: datasource=(?<datasource>[a-z-.]+?) depName=(?<depName>[^\\s]+?)(?: (?:lookupName|packageName)=(?<packageName>[^\\s]+?))?(?: versioning=(?<versioning>[^\\s]+?))?(?: extractVersion=(?<extractVersion>[^\\s]+?))?\\s+kubernetesVersion:\\s*["\']?(?<currentValue>.+?)["\']?\\s',