Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add renovate support for go mod #23864

Merged
merged 1 commit into from
Feb 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
25 changes: 0 additions & 25 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,27 +1,5 @@
version: 2
updates:
- package-ecosystem: gomod
directory: /
schedule:
interval: daily
open-pull-requests-limit: 5
rebase-strategy: "disabled"
ignore:
# using a cilium-specific fork
- dependency-name: "github.com/miekg/dns"
# k8s dependencies will be updated manually along with tests
- dependency-name: "k8s.io/*"
- dependency-name: "sigs.k8s.io/*"
# cloud provider SDKs are updated too frequently, update them manually
- dependency-name: "github.com/aliyun/alibaba-cloud-sdk-go"
- dependency-name: "github.com/aws/*"
- dependency-name: "github.com/Azure/*"
# need to update the gops binary in the runtime image in lockstep
- dependency-name: "github.com/google/gops"
labels:
- kind/enhancement
- release-note/misc

# # # # # # # # # # # # # # # #
# Python modules #
# # # # # # # # # # # # # # # #
Expand All @@ -35,6 +13,3 @@ updates:
labels:
- kind/enhancement
- release-note/misc



70 changes: 69 additions & 1 deletion .github/renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,12 @@
"includePaths": [
".github/workflows/**",
"images/**",
"examples/hubble/*"
"examples/hubble/*",
"go.mod",
"go.sum"
],
postUpdateOptions: [
"gomodTidy"
],
// This ignorePaths configuration option overrides the config:base preset and
// should not be removed.
Expand Down Expand Up @@ -37,6 +42,9 @@
"v1.11",
"v1.10"
],
"vulnerabilityAlerts": {
"enabled": true
},
"labels": [
"kind/enhancement",
"release-note/misc"
Expand All @@ -60,6 +68,66 @@
"on friday"
]
},
{
"groupName": "all go dependencies master",
"groupSlug": "all-go-deps-master",
"matchFiles": [
"go.mod",
"go.sum"
],
"matchUpdateTypes": [
"major",
"minor",
"digest",
"patch",
"pin",
"pinDigest"
],
"schedule": [
"on friday"
],
matchBaseBranches: [
"master"
]
},
{
// Do not allow any updates into stable branches.
"enabled": false,
"groupName": "all go dependencies stable",
"groupSlug": "all-go-deps-stable",
"matchFiles": [
"go.mod",
"go.sum"
],
matchBaseBranches: [
"v1.13",
"v1.12",
"v1.11",
"v1.10"
]
},
{
"enabled": false,
"matchPackageNames": [
// All of these packages are maintained on a Cilium fork. Thus, we don't
// want to update them automatically.
"go.universe.tf/metallb",
"github.com/cilium/metallb",
"github.com/miekg/dns",
"github.com/cilium/dns",
"sigs.k8s.io/controller-tools",
"github.com/cilium/controller-tools",
// We update this dependency manually together with envoy proxy updates
"github.com/cilium/proxy",
// need to update the gops binary in the runtime image in lockstep
"github.com/google/gops"
tklauser marked this conversation as resolved.
Show resolved Hide resolved
],
"matchPackagePatterns": [
// k8s dependencies will be updated manually along with tests
"k8s.io/*",
"sigs.k8s.io/*"
]
},
{
"groupName": "base-images",
"matchFiles": [
Expand Down