e19723a3fb
- Add Gitea releases for `appVersion` - Rewrite Helm changelog url to retrieve release notes Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/689 Reviewed-by: pat-s <pat-s@noreply.gitea.com> Co-authored-by: justusbunsi <sk.bunsenbrenner@gmail.com> Co-committed-by: justusbunsi <sk.bunsenbrenner@gmail.com>
76 lines
2.2 KiB
Plaintext
76 lines
2.2 KiB
Plaintext
{
|
|
$schema: 'https://docs.renovatebot.com/renovate-schema.json',
|
|
extends: [
|
|
'gitea>gitea/renovate-config',
|
|
':automergeMinor',
|
|
'schedule:automergeDaily',
|
|
'schedule:weekends',
|
|
],
|
|
labels: [
|
|
'kind/dependency',
|
|
],
|
|
automergeStrategy: 'squash',
|
|
customManagers: [
|
|
{
|
|
description: 'Gitea-version of https://docs.renovatebot.com/presets-regexManagers/#regexmanagersgithubactionsversions',
|
|
customType: 'regex',
|
|
fileMatch: [
|
|
'.gitea/workflows/.+\\.ya?ml$',
|
|
],
|
|
matchStrings: [
|
|
'# renovate: datasource=(?<datasource>[a-z-.]+?) depName=(?<depName>[^\\s]+?)(?: (?:lookupName|packageName)=(?<packageName>[^\\s]+?))?(?: versioning=(?<versioning>[a-z-0-9]+?))?\\s+[A-Za-z0-9_]+?_VERSION\\s*:\\s*["\']?(?<currentValue>.+?)["\']?\\s',
|
|
],
|
|
},
|
|
{
|
|
description: 'Detect helm-unittest yaml schema file',
|
|
customType: 'regex',
|
|
fileMatch: ['.vscode/settings\\.json$'],
|
|
matchStrings: [
|
|
'https:\\/\\/raw\\.githubusercontent\\.com\\/(?<depName>[^\\s]+?)\\/(?<currentValue>v[0-9.]+?)\\/schema\\/helm-testsuite\\.json',
|
|
],
|
|
datasourceTemplate: 'github-releases',
|
|
},
|
|
{
|
|
'description': 'Automatically detect new Gitea releases',
|
|
'customType': 'regex',
|
|
'fileMatch': ['(^|/)Chart\\.yaml$'],
|
|
'matchStrings': [
|
|
'# renovate datasource=(?<datasource>\\S+) depName=(?<depName>\\S+) extractVersion=(?<extractVersion>\\S+)\\nappVersion:\\s?(?<currentValue>\\S+)\\n',
|
|
],
|
|
},
|
|
],
|
|
packageRules: [
|
|
{
|
|
groupName: 'subcharts (minor & patch)',
|
|
matchManagers: [
|
|
'helmv3',
|
|
],
|
|
matchUpdateTypes: [
|
|
'minor',
|
|
'patch',
|
|
'digest',
|
|
],
|
|
},
|
|
{
|
|
groupName: 'workflow dependencies (minor & patch)',
|
|
matchManagers: [
|
|
'github-actions',
|
|
'npm',
|
|
'custom.regex',
|
|
],
|
|
matchUpdateTypes: [
|
|
'minor',
|
|
'patch',
|
|
'digest',
|
|
],
|
|
},
|
|
{
|
|
description: 'Override changelog url for Helm image, to have release notes in our PRs',
|
|
matchDepNames: [
|
|
'alpine/helm',
|
|
],
|
|
changelogUrl: 'https://github.com/helm/helm',
|
|
},
|
|
],
|
|
}
|