mirror of
https://github.com/TeamPiped/Piped-Kubernetes.git
synced 2024-12-12 21:30:39 +05:30
chore(config): migrate config .github/renovate.json5 (#112)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This commit is contained in:
parent
6e440df139
commit
d40bd674fa
252
.github/renovate.json5
vendored
252
.github/renovate.json5
vendored
@ -1,113 +1,169 @@
|
|||||||
{
|
{
|
||||||
"enabled": true,
|
enabled: true,
|
||||||
"dependencyDashboard": true,
|
dependencyDashboard: true,
|
||||||
"dependencyDashboardTitle": "Renovate Dashboard",
|
dependencyDashboardTitle: 'Renovate Dashboard',
|
||||||
"assigneesFromCodeOwners": true,
|
assigneesFromCodeOwners: true,
|
||||||
"reviewersFromCodeOwners": true,
|
reviewersFromCodeOwners: true,
|
||||||
"suppressNotifications": ["prIgnoreNotification"],
|
suppressNotifications: [
|
||||||
"prConcurrentLimit": 5,
|
'prIgnoreNotification',
|
||||||
"helm-values": {
|
],
|
||||||
"enabled": false
|
prConcurrentLimit: 5,
|
||||||
|
'helm-values': {
|
||||||
|
enabled: false,
|
||||||
},
|
},
|
||||||
"helmv3": {
|
helmv3: {
|
||||||
"fileMatch": ["charts/.+/Chart\\.yaml$"]
|
fileMatch: [
|
||||||
|
'charts/.+/Chart\\.yaml$',
|
||||||
|
],
|
||||||
},
|
},
|
||||||
"packageRules": [
|
packageRules: [
|
||||||
// Setup datasources
|
|
||||||
{
|
{
|
||||||
"matchDatasources": ["helm"],
|
matchDatasources: [
|
||||||
"commitMessageTopic": "Helm chart {{depName}}",
|
'helm',
|
||||||
"separateMinorPatch": true
|
],
|
||||||
},
|
commitMessageTopic: 'Helm chart {{depName}}',
|
||||||
// Custom version schemes
|
separateMinorPatch: true,
|
||||||
{
|
|
||||||
"matchDatasources": ["github-tags"],
|
|
||||||
"matchPackageNames": ["potiuk/get-workflow-origin"],
|
|
||||||
"versioning": "regex:^v(?<major>\\d+)_(?<minor>\\d+)(_(?<patch>\\d+))?$"
|
|
||||||
},
|
|
||||||
///
|
|
||||||
/// Automatically update minor/patch Github Actions
|
|
||||||
///
|
|
||||||
{
|
|
||||||
"matchManagers": ["github-actions"],
|
|
||||||
"automerge": true,
|
|
||||||
"automergeType": "branch",
|
|
||||||
"matchUpdateTypes": ["minor", "patch"]
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"matchManagers": ["github-actions"],
|
matchDatasources: [
|
||||||
"automerge": true,
|
'github-tags',
|
||||||
"automergeType": "branch",
|
],
|
||||||
"matchUpdateTypes": ["digest"],
|
matchPackageNames: [
|
||||||
"schedule": [
|
'potiuk/get-workflow-origin',
|
||||||
"every 1 months on the first day of the month"
|
],
|
||||||
]
|
versioning: 'regex:^v(?<major>\\d+)_(?<minor>\\d+)(_(?<patch>\\d+))?$',
|
||||||
},
|
|
||||||
//
|
|
||||||
// Common library dep
|
|
||||||
//
|
|
||||||
{
|
|
||||||
"matchDatasources": ["helm"],
|
|
||||||
"commitMessagePrefix": "[{{{parentDir}}}]",
|
|
||||||
"branchTopic": "{{{parentDir}}}-{{{depNameSanitized}}}-{{{newMajor}}}{{#if isPatch}}.{{{newMinor}}}{{/if}}.x{{#if isLockfileUpdate}}-lockfile{{/if}}",
|
|
||||||
"updateTypes": ["major"],
|
|
||||||
"bumpVersion": "major",
|
|
||||||
"labels": ["type/major"],
|
|
||||||
"packageNames": ["common"],
|
|
||||||
"groupName": ["common library major"]
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"matchDatasources": ["helm"],
|
matchManagers: [
|
||||||
"updateTypes": ["minor"],
|
'github-actions',
|
||||||
"bumpVersion": "minor",
|
],
|
||||||
"labels": ["type/minor"],
|
automerge: true,
|
||||||
"packageNames": ["common"],
|
automergeType: 'branch',
|
||||||
"groupName": ["common library minor"]
|
matchUpdateTypes: [
|
||||||
|
'minor',
|
||||||
|
'patch',
|
||||||
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"matchDatasources": ["helm"],
|
matchManagers: [
|
||||||
"updateTypes": ["patch"],
|
'github-actions',
|
||||||
"bumpVersion": "patch",
|
],
|
||||||
"labels": ["type/patch"],
|
automerge: true,
|
||||||
"packageNames": ["common"],
|
automergeType: 'branch',
|
||||||
"groupName": ["common library patch"]
|
matchUpdateTypes: [
|
||||||
},
|
'digest',
|
||||||
//
|
],
|
||||||
// Other external chart deps
|
schedule: [
|
||||||
//
|
'every 1 months on the first day of the month',
|
||||||
{
|
],
|
||||||
"matchDatasources": ["helm"],
|
|
||||||
"commitMessagePrefix": "[{{{parentDir}}}]",
|
|
||||||
"branchTopic": "{{{parentDir}}}-{{{depNameSanitized}}}-{{{newMajor}}}{{#if isPatch}}.{{{newMinor}}}{{/if}}.x{{#if isLockfileUpdate}}-lockfile{{/if}}",
|
|
||||||
"updateTypes": ["major"],
|
|
||||||
"bumpVersion": "major",
|
|
||||||
"labels": ["type/major"],
|
|
||||||
"excludePackageNames": ["common"],
|
|
||||||
"schedule": [
|
|
||||||
"every 3 months on the first day of the month"
|
|
||||||
]
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"matchDatasources": ["helm"],
|
matchDatasources: [
|
||||||
"updateTypes": ["minor"],
|
'helm',
|
||||||
"bumpVersion": "minor",
|
],
|
||||||
"labels": ["type/minor"],
|
commitMessagePrefix: '[{{{parentDir}}}]',
|
||||||
"excludePackageNames": ["common"],
|
branchTopic: '{{{parentDir}}}-{{{depNameSanitized}}}-{{{newMajor}}}{{#if isPatch}}.{{{newMinor}}}{{/if}}.x{{#if isLockfileUpdate}}-lockfile{{/if}}',
|
||||||
"groupName": ["external dependency minor"],
|
matchUpdateTypes: [
|
||||||
"schedule": [
|
'major',
|
||||||
"every 2 months on the first day of the month"
|
],
|
||||||
]
|
bumpVersion: 'major',
|
||||||
|
labels: [
|
||||||
|
'type/major',
|
||||||
|
],
|
||||||
|
matchPackageNames: [
|
||||||
|
'common',
|
||||||
|
],
|
||||||
|
groupName: 'common library major',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"matchDatasources": ["helm"],
|
matchDatasources: [
|
||||||
"updateTypes": ["patch"],
|
'helm',
|
||||||
"bumpVersion": "patch",
|
],
|
||||||
"labels": ["type/patch"],
|
matchUpdateTypes: [
|
||||||
"excludePackageNames": ["common"],
|
'minor',
|
||||||
"groupName": ["external dependency patch"],
|
],
|
||||||
"schedule": [
|
bumpVersion: 'minor',
|
||||||
"every 1 months on the first day of the month"
|
labels: [
|
||||||
]
|
'type/minor',
|
||||||
}
|
],
|
||||||
]
|
matchPackageNames: [
|
||||||
|
'common',
|
||||||
|
],
|
||||||
|
groupName: 'common library minor',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
matchDatasources: [
|
||||||
|
'helm',
|
||||||
|
],
|
||||||
|
matchUpdateTypes: [
|
||||||
|
'patch',
|
||||||
|
],
|
||||||
|
bumpVersion: 'patch',
|
||||||
|
labels: [
|
||||||
|
'type/patch',
|
||||||
|
],
|
||||||
|
matchPackageNames: [
|
||||||
|
'common',
|
||||||
|
],
|
||||||
|
groupName: 'common library patch',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
matchDatasources: [
|
||||||
|
'helm',
|
||||||
|
],
|
||||||
|
commitMessagePrefix: '[{{{parentDir}}}]',
|
||||||
|
branchTopic: '{{{parentDir}}}-{{{depNameSanitized}}}-{{{newMajor}}}{{#if isPatch}}.{{{newMinor}}}{{/if}}.x{{#if isLockfileUpdate}}-lockfile{{/if}}',
|
||||||
|
matchUpdateTypes: [
|
||||||
|
'major',
|
||||||
|
],
|
||||||
|
bumpVersion: 'major',
|
||||||
|
labels: [
|
||||||
|
'type/major',
|
||||||
|
],
|
||||||
|
schedule: [
|
||||||
|
'every 3 months on the first day of the month',
|
||||||
|
],
|
||||||
|
matchPackageNames: [
|
||||||
|
'!common',
|
||||||
|
],
|
||||||
|
},
|
||||||
|
{
|
||||||
|
matchDatasources: [
|
||||||
|
'helm',
|
||||||
|
],
|
||||||
|
matchUpdateTypes: [
|
||||||
|
'minor',
|
||||||
|
],
|
||||||
|
bumpVersion: 'minor',
|
||||||
|
labels: [
|
||||||
|
'type/minor',
|
||||||
|
],
|
||||||
|
groupName: 'external dependency minor',
|
||||||
|
schedule: [
|
||||||
|
'every 2 months on the first day of the month',
|
||||||
|
],
|
||||||
|
matchPackageNames: [
|
||||||
|
'!common',
|
||||||
|
],
|
||||||
|
},
|
||||||
|
{
|
||||||
|
matchDatasources: [
|
||||||
|
'helm',
|
||||||
|
],
|
||||||
|
matchUpdateTypes: [
|
||||||
|
'patch',
|
||||||
|
],
|
||||||
|
bumpVersion: 'patch',
|
||||||
|
labels: [
|
||||||
|
'type/patch',
|
||||||
|
],
|
||||||
|
groupName: 'external dependency patch',
|
||||||
|
schedule: [
|
||||||
|
'every 1 months on the first day of the month',
|
||||||
|
],
|
||||||
|
matchPackageNames: [
|
||||||
|
'!common',
|
||||||
|
],
|
||||||
|
},
|
||||||
|
],
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user