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

chore(renovate): add regex for most dependencies #1744

Merged
merged 3 commits into from
Jul 12, 2023
Merged
Show file tree
Hide file tree
Changes from 2 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
15 changes: 10 additions & 5 deletions Dockerfile
millotp marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
ARG NODE_VERSION=18.14.2
ARG JAVA_VERSION=11.0.18
ARG PHP_VERSION=8.1.16
ARG GO_VERSION=1.19.7
ARG DART_VERSION=3.0.0
# renovate: datasource=github-tags depName=nodejs/node versioning=node
ARG NODE_VERSION=18.16.1
# renovate: datasource=java-version depName=java
ARG JAVA_VERSION=11.0.19
# renovate: datasource=github-tags depName=php/php-sec
ARG PHP_VERSION=8.2.8
# renovate: datasource=golang-version depName=golang
ARG GO_VERSION=1.20.6
# renovate: datasource=dart-version depName=dart
ARG DART_VERSION=3.0.2

FROM golang:${GO_VERSION}-bullseye as go-builder

Expand Down
2 changes: 1 addition & 1 deletion config/.go-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.19.7
1.20.6
2 changes: 1 addition & 1 deletion config/.java-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
11.0.18
11.0.19
2 changes: 1 addition & 1 deletion config/.php-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
8.1.16
8.2.8
69 changes: 68 additions & 1 deletion renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"package.mustache"
],
"matchStrings": [
"\"devDependencies\":\\s*{[^}]*}",
"\"(dev)?[dD]ependencies\":\\s*{[^}]*}",
"\\s\"(?<depName>.*?)\": \"(?<currentValue>.*?)\",?\\s"
],
"matchStringsStrategy": "recursive",
Expand Down Expand Up @@ -83,6 +83,69 @@
],
"depNameTemplate": "yarnpkg/berry",
"datasourceTemplate": "github-releases"
},
{
"description": "Update composer.json for PHP",
"fileMatch": "composer.mustache",
"matchStrings": [
"\"require(-dev)?\":\\s*{[^}]*}",
"\"(?<depName>.*?)\": \"(?<currentValue>.*?)\",?\\s"
],
"matchStringsStrategy": "recursive",
"datasourceTemplate": "packagist"
},
{
"description": "Update pubspec.yaml for Dart",
"fileMatch": "pubspec.mustache",
"matchStrings": [
"(dev_)?dependencies:\\s*{[^}]*}",
"\\s(?<depName>.*?):\\s*(?<currentValue>.*?)"
],
"matchStringsStrategy": "recursive",
"datasourceTemplate": "dart"
},
{
"description": "Update libs.versions.toml for Kotlin",
"fileMatch": "libs.versions.toml",
"matchStrings": [
"(?<depName>.*?):.*?(?<currentValue>\\d+\\.\\d+\\.\\d+)"
],
"datasourceTemplate": "maven"
},
{
"description": "Update .java-version",
millotp marked this conversation as resolved.
Show resolved Hide resolved
"fileMatch": ".java-version",
"matchStrings": [
"(?<currentValue>.*?)"
],
"datasourceTemplate": "java-version",
"depNameTemplate": "java"
},
{
"description": "Update .dart-version",
"fileMatch": ".dart-version",
"matchStrings": [
"(?<currentValue>.*?)"
],
"datasourceTemplate": "dart-version",
"depNameTemplate": "dart"
},
{
"description": "Update .go-version",
"fileMatch": ".go-version",
"matchStrings": [
"(?<currentValue>.*?)"
],
"datasourceTemplate": "golang-version",
"depNameTemplate": "golang"
},
{
"description": "update Dockerfile",
"fileMatch": "^Dockerfile$",
"matchStrings": [
"datasource=(?<datasource>.*?) depName=(?<depName>.*?)( versioning=(?<versioning>.*?))?\\sARG .*?_VERSION=(?<currentValue>.*)\\s"
],
"versioningTemplate": "{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}"
}
],
"ignorePaths": [
Expand All @@ -99,6 +162,10 @@
"clients/algoliasearch-client-php/composer.json",
"tests/output/**"
],
"includePaths": [
"tests/output/javascript/.yarn/**",
"tests/output/kotlin/gradle/**"
],
"prHourlyLimit": 20,
"prConcurrentLimit": 50
}