Skip to content

Commit c10ed55

Browse files
committed
Renovate: Update CI containers
Also only use major version of database containers
1 parent 0c8b6d1 commit c10ed55

2 files changed

Lines changed: 28 additions & 3 deletions

File tree

.github/workflows/test.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,17 @@ jobs:
99
matrix:
1010
db:
1111
- name: mysql
12-
image: mariadb:11.4
12+
image: mariadb:11
1313
username: root
1414
database: nextcloud
1515
port: 3306
1616
- name: pgsql
17-
image: postgres:17.5
17+
image: postgres:17
1818
username: postgres
1919
database: postgres
2020
port: 5432
21-
nextcloud: [31]
21+
nextcloud:
22+
- "31"
2223
services:
2324
db:
2425
image: ${{ matrix.db.image }}

renovate.json

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,29 @@
22
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
33
"extends": [
44
"config:recommended"
5+
],
6+
"customManagers": [
7+
{
8+
"customType": "jsonata",
9+
"fileFormat": "yaml",
10+
"managerFilePatterns": [
11+
"/(^|/)(workflow-templates|\\.(?:github|gitea|forgejo)/(?:workflows|actions))/.+\\.ya?ml$/",
12+
"/(^|/)action\\.ya?ml$/"
13+
],
14+
"matchStrings": [
15+
"$map(jobs.*.strategy.matrix.*.image, function ($v) { $split($v, \":\")}).{ \"depName\": $[0], \"currentValue\": $[1] }",
16+
"jobs.*.strategy.matrix.nextcloud[-1].{ \"depName\": \"nextcloud\", \"currentValue\": $ }"
17+
],
18+
"datasourceTemplate": "docker"
19+
},
20+
{
21+
"customType": "regex",
22+
"managerFilePatterns": ["appinfo/info.xml"],
23+
"matchStrings": [
24+
"max-version=\"(?<currentValue>\\d+)\""
25+
],
26+
"datasourceTemplate": "docker",
27+
"depNameTemplate": "nextcloud"
28+
}
529
]
630
}

0 commit comments

Comments
 (0)