constellation/renovate.json
Paul Meyer 8628b8f880 deps: bundle libvirt dependencies
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
2022-11-17 18:10:20 +01:00

178 lines
5.1 KiB
JSON

{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:base",
":preserveSemverRanges",
"helpers:pinGitHubActionDigests",
":separateMajorReleases"
],
"addLabels": [
"dependencies"
],
"postUpdateOptions": [
"gomodTidy",
"gomodUpdateImportPaths"
],
"prConcurrentLimit": 4,
"ignorePaths": [
"cli/internal/helm/charts/cilium/**"
],
"ignoreDeps": [
"github.com/edgelesssys/constellation/v2"
],
"packageRules": [
{
"matchPackagePatterns": [
"^k8s.io",
"^sigs.k8s.io"
],
"groupName": "K8s dependencies"
},
{
"matchPackagePatterns": [
"^go.etcd.io/etcd"
],
"groupName": "etcd dependencies"
},
{
"matchPackagePatterns": [
"^github.com/aws/aws-sdk-go-v2"
],
"groupName": "AWS SDK"
},
{
"matchPackagePatterns": [
"^github.com/Azure/",
"^github.com/AzureAD/microsoft-authentication-library-for-go"
],
"groupName": "Azure SDK"
},
{
"matchPackagePatterns": [
"^cloud.google.com/go"
],
"groupName": "Google SDK"
},
{
"matchPackagePatterns": [
"^libvirt.org/go"
],
"groupName": "libvirt.org/go"
},
{
"matchDatasources": [
"golang-version"
],
"allowedVersions": "1.19"
},
{
"matchManagers": [
"pip_requirements"
],
"groupName": "Python dependencies"
},
{
"matchManagers": [
"github-actions"
],
"groupName": "GitHub action dependencies",
"matchUpdateTypes": [
"minor",
"patch",
"pin",
"pinDigest",
"digest",
"lockFileMaintenance",
"rollback",
"bump"
]
},
{
"matchPackageNames": [
"kubernetes/kubernetes",
"registry.k8s.io/provider-aws/cloud-controller-manager",
"mcr.microsoft.com/oss/kubernetes/azure-cloud-controller-manager",
"mcr.microsoft.com/oss/kubernetes/azure-cloud-node-manager",
"k8s.gcr.io/autoscaling/cluster-autoscaler"
],
"versioning": "regex:^(?<compatibility>v?\\d+\\.\\d+\\.)(?<patch>\\d+)$",
"groupName": "K8s constrained versions"
},
{
"matchPackageNames": [
"ghcr.io/edgelesssys/cloud-provider-gcp"
],
"versioning": "regex:^(?<compatibility>v\\d+\\.)(?<minor>\\d+)\\.(?<patch>\\d+)$",
"groupName": "K8s version constrained containers (missing v1 prefix)"
},
{
"matchPackagePrefixes": [
"ghcr.io/edgelesssys/constellation/"
],
"versioning": "regex:^v(?<major>\\d+)\\.(?<minor>\\d+)\\.(?<patch>\\d+)(-(?<build>.*))?$",
"groupName": "Constellation containers"
},
{
"matchPackageNames": [
"us.gcr.io/k8s-artifacts-prod/kas-network-proxy/proxy-agent",
"registry.k8s.io/kas-network-proxy/proxy-server"
],
"versioning": "semver",
"groupName": "K8s version independent containers"
}
],
"regexManagers": [
{
"fileMatch": [
"(^|\\/)versions.go$"
],
"matchStrings": [
" \"(?<depName>[^\"]*?):(?<currentValue>[^\"]*?)@(?<currentDigest>sha256:[a-f0-9]+)\"[^\\n]+\\/\\/ renovate:container"
],
"datasourceTemplate": "docker"
},
{
"fileMatch": [
"(^|\\/)versions.go$"
],
"matchStrings": [
" \"https:\\/\\/storage\\.googleapis\\.com\\/kubernetes-release\\/release\\/(?<currentValue>[^\\/\\s\"]+)\\/[^\"]+\"[^\\n]+\\/\\/ renovate:kubernetes-release",
" \"(?<currentValue>v\\d+\\.\\d+\\.\\d+)\"[^\\n]+\\/\\/ renovate:kubernetes-release"
],
"depNameTemplate": "kubernetes/kubernetes",
"datasourceTemplate": "github-releases"
},
{
"fileMatch": [
"(^|\\/)versions.go$"
],
"matchStrings": [
" \"https:\\/\\/github\\.com\\/(?<depName>[^\\/\\s\"]+\\/[^\\/\\s\"]+)\\/releases\\/download\\/(?<currentValue>[^\\/\\s\"]+)\\/[^\"]+\"[^\\n]+\\/\\/ renovate:github-release"
],
"datasourceTemplate": "github-releases"
},
{
"fileMatch": [
"(^|\\/)versions.go$"
],
"matchStrings": [
" \"https:\\/\\/github\\.com\\/kubernetes-sigs\\/cri-tools\\/releases\\/download\\/(?<currentValue>[^\\/\\s\"]+)\\/[^\"]+\""
],
"depNameTemplate": "kubernetes-sigs/cri-tools",
"datasourceTemplate": "github-releases",
"autoReplaceStringTemplate": " \"https://github.com/kubernetes-sigs/cri-tools/releases/download/{{{newValue}}}/crictl-{{{newValue}}}-linux-amd64.tar.gz\""
},
{
"fileMatch": [
"(^|\\/)versions.go$"
],
"matchStrings": [
" \"https:\\/\\/github\\.com\\/containernetworking\\/plugins\\/releases\\/download\\/(?<currentValue>[^\\/\\s\"]+)\\/[^\"]+\""
],
"depNameTemplate": "containernetworking/plugins",
"datasourceTemplate": "github-releases",
"autoReplaceStringTemplate": " \"https://github.com/containernetworking/plugins/releases/download/{{{newValue}}}/cni-plugins-linux-amd64-{{{newValue}}}.tgz\""
}
]
}