2022-10-13 08:41:55 -04:00
|
|
|
{
|
|
|
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
|
|
|
"extends": [
|
2023-08-10 04:49:28 -04:00
|
|
|
"config:recommended",
|
2022-10-13 08:41:55 -04:00
|
|
|
":preserveSemverRanges",
|
|
|
|
"helpers:pinGitHubActionDigests",
|
2022-12-19 07:37:57 -05:00
|
|
|
":separateMajorReleases",
|
2023-08-10 04:49:28 -04:00
|
|
|
":semanticCommitsDisabled",
|
2022-10-13 08:41:55 -04:00
|
|
|
],
|
2023-01-19 04:00:05 -05:00
|
|
|
"commitMessagePrefix": "deps:",
|
|
|
|
"commitMessageAction": "update",
|
2023-08-10 04:49:28 -04:00
|
|
|
"addLabels": ["dependencies"],
|
|
|
|
"postUpdateOptions": ["gomodTidy", "gomodUpdateImportPaths"],
|
2022-10-20 02:14:05 -04:00
|
|
|
"prConcurrentLimit": 4,
|
2022-10-13 08:41:55 -04:00
|
|
|
"ignorePaths": [
|
2023-01-16 09:57:08 -05:00
|
|
|
"cli/internal/helm/charts/cilium/**",
|
2023-07-07 08:39:57 -04:00
|
|
|
"cli/internal/helm/charts/edgeless/csi/charts/aws-csi-driver/**",
|
|
|
|
"cli/internal/helm/charts/edgeless/csi/charts/azuredisk-csi-driver/**",
|
|
|
|
"cli/internal/helm/charts/edgeless/csi/charts/gcp-compute-persistent-disk-csi-driver/**",
|
|
|
|
"cli/internal/helm/charts/edgeless/csi/charts/openstack-cinder-csi/**",
|
2023-08-10 04:49:28 -04:00
|
|
|
"operators/constellation-node-operator/config/manager/kustomization.yaml",
|
2022-10-19 05:46:38 -04:00
|
|
|
],
|
2023-08-10 04:49:28 -04:00
|
|
|
"ignoreDeps": ["github.com/edgelesssys/constellation/v2"],
|
2023-10-11 05:53:52 -04:00
|
|
|
// Rules for changing renovates behaviour for different packages.
|
|
|
|
// The documentation for configuration options can be found here:
|
|
|
|
// https://docs.renovatebot.com/configuration-options/
|
2022-10-13 08:41:55 -04:00
|
|
|
"packageRules": [
|
2023-02-20 11:48:46 -05:00
|
|
|
{
|
2023-08-10 04:49:28 -04:00
|
|
|
"matchManagers": ["gomod"],
|
|
|
|
"matchDepTypes": ["indirect"],
|
2023-03-08 05:50:20 -05:00
|
|
|
"matchUpdateTypes": [
|
|
|
|
"minor",
|
|
|
|
"patch",
|
|
|
|
"pin",
|
|
|
|
"pinDigest",
|
|
|
|
"digest",
|
|
|
|
"lockFileMaintenance",
|
|
|
|
"rollback",
|
2023-08-10 04:49:28 -04:00
|
|
|
"bump",
|
2023-03-08 05:50:20 -05:00
|
|
|
],
|
2023-02-20 11:48:46 -05:00
|
|
|
"enabled": true,
|
2023-08-10 04:49:28 -04:00
|
|
|
"prPriority": -30,
|
2023-02-20 11:48:46 -05:00
|
|
|
},
|
2022-10-13 08:41:55 -04:00
|
|
|
{
|
2023-08-10 04:49:28 -04:00
|
|
|
"matchPackagePatterns": ["^k8s.io", "^sigs.k8s.io"],
|
|
|
|
"groupName": "K8s dependencies",
|
2022-10-13 08:41:55 -04:00
|
|
|
},
|
2022-10-17 09:48:14 -04:00
|
|
|
{
|
2023-08-10 04:49:28 -04:00
|
|
|
"matchPackagePatterns": ["^go.etcd.io/etcd"],
|
|
|
|
"groupName": "etcd dependencies",
|
2022-10-17 09:48:14 -04:00
|
|
|
},
|
2023-02-13 11:30:46 -05:00
|
|
|
{
|
2023-08-10 04:49:28 -04:00
|
|
|
"matchPackagePatterns": ["^github.com/hashicorp/go-kms-wrapping"],
|
|
|
|
"groupName": "github.com/hashicorp/go-kms-wrapping",
|
2023-02-13 11:30:46 -05:00
|
|
|
},
|
2022-10-27 02:33:10 -04:00
|
|
|
{
|
2023-08-10 04:49:28 -04:00
|
|
|
"matchPackagePatterns": ["^github.com/aws/aws-sdk-go-v2"],
|
2022-11-21 06:37:11 -05:00
|
|
|
"groupName": "AWS SDK",
|
2023-08-10 04:49:28 -04:00
|
|
|
"prPriority": -10,
|
2022-10-27 02:33:10 -04:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"matchPackagePatterns": [
|
|
|
|
"^github.com/Azure/",
|
2023-08-10 04:49:28 -04:00
|
|
|
"^github.com/AzureAD/microsoft-authentication-library-for-go",
|
2022-10-27 02:33:10 -04:00
|
|
|
],
|
2023-08-10 04:49:28 -04:00
|
|
|
"groupName": "Azure SDK",
|
2022-10-27 02:33:10 -04:00
|
|
|
},
|
2022-10-18 10:22:24 -04:00
|
|
|
{
|
2023-08-10 04:49:28 -04:00
|
|
|
"matchPackagePatterns": ["^cloud.google.com/go"],
|
|
|
|
"groupName": "Google SDK",
|
2022-10-18 10:22:24 -04:00
|
|
|
},
|
2022-11-21 06:37:11 -05:00
|
|
|
{
|
2023-08-10 04:49:28 -04:00
|
|
|
"matchPackagePatterns": ["^google.golang.org/genproto"],
|
|
|
|
"prPriority": -10,
|
2022-11-21 06:37:11 -05:00
|
|
|
},
|
2022-11-17 11:47:27 -05:00
|
|
|
{
|
2023-08-10 04:49:28 -04:00
|
|
|
"matchPackagePatterns": ["^libvirt.org/go"],
|
|
|
|
"groupName": "libvirt.org/go",
|
2022-11-17 11:47:27 -05:00
|
|
|
},
|
2022-10-13 08:41:55 -04:00
|
|
|
{
|
2023-08-10 04:49:28 -04:00
|
|
|
"matchManagers": ["bazelisk", "bazel", "bazel-module"],
|
|
|
|
"matchPackageNames": ["bazel", "io_bazel_rules_go", "bazel_gazelle"],
|
|
|
|
"groupName": "bazel (core)",
|
2022-10-14 06:04:03 -04:00
|
|
|
},
|
2022-10-28 05:00:24 -04:00
|
|
|
{
|
2023-08-10 04:49:28 -04:00
|
|
|
"matchDatasources": ["golang-version"],
|
|
|
|
"allowedVersions": "1.19",
|
2022-10-28 05:00:24 -04:00
|
|
|
},
|
2022-10-14 06:04:03 -04:00
|
|
|
{
|
2023-08-10 04:49:28 -04:00
|
|
|
"matchManagers": ["pip_requirements"],
|
|
|
|
"groupName": "Python dependencies",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"matchManagers": ["github-actions"],
|
2022-11-10 02:20:53 -05:00
|
|
|
"groupName": "GitHub action dependencies",
|
|
|
|
"matchUpdateTypes": [
|
|
|
|
"minor",
|
|
|
|
"patch",
|
|
|
|
"pin",
|
|
|
|
"pinDigest",
|
|
|
|
"digest",
|
|
|
|
"lockFileMaintenance",
|
|
|
|
"rollback",
|
2023-08-10 04:49:28 -04:00
|
|
|
"bump",
|
|
|
|
],
|
2022-10-28 09:01:58 -04:00
|
|
|
},
|
|
|
|
{
|
2023-08-10 04:49:28 -04:00
|
|
|
"matchPackageNames": ["kubernetes/kubernetes"],
|
2023-10-11 05:53:52 -04:00
|
|
|
// example match: v1.2.3 (1.2 -> compatibility, 3 -> patch)
|
2023-01-05 03:28:33 -05:00
|
|
|
"versioning": "regex:^(?<compatibility>v?\\d+\\.\\d+\\.)(?<patch>\\d+)$",
|
|
|
|
"groupName": "Kubernetes versions",
|
2023-08-10 04:49:28 -04:00
|
|
|
"prPriority": 15,
|
2023-01-05 03:28:33 -05:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"matchPackageNames": [
|
2023-08-10 04:49:28 -04:00
|
|
|
"registry.k8s.io/provider-aws/cloud-controller-manager",
|
2023-01-05 03:28:33 -05:00
|
|
|
],
|
2023-10-11 05:53:52 -04:00
|
|
|
// example match: v1.2.3 (1.2 -> compatibility, 3 -> patch)
|
2023-01-05 03:28:33 -05:00
|
|
|
"versioning": "regex:^(?<compatibility>v?\\d+\\.\\d+\\.)(?<patch>\\d+)$",
|
|
|
|
"groupName": "K8s constrained AWS versions",
|
2023-08-10 04:49:28 -04:00
|
|
|
"prPriority": 15,
|
2023-01-05 03:28:33 -05:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"matchPackageNames": [
|
2022-10-28 09:01:58 -04:00
|
|
|
"mcr.microsoft.com/oss/kubernetes/azure-cloud-controller-manager",
|
2023-08-10 04:49:28 -04:00
|
|
|
"mcr.microsoft.com/oss/kubernetes/azure-cloud-node-manager",
|
2023-01-05 03:28:33 -05:00
|
|
|
],
|
2023-10-11 05:53:52 -04:00
|
|
|
// example match: v1.2.3 (1.2 -> compatibility, 3 -> patch)
|
2023-01-05 03:28:33 -05:00
|
|
|
"versioning": "regex:^(?<compatibility>v?\\d+\\.\\d+\\.)(?<patch>\\d+)$",
|
|
|
|
"groupName": "K8s constrained Azure versions",
|
2023-08-10 04:49:28 -04:00
|
|
|
"prPriority": 15,
|
2023-01-05 03:28:33 -05:00
|
|
|
},
|
2023-03-17 04:44:30 -04:00
|
|
|
{
|
|
|
|
"matchPackageNames": [
|
2023-08-10 04:49:28 -04:00
|
|
|
"docker.io/k8scloudprovider/openstack-cloud-controller-manager",
|
2023-03-17 04:44:30 -04:00
|
|
|
],
|
2023-10-11 05:53:52 -04:00
|
|
|
// example match: v1.2.3 (1.2 -> compatibility, 3 -> patch)
|
2023-03-17 04:44:30 -04:00
|
|
|
"versioning": "regex:^(?<compatibility>v?\\d+\\.\\d+\\.)(?<patch>\\d+)$",
|
|
|
|
"groupName": "K8s constrained OpenStack versions",
|
2023-08-10 04:49:28 -04:00
|
|
|
"prPriority": 15,
|
2023-03-17 04:44:30 -04:00
|
|
|
},
|
2023-01-05 03:28:33 -05:00
|
|
|
{
|
2023-08-10 04:49:28 -04:00
|
|
|
"matchPackageNames": ["registry.k8s.io/autoscaling/cluster-autoscaler"],
|
2023-10-11 05:53:52 -04:00
|
|
|
// example match: v1.2.3 (1.2 -> compatibility, 3 -> patch)
|
2022-10-28 09:01:58 -04:00
|
|
|
"versioning": "regex:^(?<compatibility>v?\\d+\\.\\d+\\.)(?<patch>\\d+)$",
|
2023-01-05 03:28:33 -05:00
|
|
|
"groupName": "K8s constrained GCP versions",
|
2023-08-10 04:49:28 -04:00
|
|
|
"prPriority": 15,
|
2022-10-28 09:01:58 -04:00
|
|
|
},
|
|
|
|
{
|
2023-08-10 04:49:28 -04:00
|
|
|
"matchPackageNames": ["ghcr.io/edgelesssys/cloud-provider-gcp"],
|
2023-10-11 05:53:52 -04:00
|
|
|
// example match: v1.2.3 (1. -> compatibility, 2 -> minor, 3 -> patch)
|
2022-10-28 09:01:58 -04:00
|
|
|
"versioning": "regex:^(?<compatibility>v\\d+\\.)(?<minor>\\d+)\\.(?<patch>\\d+)$",
|
2023-03-08 12:41:21 -05:00
|
|
|
"groupName": "cloud-provider-gcp (K8s version constrained)",
|
2023-08-10 04:49:28 -04:00
|
|
|
"prPriority": 15,
|
2022-10-28 09:01:58 -04:00
|
|
|
},
|
|
|
|
{
|
2023-08-10 04:49:28 -04:00
|
|
|
"matchPackagePrefixes": ["ghcr.io/edgelesssys/"],
|
|
|
|
"excludePackageNames": ["ghcr.io/edgelesssys/cloud-provider-gcp"],
|
2022-11-21 05:19:01 -05:00
|
|
|
"versioning": "semver",
|
2023-10-11 05:53:52 -04:00
|
|
|
// Allow packages of ghcr.io/edgelesssys to update to unstable prereleases.
|
|
|
|
// This is necessary because renovate will not update minor versions of
|
|
|
|
// containers that are already tagged as a prerelease in the code
|
|
|
|
// if this is not set.
|
|
|
|
"ignoreUnstable": false,
|
2022-11-21 06:37:11 -05:00
|
|
|
"groupName": "Constellation containers",
|
2023-08-10 04:49:28 -04:00
|
|
|
"prPriority": 20,
|
2022-10-28 09:01:58 -04:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"matchPackageNames": [
|
2023-01-04 11:30:01 -05:00
|
|
|
"registry.k8s.io/kas-network-proxy/proxy-agent",
|
2023-08-10 04:49:28 -04:00
|
|
|
"registry.k8s.io/kas-network-proxy/proxy-server",
|
2022-10-28 09:01:58 -04:00
|
|
|
],
|
|
|
|
"versioning": "semver",
|
2022-11-21 06:37:11 -05:00
|
|
|
"groupName": "K8s version independent containers",
|
2023-08-10 04:49:28 -04:00
|
|
|
"prPriority": 15,
|
2022-11-21 06:37:11 -05:00
|
|
|
},
|
2022-11-24 10:02:09 -05:00
|
|
|
{
|
2023-08-10 04:49:28 -04:00
|
|
|
"matchPackageNames": ["^k8s.io/client-go"],
|
|
|
|
"matchUpdateTypes": ["major"],
|
|
|
|
"enabled": false,
|
2022-11-24 10:02:09 -05:00
|
|
|
},
|
2022-11-21 06:37:11 -05:00
|
|
|
{
|
2023-08-10 04:49:28 -04:00
|
|
|
"matchCategories": ["python", "js", "node"],
|
|
|
|
"prPriority": -20,
|
2022-11-25 10:13:20 -05:00
|
|
|
},
|
|
|
|
{
|
2023-08-10 04:49:28 -04:00
|
|
|
"matchManagers": ["github-actions"],
|
|
|
|
"matchPackageNames": ["slsa-framework/slsa-github-generator"],
|
|
|
|
"pinDigests": false,
|
2023-04-03 05:45:02 -04:00
|
|
|
},
|
|
|
|
{
|
2023-08-10 04:49:28 -04:00
|
|
|
"matchPackagePatterns": ["_(darwin|linux)_(arm64|amd64)$"],
|
2023-04-03 07:37:56 -04:00
|
|
|
"additionalBranchPrefix": "{{packageName}}-",
|
2023-08-10 04:49:28 -04:00
|
|
|
"groupName": "{{packageName}}",
|
|
|
|
},
|
2022-10-28 09:01:58 -04:00
|
|
|
],
|
2023-10-11 05:53:52 -04:00
|
|
|
// Regex Managers allow detection of other versions in files that renovate
|
|
|
|
// cannot parse by default. For more information, look at
|
|
|
|
// https://docs.renovatebot.com/modules/manager/regex/ .
|
2022-10-28 09:01:58 -04:00
|
|
|
"regexManagers": [
|
|
|
|
{
|
2023-08-10 04:49:28 -04:00
|
|
|
"fileMatch": ["(^|\\/)versions.go$"],
|
2022-10-28 09:01:58 -04:00
|
|
|
"matchStrings": [
|
2023-10-11 05:53:52 -04:00
|
|
|
// Match all container packages.
|
|
|
|
// example match:' "registry.io/owner/foo/bar:v1.2.3@sha256:somehash" // renovate:container'
|
|
|
|
// (registry.io/owner/foo/bar -> depName, v1.2.3 -> currentValue, sha256:somehash -> currentDigest)
|
2023-08-10 04:49:28 -04:00
|
|
|
" \"(?<depName>[^\"]*?):(?<currentValue>[^\"]*?)@(?<currentDigest>sha256:[a-f0-9]+)\"[^\\n]+\\/\\/ renovate:container",
|
2022-10-28 09:01:58 -04:00
|
|
|
],
|
2023-08-10 04:49:28 -04:00
|
|
|
"datasourceTemplate": "docker",
|
2022-10-28 09:01:58 -04:00
|
|
|
},
|
|
|
|
{
|
2023-08-10 04:49:28 -04:00
|
|
|
"fileMatch": ["(^|\\/)versions.go$"],
|
2022-10-28 09:01:58 -04:00
|
|
|
"matchStrings": [
|
2023-10-11 05:53:52 -04:00
|
|
|
// Match kubernetes releases.
|
|
|
|
// example match:' "https://storage.googleapis.com/kubernetes-release/release/v1.2.3/foo" // renovate:kubernetes-release'
|
|
|
|
// (v1.2.3 -> currentValue)
|
2022-10-28 09:01:58 -04:00
|
|
|
" \"https:\\/\\/storage\\.googleapis\\.com\\/kubernetes-release\\/release\\/(?<currentValue>[^\\/\\s\"]+)\\/[^\"]+\"[^\\n]+\\/\\/ renovate:kubernetes-release",
|
2023-10-11 05:53:52 -04:00
|
|
|
// Match kubernetes releases.
|
|
|
|
// example match:' " "v1.2.3" // renovate:kubernetes-release"'
|
|
|
|
// (v1.2.3 -> currentValue)
|
2023-08-10 04:49:28 -04:00
|
|
|
" \"(?<currentValue>v\\d+\\.\\d+\\.\\d+)\"[^\\n]+\\/\\/ renovate:kubernetes-release",
|
2022-10-28 09:01:58 -04:00
|
|
|
],
|
|
|
|
"depNameTemplate": "kubernetes/kubernetes",
|
2023-08-10 04:49:28 -04:00
|
|
|
"datasourceTemplate": "github-releases",
|
2022-10-28 09:01:58 -04:00
|
|
|
},
|
|
|
|
{
|
2023-08-10 04:49:28 -04:00
|
|
|
"fileMatch": ["(^|\\/)versions.go$"],
|
2022-10-28 09:01:58 -04:00
|
|
|
"matchStrings": [
|
2023-10-11 05:53:52 -04:00
|
|
|
// Match github releases.
|
|
|
|
// example match:' "https://github.com/foo/bar/releases/download/v1.2.3/foo.bin" // renovate:github-release'
|
|
|
|
// (foo/bar -> depName, v1.2.3 -> currentValue)
|
2023-08-10 04:49:28 -04:00
|
|
|
" \"https:\\/\\/github\\.com\\/(?<depName>[^\\/\\s\"]+\\/[^\\/\\s\"]+)\\/releases\\/download\\/(?<currentValue>[^\\/\\s\"]+)\\/[^\"]+\"[^\\n]+\\/\\/ renovate:github-release",
|
2022-10-28 09:01:58 -04:00
|
|
|
],
|
2023-08-10 04:49:28 -04:00
|
|
|
"datasourceTemplate": "github-releases",
|
2022-10-28 09:01:58 -04:00
|
|
|
},
|
|
|
|
{
|
2023-08-10 04:49:28 -04:00
|
|
|
"fileMatch": ["(^|\\/)versions.go$"],
|
2022-10-28 09:01:58 -04:00
|
|
|
"matchStrings": [
|
2023-10-11 05:53:52 -04:00
|
|
|
// Match kubernetes cri-tools releases (https://github.com/kubernetes-sigs/cri-tools).
|
|
|
|
// example Match:' "https://github.com/kubernetes-sigs/cri-tools/releases/download/v1.2.3/foo"'
|
|
|
|
// (v1.2.3 -> currentValue)
|
2023-08-10 04:49:28 -04:00
|
|
|
" \"https:\\/\\/github\\.com\\/kubernetes-sigs\\/cri-tools\\/releases\\/download\\/(?<currentValue>[^\\/\\s\"]+)\\/[^\"]+\"",
|
2022-10-28 09:01:58 -04:00
|
|
|
],
|
|
|
|
"depNameTemplate": "kubernetes-sigs/cri-tools",
|
|
|
|
"datasourceTemplate": "github-releases",
|
2023-08-10 04:49:28 -04:00
|
|
|
"autoReplaceStringTemplate": " \"https://github.com/kubernetes-sigs/cri-tools/releases/download/{{{newValue}}}/crictl-{{{newValue}}}-linux-amd64.tar.gz\"",
|
2022-10-28 09:01:58 -04:00
|
|
|
},
|
|
|
|
{
|
2023-08-10 04:49:28 -04:00
|
|
|
"fileMatch": ["versions.go$"],
|
2022-10-28 09:01:58 -04:00
|
|
|
"matchStrings": [
|
2023-10-11 05:53:52 -04:00
|
|
|
// Match containernetworking plugin releases (https://github.com/containernetworking/plugins).
|
|
|
|
// example Match:' "https://github.com/containernetworking/plugins/releases/download/v1.2.3/foo"'
|
|
|
|
// (v1.2.3 -> currentValue)
|
2023-08-10 04:49:28 -04:00
|
|
|
" \"https:\\/\\/github\\.com\\/containernetworking\\/plugins\\/releases\\/download\\/(?<currentValue>[^\\/\\s\"]+)\\/[^\"]+\"",
|
2022-10-28 09:01:58 -04:00
|
|
|
],
|
|
|
|
"depNameTemplate": "containernetworking/plugins",
|
|
|
|
"datasourceTemplate": "github-releases",
|
2023-08-10 04:49:28 -04:00
|
|
|
"autoReplaceStringTemplate": " \"https://github.com/containernetworking/plugins/releases/download/{{{newValue}}}/cni-plugins-linux-amd64-{{{newValue}}}.tgz\"",
|
2023-01-17 10:12:23 -05:00
|
|
|
},
|
|
|
|
{
|
2023-08-10 04:49:28 -04:00
|
|
|
"fileMatch": ["\\.yaml$", "\\.yml$"],
|
2023-01-17 10:12:23 -05:00
|
|
|
"matchStrings": [
|
2023-10-11 05:53:52 -04:00
|
|
|
// Match `go install` commands.
|
|
|
|
// example Match: "go install foo.bar@0000000000000000000000000000000000000000"
|
|
|
|
// (foo.bar -> depName, 0000000000000000000000000000000000000000 -> currentValue)
|
2023-08-10 04:49:28 -04:00
|
|
|
"go install (?<depName>[^@]+?)@(?<currentValue>[0-9a-f]{40})",
|
2023-01-17 10:12:23 -05:00
|
|
|
],
|
2023-08-10 04:49:28 -04:00
|
|
|
"datasourceTemplate": "go",
|
|
|
|
},
|
2023-10-27 05:56:15 -04:00
|
|
|
{
|
|
|
|
"fileMatch": ["(^|\\/)e2e_s3proxy/action.yml$"],
|
|
|
|
"matchStrings": [
|
|
|
|
// Match mint tags (ghcr.io/edgelesssys/mint).
|
|
|
|
// example Match:' "ghcr.io/edgelesssys/mint:v1.2.3"'
|
|
|
|
// (ghcr.io/edgelesssys/mint -> depName, v1.2.3 -> currentValue)
|
|
|
|
"IMAGE: \"(?<depName>[^\"]*?):(?<currentValue>[^\"]*?)@(?<currentDigest>sha256:[a-f0-9]+)\"[^\\n]+# renovate:mint-fork",
|
|
|
|
],
|
|
|
|
"datasourceTemplate": "docker",
|
|
|
|
},
|
2023-08-10 04:49:28 -04:00
|
|
|
],
|
2022-10-13 08:41:55 -04:00
|
|
|
}
|