Skip to content

Commit cb821e9

Browse files
authored
chore: use Renovate to update Postgis versions (#108)
Signed-off-by: Niccolò Fei <[email protected]>
1 parent f6cb4f1 commit cb821e9

File tree

3 files changed

+17
-85
lines changed

3 files changed

+17
-85
lines changed

.github/workflows/postgis_update.yml

Lines changed: 0 additions & 83 deletions
This file was deleted.

docker-bake.hcl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,14 @@ variable "postgisMajorVersions" {
88
]
99
}
1010

11-
// DO NOT MANUALLY EDIT THE CONTENT - This is auto-generated by postgis_update.yml
1211
// PostGIS matrix of distro x versions
1312
postgisMatrix = {
1413
bookworm = {
14+
// renovate: suite=bookworm-pgdg depName=postgis
1515
"3" = "3.6.1+dfsg-1.pgdg12+1"
1616
}
1717
trixie = {
18+
// renovate: suite=trixie-pgdg depName=postgis
1819
"3" = "3.6.1+dfsg-1.pgdg13+1"
1920
}
2021
}

renovate.json

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,20 @@
55
"docker:pinDigests"
66
],
77
"enabledManagers": [
8-
"github-actions"
8+
"github-actions",
9+
"custom.regex"
10+
],
11+
"customManagers": [
12+
{
13+
"customType": "regex",
14+
"managerFilePatterns": [
15+
"/docker-bake.hcl/"
16+
],
17+
"matchStrings": [
18+
"\\/\\/\\s*renovate:\\s*?(suite=(?<suite>.*?))?\\s*depName=(?<depName>.*?)?\\s*\"[A-Za-z0-9_-]+\"\\s*=\\s*\"(?<currentValue>.*)\""
19+
],
20+
"registryUrlTemplate": "https://download.postgresql.org/pub/repos/apt?suite={{#if suite}}{{suite}}{{else}}stable{{/if}}&components=main&binaryArch=amd64",
21+
"datasourceTemplate": "deb"
22+
}
923
]
1024
}

0 commit comments

Comments
 (0)