Skip to content

Commit

Permalink
Merge pull request #113 from orange-cloudfoundry/renovate/migrate-config
Browse files Browse the repository at this point in the history
chore(config): migrate renovate config
  • Loading branch information
o-orand authored Jan 24, 2024
2 parents bd582d4 + 4056872 commit d20955a
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@
'manifests/**',
'jobs/**',
],
automergeStrategy: "merge-commit", // use a merge commit so that generated release notes can list the merged PRs
automergeStrategy: 'merge-commit', // use a merge commit so that generated release notes can list the merged PRs
baseBranches: [
// don't run on renovate branches
"$default",
"/^release-.*/", //regexp test syntax
'$default',
'/^release-.*/', //regexp test syntax
// See https://docs.renovatebot.com/configuration-options/#basebranches
// baseBranches supports Regular Expressions that must begin and end with /
], //See also possible support for multiple base branches, one per K8S minor version https://docs.renovatebot.com/configuration-options/#basebranches
Expand Down Expand Up @@ -92,7 +92,6 @@
'depName/kubernetes-kubectl', //override common labels for kubectl, as we have to scan kubernetes releases
],
//separateMultipleMinor: true, // Pending merge of https://github.com/renovatebot/renovate/pull/24538 to be effective

},
],
customManagers: [
Expand Down Expand Up @@ -120,14 +119,17 @@
versioningTemplate: 'regex:v?(?<major>\\d+)\\.(?<minor>\\d+)\\.(?<patch>\\d+)?$',
},
{
fileMatch: [".github/workflows/.*\\.yml"],
"matchStrings": [
customType: 'regex',
fileMatch: [
'.github/workflows/.*\\.yml',
],
matchStrings: [
// For GitHub workflows: https://regex101.com/r/wjGoU0/2
"repo: (?<depName>[\\w\\d\\//\\-\\_]+)\\n\\s*tag:[\\s*|=]??\\\"?v(?<currentValue>[\\w\\d\\/\\-\\.\\_]+)\\\"?",
'repo: (?<depName>[\\w\\d\\//\\-\\_]+)\\n\\s*tag:[\\s*|=]??\\"?v(?<currentValue>[\\w\\d\\/\\-\\.\\_]+)\\"?',
],
versioningTemplate: 'regex:v?(?<major>\\d+)\\.(?<minor>\\d+)\\.(?<patch>\\d+)?$',
extractVersionTemplate: "^v?(?<version>.*)$",
datasourceTemplate: 'github-tags'
}
extractVersionTemplate: '^v?(?<version>.*)$',
datasourceTemplate: 'github-tags',
},
],
}

0 comments on commit d20955a

Please sign in to comment.