Skip to content

Commit 966c2a0

Browse files
authored
adds pact broker renovate dep updates (#192)
* adds pact broker renovate dep updates Signed-off-by: ChrisJBurns <29541485+ChrisJBurns@users.noreply.github.com> * readme updates Signed-off-by: ChrisJBurns <29541485+ChrisJBurns@users.noreply.github.com> --------- Signed-off-by: ChrisJBurns <29541485+ChrisJBurns@users.noreply.github.com>
1 parent 866bda7 commit 966c2a0

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

renovate.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,25 @@
22
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
33
"extends": [
44
"config:recommended"
5+
],
6+
"packageRules": [
7+
{
8+
"description": "Configure versioning for Pact Broker Docker image",
9+
"matchPackageNames": ["pactfoundation/pact-broker"],
10+
"matchDatasources": ["docker"],
11+
"versioning": "regex:^(?<major>\\d+)\\.(?<minor>\\d+)\\.(?<patch>\\d+)(-pactbroker(?<compatibility>.*))?$"
12+
}
13+
],
14+
"regexManagers": [
15+
{
16+
"description": "Update Pact Broker Docker image version in Helm values",
17+
"fileMatch": ["^charts/pact-broker/values\\.yaml$"],
18+
"matchStrings": [
19+
"# -- Pact Broker image tag \\(immutable tags are recommended\\)\\s+tag:\\s+(?<currentValue>.*?)\\s"
20+
],
21+
"datasourceTemplate": "docker",
22+
"depNameTemplate": "pactfoundation/pact-broker",
23+
"versioningTemplate": "regex:^(?<major>\\d+)\\.(?<minor>\\d+)\\.(?<patch>\\d+)(-pactbroker(?<compatibility>.*))?$"
24+
}
525
]
626
}

0 commit comments

Comments
 (0)