mirror of
https://gitlab.opencode.de/bmi/opendesk/deployment/opendesk.git
synced 2025-12-07 07:51:38 +01:00
fix(ci): Add renovate config.yaml
This commit is contained in:
82
.renovate/config.yaml
Normal file
82
.renovate/config.yaml
Normal file
@@ -0,0 +1,82 @@
|
||||
# SPDX-FileCopyrightText: 2024 Bundesministerium des Innern und für Heimat, PG ZenDiS "Projektgruppe für Aufbau ZenDiS"
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
---
|
||||
# Platform type of repository
|
||||
platform: "gitlab"
|
||||
|
||||
# Enable oboarding merge request
|
||||
onboarding: false
|
||||
|
||||
# If set to true: keep repository data between runs instead of deleting the data
|
||||
persistRepoData: true
|
||||
|
||||
# Controls Renovate's behavior regarding repository config files such as renovate.json
|
||||
requireConfig: "ignored"
|
||||
|
||||
# List of Repositories
|
||||
# See: https://docs.renovatebot.com/configuration-options/
|
||||
repositories:
|
||||
- repository: ""
|
||||
# Prefix to use for all branch names created by renovate bot (default: "renovate/")
|
||||
branchPrefix: "renovate/"
|
||||
# Lowercase merge request and commit titles ("never" = leave titles untouched )
|
||||
commitMessageLowerCase: "never"
|
||||
# Commit scope to use if Semantic Commits are enabled (fix(<scope>)...)
|
||||
semanticCommitScope: "ci"
|
||||
# Commit type to use if Semantic Commits are enabled (default: "chore")
|
||||
semanticCommitType: "chore"
|
||||
# Include package files only within these defined paths
|
||||
includePaths:
|
||||
- "helmfile/environments/default/images.yaml"
|
||||
- "helmfile/apps/**"
|
||||
customManagers:
|
||||
- customType: "regex"
|
||||
fileMatch:
|
||||
- "helmfile/environments/default/images.yaml"
|
||||
datasourceTemplate: "docker"
|
||||
matchStrings:
|
||||
# yamllint disable rule:quoted-strings
|
||||
- '#\srenovate:\s[\s\S]*?registryUrl\=(?<registryUrl>.*?)\s[\s\S]*?dependencyType\=(?<depType>.*?)\s[\s\S]*?repository:\s\"(?<depName>.*?)\"\s[\s\S]*?tag:\s\"(?<currentValue>.*?)(?:(?:@|\\\s*@)(?<currentDigest>sha256:[a-f0-9]+)|\")'
|
||||
# yamllint enable rule:quoted-strings
|
||||
- customType: "regex"
|
||||
fileMatch:
|
||||
- "^helmfile\/apps"
|
||||
- "helmfile/environments/default/charts.yaml"
|
||||
matchStrings:
|
||||
# yamllint disable rule:quoted-strings
|
||||
- '\#\srenovate:\s[\s\S]*?registryUrl\=(?<registryUrl>.*?)\s[\s\S]*?packageName\=(?<packageName>.*?)\s[\s\S]*?dataSource\=(?<datasource>.*?)\s[\s\S]*?dependencyType\=(?<depType>.*?)\s[\s\S]*?name:\s\"(?<depName>.*?)\"\s[\s\S]*?version\:\s\"(?<currentValue>.*?)\"'
|
||||
# yamllint enable rule:quoted-strings
|
||||
# Rules for matching packages
|
||||
packageRules:
|
||||
- matchDatasources: "docker"
|
||||
matchDepTypes:
|
||||
- "external"
|
||||
groupName: "external-dependencies"
|
||||
- matchDatasources: "docker"
|
||||
matchDepTypes:
|
||||
- "supplier"
|
||||
groupName: "supplier-dependencies"
|
||||
- matchDatasources: "docker"
|
||||
matchDepTypes:
|
||||
- "platform"
|
||||
groupName: "platform-dependencies"
|
||||
- matchDatasources: "helm"
|
||||
matchDepTypes:
|
||||
- "external"
|
||||
groupName: "external-dependencies"
|
||||
- matchDatasources: "helm"
|
||||
matchDepTypes:
|
||||
- "supplier"
|
||||
groupName: "supplier-dependencies"
|
||||
- matchDatasources: "helm"
|
||||
matchDepTypes:
|
||||
- "platform"
|
||||
groupName: "platform-dependencies"
|
||||
# Add merge request labels
|
||||
labels:
|
||||
- "renovate"
|
||||
- "dependencies"
|
||||
# Enable custom regex manager only
|
||||
enabledManagers:
|
||||
- "custom.regex"
|
||||
...
|
||||
Reference in New Issue
Block a user