generated from ministryofjustice/template-documentation-site
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Documenting ND-568 outcome Further to the implementation of ND-568, documented the current configurations of dependabot and the earlier renovate bot configuration whjich has been disabled temporarily to avoid conflicts between both. * Revert "Documenting ND-568 outcome" This reverts commit e7be263. * Documenting ND-568 outcome Further to the implementation of ND-568, documented the current configurations of dependabot and the earlier renovate bot configuration which has been disabled temporarily to avoid conflicts between both.
- Loading branch information
Showing
3 changed files
with
46 additions
and
3 deletions.
There are no files selected for viewing
4 changes: 2 additions & 2 deletions
4
source/documentation/adrs/013-use-aws-secrets-manager-for-secrets.html.md.erb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
41 changes: 41 additions & 0 deletions
41
source/documentation/adrs/014-use-dependabot-to-manage-dependency-updates.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
--- | ||
owner_slack: "#nvvs-devops" | ||
title: 014 - Use Dependabot to manage dependency updates | ||
last_reviewed_on: 2024-12-05 | ||
review_in: 6 months | ||
--- | ||
|
||
# 014 - Use Dependabot to manage dependency updates | ||
Date: 2020-12-05 | ||
|
||
## Status | ||
✅ Accepted | ||
|
||
## Context | ||
Both Renovate Bot and Dependabot are being used in our repository to manage dependency updates. | ||
This is leading to conflicts where both tools create separate pull requests (PRs) for the same dependencies, resulting in unnecessary duplication and management overhead. | ||
|
||
## Decision | ||
|
||
To use Dependabot, as its better suited for GitHub-based projects due to its simplicity, native integration, and focus on security, and temporarily disable renovate bot. | ||
|
||
Currently, Dependabot targets: | ||
|
||
- "bundler", which is used for managing Ruby dependencies. Dependabot will check for updates in the root directory ("/") on a daily basis. | ||
- "terraform", with updates being checked in the "/terraform" directory daily. | ||
- "github-actions", which manages GitHub Actions workflows. Updates will be checked in the root directory ("/") daily. | ||
- "pip", used for Python dependencies. Dependabot will check for updates in the root directory ("/") daily. | ||
- "npm", which manages JavaScript dependencies. Updates will be checked in the root directory ("/") daily. | ||
|
||
### Alternative Considerations: | ||
|
||
#### Renovate Bot | ||
|
||
Renovate bot targeting dependencies from the “terraform-module” and “terraform-provider” in the repositories have been temporarily disabled | ||
|
||
- 'ministryofjustice/network-access-control-infrastructure', | ||
- 'ministryofjustice/nvvs-devops-github-actions', | ||
- 'ministryofjustice/staff-device-dns-dhcp-infrastructure', | ||
- 'ministryofjustice/staff-device-shared-services-infrastructure', | ||
- 'ministryofjustice/staff-infrastructure-network-services', | ||
- 'ministryofjustice/staff-technology-services-github-teams' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters