Files
curl/renovate.json
Max Dymond e43d37c541 ci: fix renovate's matching for OpenSSL and quictls
Renovate only matches on the raw version numbers of a package, but
OpenSSL includes `openssl-` as a prefix in the version number. This
change means that the match string now expects the `openssl-` prefix
and will just update the version portion.

This also updates quictls so that renovate can detect and update the
version correctly.

Closes #15359
2024-10-23 10:40:43 +02:00

101 lines
2.8 KiB
JSON

{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:best-practices",
":disableDependencyDashboard"
],
"semanticCommitType": "ci",
"packageRules": [
{
"matchManagers": [
"github-actions"
],
"commitMessagePrefix": "gha: ",
"labels": [
"CI"
]
},
{
"matchUpdateTypes": [
"pin",
"pinDigest",
"digest"
],
"commitMessagePrefix": "ci: ",
"labels": [
"CI"
]
},
{
"matchManagers": [
"custom.regex"
],
"commitMessagePrefix": "ci: ",
"labels": [
"CI"
]
},
{
"matchDepNames": [
"debian"
],
"matchFileNames": [
".github/workflows/linux-old.yml"
],
"enabled": false
}
],
"customManagers": [
{
"customType": "regex",
"fileMatch": [
".circleci/config.yml"
],
"matchStrings": [
"# renovate: datasource=(?<datasource>.*?) depName=(?<depName>.*?)( versioning=(?<versioning>.*?))?( extractVersion=(?<extractVersion>.+?))?( registryUrl=(?<registryUrl>.*?))?\\s.*?_VER=(?<currentValue>.*)\\s"
],
"versioningTemplate": "{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}",
"extractVersionTemplate": "{{#if extractVersion}}{{{extractVersion}}}{{else}}^v?(?<version>.+)${{/if}}"
},
{
"customType": "regex",
"fileMatch": [
"^.github/workflows/.*\\.yml$"
],
"matchStrings": [
"# renovate: datasource=(?<datasource>.*?) depName=(?<depName>.*?)( versioning=(?<versioning>.*?))?( extractVersion=(?<extractVersion>.+?))?( registryUrl=(?<registryUrl>.*?))?\\s.*?-version:\\s*(?<currentValue>.*)\\s"
],
"versioningTemplate": "{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}",
"extractVersionTemplate": "{{#if extractVersion}}{{{extractVersion}}}{{else}}^v?(?<version>.+)${{/if}}"
},
{
"customType": "regex",
"fileMatch": [
"^.github/workflows/linux.yml$",
"^.github/workflows/http3-linux.yml$"
],
"matchStrings": [
"openssl3-version: (?<currentValue>.*)\\s"
],
"datasourceTemplate": "github-tags",
"depNameTemplate": "openssl/openssl",
"versioningTemplate": "semver",
"extractVersionTemplate": "^openssl-(?<version>.*)$"
},
{
"customType": "regex",
"fileMatch": [
"^.github/workflows/linux.yml$",
"^.github/workflows/http3-linux.yml$"
],
"matchStrings": [
"quictls-version: (?<currentValue>.*)\\s"
],
"datasourceTemplate": "github-tags",
"depNameTemplate": "quictls/openssl",
"versioningTemplate": "semver",
"extractVersionTemplate": "^openssl-(?<version>.*)-quic1$"
}
]
}