Skip to content

Commit

Permalink
Fix Renovate config
Browse files Browse the repository at this point in the history
  • Loading branch information
amezin committed Sep 28, 2024
1 parent 6b1004c commit ecec5ff
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 4 deletions.
6 changes: 4 additions & 2 deletions renovate-local-dry-run.sh
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
#!/bin/bash

export LOG_LEVEL="${LOG_LEVEL:-debug}"
export LOG_LEVEL="${LOG_LEVEL:-info}"
export RENOVATE_REPORT_TYPE="${RENOVATE_REPORT_TYPE:-logging}"

exec podman run \
--rm -it \
--userns=keep-id \
-e LOG_LEVEL \
-e GITHUB_COM_TOKEN \
-e RENOVATE_REPORT_TYPE \
-v "$PWD:$PWD" \
-w "$PWD" \
ghcr.io/renovatebot/renovate:slim \
ghcr.io/renovatebot/renovate \
--platform=local \
"$@"
20 changes: 18 additions & 2 deletions renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,12 @@
"\\.pkr\\.hcl$"
],
"matchStrings": [
"\\b(?<registryUrl>https://\\S+/)ubuntu-(?<currentValue>\\d+\\.\\d+\\.\\d+)-desktop-amd64\\.iso\\b"
"\\b(?<registryUrl>https://\\S+/)ubuntu-(?<currentValue>\\d+\\.\\d+(?:\\.\\d+)?)-desktop-amd64\\.iso\\b"
],
"datasourceTemplate": "custom.html",
"depNameTemplate": "ubuntu",
"extractVersionTemplate": "(^|/)ubuntu-(?<version>\\d+\\.\\d+\\.\\d+)-desktop-amd64\\.iso$"
"extractVersionTemplate": "(^|/)ubuntu-(?<version>\\d+\\.\\d+(?:\\.\\d+)?)-desktop-amd64\\.iso$",
"versioningTemplate": "ubuntu"
},
{
"customType": "regex",
Expand All @@ -98,5 +99,20 @@
"depNameTemplate": "debian",
"extractVersionTemplate": "(^|/)debian-(?<version>\\d+\\.\\d+\\.\\d+)-amd64-netinst\\.iso$"
}
],
"packageRules": [
{
"matchFileNames": ["*.pkr.hcl"],
"major": {
"enabled": false
}
},
{
"matchDepNames": ["openSUSE-Tumbleweed"],
"major": {
"enabled": true
},
"branchTopic": "{{{depNameSanitized}}}"
}
]
}

0 comments on commit ecec5ff

Please sign in to comment.