-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix up Renovate and Dockerfiles (#22)
* Turn off major version bumps for Renovate We should always do these manually, in line with * Set up bumping for Rust version to remain consistent * Pin all the actions to specific commits to prevent impersonation attacks * Update Dockerfiles to allow for correct bumping This includes Rust and pinning to the "correct" version of the underlying OSes * Fix up name of Build Step * Move to new style of Renovate Config
- Loading branch information
1 parent
cd6a17c
commit 97033ec
Showing
6 changed files
with
52 additions
and
21 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -1,3 +1,29 @@ | ||
{ | ||
"$schema": "https://docs.renovatebot.com/renovate-schema.json" | ||
} | ||
"$schema": "https://docs.renovatebot.com/renovate-schema.json", | ||
"packageRules": [ | ||
// Ensure that we don't get automated bumps to new major versions of base images, these will always be | ||
// done manually | ||
{ | ||
"matchFileNames": [ | ||
"(^|/)Dockerfile$", | ||
"(^|/)Dockerfile\\.[^/]*$" | ||
], | ||
"matchUpdateTypes": [ | ||
"major" | ||
], | ||
"enabled": false | ||
} | ||
], | ||
"customManagers": [ | ||
{ | ||
"customType": "regex", | ||
"fileMatch": [ | ||
"(^|/)Dockerfile$", | ||
"(^|/)Dockerfile\\.[^/]*$" | ||
], | ||
"matchStrings": [ | ||
"#\\srenovate:\\sdatasource=(?<datasource>.*?) depName=(?<depName>.*?)( versioning=(?<versioning>.*?))?( extractVersion=(?<extractVersion>.*?))?\\s(ENV|ARG) .*?_VERSION=(?<currentValue>.*)\\s" | ||
] | ||
} | ||
] | ||
} |
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
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
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
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
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