From badaf8cdbf5264380ffd21cd794615acb8a557d8 Mon Sep 17 00:00:00 2001 From: Andy Pfister Date: Wed, 4 Oct 2023 14:23:44 +0200 Subject: [PATCH 1/3] Update bundler version in Gemfile.lock --- README.md | 1 + default.json | 11 +++++++++++ 2 files changed, 12 insertions(+) diff --git a/README.md b/README.md index 6e29c14..dbeff0f 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,7 @@ A Renovate preset with common configuration for all Simplificator projects. The configuration currently applies the following: * 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`. diff --git a/default.json b/default.json index c50645e..85ead9f 100644 --- a/default.json +++ b/default.json @@ -14,6 +14,17 @@ ], "datasourceTemplate": "docker", "registryUrlTemplate": "https://registry.semaphoreci.com" + }, + { + "customType": "regex", + "fileMatch": [ + "(^|/)Gemfile.lock$" + ], + "matchStrings": [ + "BUNDLED WITH\\n[ ]+(?.*)(?:$|\\n)" + ], + "datasourceTemplate": "rubygems", + "depNameTemplate": "bundler" } ], "packageRules": [ From 71dff9cf06437f158ee094b05939086ea3550847 Mon Sep 17 00:00:00 2001 From: Andy Pfister Date: Wed, 4 Oct 2023 14:24:02 +0200 Subject: [PATCH 2/3] Include the `regex:dockerfileVersions` preset --- README.md | 1 + default.json | 3 +++ 2 files changed, 4 insertions(+) diff --git a/README.md b/README.md index dbeff0f..6b4b354 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,7 @@ 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 bndler. 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. diff --git a/default.json b/default.json index 85ead9f..44b8aa0 100644 --- a/default.json +++ b/default.json @@ -1,5 +1,8 @@ { "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "extends": [ + "regexManagers:dockerfileVersions" + ], "labels": [ "dependencies" ], From 3c367d7811e77880bf987c38780063aeb106f9e1 Mon Sep 17 00:00:00 2001 From: Andy Pfister Date: Wed, 4 Oct 2023 16:41:12 +0200 Subject: [PATCH 3/3] Update README.md Co-authored-by: Florian Zinggeler --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 6b4b354..98398d9 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ 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 bndler. A usage example can be found [here](https://github.com/renovatebot/docker-renovate-full/blob/main/Dockerfile#L1-L2). +* 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.