Skip to content

Commit

Permalink
[Dependabot] Use multi-directory config for docker (#3671)
Browse files Browse the repository at this point in the history
This removes a lot of duplication from the config. The problem I was trying to solve was making all of the docker deps be updated at the same time. This is what the 'groups' configuration block is supposed to do, but it doesn't seem to work in isolation. We'll see if this change in conjunction with that changes the update behaviour. If not, at least any further changes to the configs are done only in one place instead of in 7 almost identical blocks.
  • Loading branch information
mhutchinson authored Nov 12, 2024
1 parent 5c45ea4 commit 99308f4
Showing 1 changed file with 8 additions and 61 deletions.
69 changes: 8 additions & 61 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,14 @@ updates:
- "*"

- package-ecosystem: docker
directory: /examples/deployment/docker/db_client
schedule:
interval: weekly
groups:
docker-deps:
applies-to: version-updates
patterns:
- "*"

- package-ecosystem: docker
directory: /examples/deployment/docker/db_server
directories:
- /examples/deployment/docker/db_client
- /examples/deployment/docker/db_server
- /examples/deployment/docker/envsubst
- /examples/deployment/docker/log_server
- /examples/deployment/docker/log_signer
- /examples/deployment/kubernetes/mysql/image
- /integration/cloudbuild/testbase
schedule:
interval: weekly
ignore:
Expand All @@ -43,56 +40,6 @@ updates:
patterns:
- "*"

- package-ecosystem: docker
directory: /examples/deployment/docker/envsubst
schedule:
interval: weekly
groups:
docker-deps:
applies-to: version-updates
patterns:
- "*"

- package-ecosystem: docker
directory: /examples/deployment/docker/log_server
schedule:
interval: weekly
groups:
docker-deps:
applies-to: version-updates
patterns:
- "*"

- package-ecosystem: docker
directory: /examples/deployment/docker/log_signer
schedule:
interval: weekly
groups:
docker-deps:
applies-to: version-updates
patterns:
- "*"

- package-ecosystem: docker
directory: /examples/deployment/kubernetes/mysql/image
schedule:
interval: weekly
groups:
docker-deps:
applies-to: version-updates
patterns:
- "*"

- package-ecosystem: docker
directory: /integration/cloudbuild/testbase
schedule:
interval: weekly
groups:
docker-deps:
applies-to: version-updates
patterns:
- "*"

- package-ecosystem: npm
directory: /scripts/gcb2slack
schedule:
Expand Down

0 comments on commit 99308f4

Please sign in to comment.