Skip to content

Commit

Permalink
chore: group cargo dependabot updates (#13450)
Browse files Browse the repository at this point in the history
There are some groups of Rust dependencies that are updated together, so we can
group them in the dependabot configuration file.

This update also disables updates for dependencies that we must upgrade via
kubert.
  • Loading branch information
olix0r authored Dec 9, 2024
1 parent d96aa4a commit dee1258
Showing 1 changed file with 54 additions and 27 deletions.
81 changes: 54 additions & 27 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,51 +5,78 @@
# JS updates are run weekly.
version: 2
updates:
- package-ecosystem: "gomod"
- package-ecosystem: gomod
directory: "/"
schedule:
interval: "daily"
interval: daily
time: "03:00"
timezone: "UTC"
timezone: Etc/UTC

- package-ecosystem: cargo
directory: "/"
schedule:
interval: daily
time: "03:30"
timezone: "UTC"
timezone: Etc/UTC
allow:
- dependency-type: "all"
- dependency-type: all
ignore:
# These dependencies will be updated via higher-level aggregator dependencies like `clap`,
# `futures`, `kube`, `prost`, and `tracing`:
- dependency-name: "clap_derive"
- dependency-name: "futures-channel"
- dependency-name: "futures-core"
- dependency-name: "futures-io"
- dependency-name: "futures-sink"
- dependency-name: "futures-task"
- dependency-name: "futures-util"
- dependency-name: "kube-client"
- dependency-name: "kube-core"
- dependency-name: "kube-derive"
- dependency-name: "kube-runtime"
- dependency-name: "prost-derive"
- dependency-name: "tracing-attributes"
- dependency-name: "tracing-core"
- dependency-name: "tracing-serde"
# These dependencies are for platforms that we don't support:
- dependency-name: "redox_syscall"
- dependency-name: "js-sys"
- dependency-name: "wasm-bindgen"
- dependency-name: "web-sys"
- dependency-name: redox*
- dependency-name: js-sys
- dependency-name: wasm-bindgen
- dependency-name: web-sys
# These dependencies are updated via kubert, so only accept patch updates.
- dependency-name: clap
update-types: [version-update:semver-major, version-update:semver-minor]
- dependency-name: clap_*
update-types: [version-update:semver-major, version-update:semver-minor]
- dependency-name: kube
update-types: [version-update:semver-major, version-update:semver-minor]
- dependency-name: kube-*
update-types: [version-update:semver-major, version-update:semver-minor]
- dependency-name: k8s-openapi
update-types: [version-update:semver-major, version-update:semver-minor]
# These dependencies are updated via linkerd2-proxy-api, so only accept patch updates.
- dependency-name: prost
update-types: [version-update:semver-major, version-update:semver-minor]
- dependency-name: prost-*
update-types: [version-update:semver-major, version-update:semver-minor]
- dependency-name: tonic
update-types: [version-update:semver-major, version-update:semver-minor]
groups:
clap:
patterns:
- clap
- clap_*
update-types: [minor, patch]
futures:
patterns:
- futures
- futures-*
kube:
patterns:
- k8s-openapi
- kube
- kube-*
update-types: [patch]
grpc:
patterns:
- prost
- prost-*
- tonic
update-types: [patch]
tracing:
patterns:
- tracing
- tracing-*

- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
time: "04:00"
timezone: "UTC"
timezone: Etc/UTC

- package-ecosystem: "npm"
directory: "/web/app"
Expand Down

0 comments on commit dee1258

Please sign in to comment.