Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update bundler version #2

Merged
merged 3 commits into from
Oct 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@

A Renovate preset with common configuration for all Simplificator projects. The configuration currently applies the following:

* The Dockerfile versions preset, useful when you need to install certain versions of tools in your Dockerfile, for example bundler. A usage example can be found [here](https://github.com/renovatebot/docker-renovate-full/blob/main/Dockerfile#L1-L2).
* Regex manager for [background services on Semaphore CI](https://docs.semaphoreci.com/ci-cd-environment/sem-service-managing-databases-and-services-on-linux/).
* Regex manager to update the bundler version found in `Gemfile.lock`.
* Group all non-major updates for packages with versions above 1.0.0.
* Group all patch updates for packages below version 1.0.0.
* Apply the `bump` strategy for `npm`.
Expand Down
14 changes: 14 additions & 0 deletions default.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"regexManagers:dockerfileVersions"
],
"labels": [
"dependencies"
],
Expand All @@ -14,6 +17,17 @@
],
"datasourceTemplate": "docker",
"registryUrlTemplate": "https://registry.semaphoreci.com"
},
{
"customType": "regex",
"fileMatch": [
"(^|/)Gemfile.lock$"
],
"matchStrings": [
"BUNDLED WITH\\n[ ]+(?<currentValue>.*)(?:$|\\n)"
],
"datasourceTemplate": "rubygems",
"depNameTemplate": "bundler"
}
],
"packageRules": [
Expand Down