Skip to content

Commit

Permalink
Migrate renovate config (#363)
Browse files Browse the repository at this point in the history
  • Loading branch information
joecorall authored Jan 2, 2025
1 parent d74f69a commit 99f1dcd
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions renovate.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"branchPrefix": "renovate.",
"extends": [
"config:best-practices",
":rebaseStalePrs"
Expand All @@ -15,11 +16,13 @@
"fcrepo-exts/fcrepo-import-export",
"fcrepo-exts/fcrepo-upgrade-utils"
],
"extractVersion": "^(fcrepo|activemq|rel|fcrepo-import-export|fcrepo-upgrade-utils)(\/|-)(?<version>\\d+\\.\\d+\\.\\d+)$",
"extractVersion": "^(fcrepo|activemq|rel|fcrepo-import-export|fcrepo-upgrade-utils)(/|-)(?<version>\\d+\\.\\d+\\.\\d+)$",
"versioning": "semver"
},
{
"packagePatterns": ["^apache/solr$"],
"matchPackagePatterns": [
"^apache/solr$"
],
"extractVersion": "^releases/solr/(?<version>\\d+\\.\\d+\\.\\d+)$",
"versioning": "semver"
},
Expand Down Expand Up @@ -63,7 +66,10 @@
{
"customType": "regex",
"description": "Update _VERSION variables in Dockerfiles",
"fileMatch": ["(^|/|\\.)Dockerfile$", "(^|/)Dockerfile\\.[^/]*$"],
"fileMatch": [
"(^|/|\\.)Dockerfile$",
"(^|/)Dockerfile\\.[^/]*$"
],
"matchStrings": [
"# renovate: datasource=(?<datasource>[a-z-]+?)(?: depName=(?<depName>.+?))? packageName=(?<packageName>.+?)(?: versioning=(?<versioning>[a-z-]+?))?\\s(?:ENV|ARG) .+?_VERSION=(?<currentValue>.+?)(\\s|$)"
]
Expand Down

0 comments on commit 99f1dcd

Please sign in to comment.