Skip to content

Commit

Permalink
simplify dependabot.yaml file
Browse files Browse the repository at this point in the history
  • Loading branch information
chouetz committed Jan 17, 2025
1 parent 736a4fe commit 676ef23
Showing 1 changed file with 13 additions and 113 deletions.
126 changes: 13 additions & 113 deletions .github/dependabot.yaml
Original file line number Diff line number Diff line change
@@ -1,31 +1,28 @@
version: 2
updates:
- package-ecosystem: gomod
directory: /
directories:
- /
- /comp/*
- /pkg/*
- /test/fakeintake
- /test/integration/*
- /test/otel
labels:
- dependencies
- dependencies-go
- team/triage
- changelog/no-changelog
ignore:
# These dependencies are replaced in the main go.mod file.
# They are ignored since bumping them would have no effect on the build.
# To update them automatically, it is necessary to remove the `replace` directive.
- dependency-name: k8s.io/*
- dependency-name: github.com/cihub/seelog
- dependency-name: github.com/containerd/cgroups
- dependency-name: github.com/containerd/containerd
- dependency-name: github.com/coreos/go-systemd
# We only replace github.com/docker/distribution but we ignore all Docker dependencies.
- dependency-name: github.com/docker/*
- dependency-name: github.com/florianl/go-conntrack
- dependency-name: github.com/iovisor/gobpf
- dependency-name: github.com/lxn/walk
- dependency-name: github.com/mholt/archiver
- dependency-name: github.com/prometheus/client_golang
- dependency-name: github.com/spf13/cast
# Ignore internal modules
- dependency-name: github.com/DataDog/datadog-agent/*
# See https://github.com/DataDog/datadog-agent/pull/10112
- dependency-name: github.com/mailru/easyjson
# Ignore golang.org/x/... deps to avoid noise, they are updated together, pretty regularly
- dependency-name: golang.org/x/*
# OpenTelemetry collector packages need to be updated with inv rather than dependabot
Expand All @@ -44,75 +41,9 @@ updates:
aws-sdk-go-v2:
patterns:
- "github.com/aws/aws-sdk-go-v2*"
- package-ecosystem: gomod
directory: /pkg/trace
labels:
- dependencies
- dependencies-go
- team/agent-apm
- changelog/no-changelog
ignore:
# Ignore internal modules
- dependency-name: github.com/DataDog/datadog-agent/*
# See https://github.com/DataDog/datadog-agent/pull/10112
- dependency-name: github.com/mailru/easyjson
# Ignore golang.org/x/... deps to avoid noise, they are updated together, pretty regularly
- dependency-name: golang.org/x/*
# OpenTelemetry collector packages need to be updated with inv rather than dependabot
- dependency-name: go.opentelemetry.io/collector/*
- dependency-name: github.com/open-telemetry/opentelemetry-collector-contrib/*
schedule:
interval: weekly
open-pull-requests-limit: 100
- package-ecosystem: gomod
directory: /pkg/gohai
labels:
- dependencies
- dependencies-go
- team/agent-shared-components
- changelog/no-changelog
ignore:
# Ignore internal modules
- dependency-name: github.com/DataDog/datadog-agent/*
# See https://github.com/DataDog/datadog-agent/pull/10112
- dependency-name: github.com/mailru/easyjson
# Ignore golang.org/x/... deps to avoid noise, they are updated together, pretty regularly
- dependency-name: golang.org/x/*
schedule:
interval: weekly
open-pull-requests-limit: 100
- package-ecosystem: gomod
directory: /pkg/obfuscate
labels:
- dependencies
- dependencies-go
- team/agent-apm
- changelog/no-changelog
ignore:
# Ignore internal modules
- dependency-name: github.com/DataDog/datadog-agent/*
# See https://github.com/DataDog/datadog-agent/pull/10112
- dependency-name: github.com/mailru/easyjson
# Ignore golang.org/x/... deps to avoid noise, they are updated together, pretty regularly
- dependency-name: golang.org/x/*
schedule:
interval: weekly
open-pull-requests-limit: 100
- package-ecosystem: gomod
directory: /pkg/security/secl
labels:
- dependencies
- dependencies-go
- team/agent-security
- changelog/no-changelog
ignore:
# Ignore internal modules
- dependency-name: github.com/DataDog/datadog-agent/*
# Ignore golang.org/x/... deps to avoid noise, they are updated together, pretty regularly
- dependency-name: golang.org/x/*
schedule:
interval: weekly
open-pull-requests-limit: 100
k8s-io:
patterns:
- "k8s.io/*"
- package-ecosystem: gomod
directory: /internal/tools
labels:
Expand All @@ -123,7 +54,6 @@ updates:
# publish a new version exploiting that it runs automatically after it
# is updated to write to our repo.
- dev/tooling
- team/agent-delivery
- changelog/no-changelog
- qa/no-code-change
schedule:
Expand All @@ -132,30 +62,15 @@ updates:
# Ignore golang.org/x/... deps to avoid noise, they are updated together, pretty regularly
- dependency-name: golang.org/x/*
open-pull-requests-limit: 100
- package-ecosystem: gomod
directory: /pkg/networkdevice/profile
labels:
- dependencies
- dependencies-go
- team/network-device-monitoring
- changelog/no-changelog
ignore:
# Ignore internal modules
- dependency-name: github.com/DataDog/datadog-agent/*
# Ignore golang.org/x/... deps to avoid noise, they are updated together, pretty regularly
- dependency-name: golang.org/x/*
schedule:
interval: weekly
open-pull-requests-limit: 100
- package-ecosystem: gomod
directory: /test/new-e2e
labels:
- dependencies
- dependencies-go
- team/agent-e2e-test
- changelog/no-changelog
- qa/no-code-change
- dev/testing
- ask-review
ignore:
# Ignore test-infra-definitions because bumping the GO package inside `go.mod`
# requires to also bump `TEST_INFRA_DEFINITIONS_BUILDIMAGES` inside `.gitlab/common/test_infra_version.yml`
Expand All @@ -177,21 +92,6 @@ updates:
schedule:
interval: weekly
open-pull-requests-limit: 100
- package-ecosystem: gomod
directory: /test/fakeintake
labels:
- dependencies
- dependencies-go
- team/agent-e2e-test
- changelog/no-changelog
- qa/no-code-change
- dev/testing
schedule:
interval: weekly
open-pull-requests-limit: 100
ignore:
# Ignore golang.org/x/... deps to avoid noise, they are updated together, pretty regularly
- dependency-name: golang.org/x/*
- package-ecosystem: docker
directory: /test/fakeintake
labels:
Expand Down

0 comments on commit 676ef23

Please sign in to comment.