Skip to content

Commit 52694b8

Browse files
committed
Update Renovate config
1 parent 4c288b5 commit 52694b8

File tree

4 files changed

+31
-30
lines changed

4 files changed

+31
-30
lines changed

renovate.json

Lines changed: 24 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,16 @@
1818
"gomodTidy",
1919
"gomodUpdateImportPaths"
2020
],
21-
"fileMatch": [
22-
"(^|/)go\\.mod$",
23-
"(^|/)go\\.sum$",
24-
"(^|/)Makefile$",
25-
"(^|/)pom\\.xml$",
26-
"(^|/)Dockerfile$"
21+
"customManagers": [
22+
{
23+
"customType": "regex",
24+
"fileMatch": ["Makefile"],
25+
"matchStrings": [
26+
"(?<depName>\\w+)_VERSION\\s*=\\s*(?<currentValue>[^\\s]+)\\s*#\\s*renovate:\\s*datasource=(?<datasource>[^\\s]+)\\s*depName=(?<packageName>[^\\s]+)"
27+
],
28+
"datasourceTemplate": "{{datasource}}",
29+
"depNameTemplate": "{{packageName}}"
30+
}
2731
],
2832
"packageRules": [
2933
{
@@ -38,14 +42,14 @@
3842
"matchUpdateTypes": [
3943
"major"
4044
],
41-
"matchPackageNames": [
42-
"*"
43-
],
44-
"matchDepTypes": [
45-
"require",
46-
"action",
45+
"matchManagers": [
46+
"gomod",
47+
"github-actions",
4748
"maven",
48-
"docker"
49+
"dockerfile",
50+
"docker-compose",
51+
"regex",
52+
"helm-values"
4953
]
5054
},
5155
{
@@ -56,14 +60,14 @@
5660
"patch",
5761
"digest"
5862
],
59-
"matchPackageNames": [
60-
"*"
61-
],
62-
"matchDepTypes": [
63-
"require",
64-
"action",
63+
"matchManagers": [
64+
"gomod",
65+
"github-actions",
6566
"maven",
66-
"docker"
67+
"dockerfile",
68+
"docker-compose",
69+
"regex",
70+
"helm-values"
6771
]
6872
}
6973
]

tests/e2e/go.mod

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ go 1.25
44

55
require (
66
emperror.dev/errors v0.8.1
7-
github.com/Masterminds/sprig v2.22.0+incompatible
7+
github.com/Masterminds/sprig/v3 v3.3.0
88
github.com/banzaicloud/koperator v0.25.1
99
github.com/banzaicloud/koperator/api v0.28.8
1010
github.com/cisco-open/k8s-objectmatcher v1.10.0
@@ -24,7 +24,6 @@ require (
2424
github.com/BurntSushi/toml v1.5.0 // indirect
2525
github.com/IBM/sarama v1.46.0 // indirect
2626
github.com/Masterminds/goutils v1.1.1 // indirect
27-
github.com/Masterminds/semver v1.5.0 // indirect
2827
github.com/Masterminds/semver/v3 v3.4.0 // indirect
2928
github.com/aws/aws-sdk-go-v2 v1.32.5 // indirect
3029
github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.6.7 // indirect
@@ -119,7 +118,6 @@ require (
119118
github.com/homeport/dyff v1.6.0 // indirect
120119
github.com/huandu/xstrings v1.5.0 // indirect
121120
github.com/iancoleman/orderedmap v0.3.0 // indirect
122-
github.com/imdario/mergo v0.3.16 // indirect
123121
github.com/jackc/pgpassfile v1.0.0 // indirect
124122
github.com/jackc/pgservicefile v0.0.0-20240606120523-5a60cdf6a761 // indirect
125123
github.com/jackc/pgx/v5 v5.7.1 // indirect
@@ -157,6 +155,7 @@ require (
157155
github.com/rcrowley/go-metrics v0.0.0-20250401214520-65e299d6c5c9 // indirect
158156
github.com/russross/blackfriday/v2 v2.1.0 // indirect
159157
github.com/sergi/go-diff v1.4.0 // indirect
158+
github.com/shopspring/decimal v1.4.0 // indirect
160159
github.com/spf13/cast v1.10.0 // indirect
161160
github.com/spf13/pflag v1.0.10 // indirect
162161
github.com/stretchr/testify v1.11.1 // indirect

tests/e2e/go.sum

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,10 @@ github.com/IBM/sarama v1.46.0 h1:+YTM1fNd6WKMchlnLKRUB5Z0qD4M8YbvwIIPLvJD53s=
1010
github.com/IBM/sarama v1.46.0/go.mod h1:0lOcuQziJ1/mBGHkdp5uYrltqQuKQKM5O5FOWUQVVvo=
1111
github.com/Masterminds/goutils v1.1.1 h1:5nUrii3FMTL5diU80unEVvNevw1nH4+ZV4DSLVJLSYI=
1212
github.com/Masterminds/goutils v1.1.1/go.mod h1:8cTjp+g8YejhMuvIA5y2vz3BpJxksy863GQaJW2MFNU=
13-
github.com/Masterminds/semver v1.5.0 h1:H65muMkzWKEuNDnfl9d70GUjFniHKHRbFPGBuZ3QEww=
14-
github.com/Masterminds/semver v1.5.0/go.mod h1:MB6lktGJrhw8PrUyiEoblNEGEQ+RzHPF078ddwwvV3Y=
1513
github.com/Masterminds/semver/v3 v3.4.0 h1:Zog+i5UMtVoCU8oKka5P7i9q9HgrJeGzI9SA1Xbatp0=
1614
github.com/Masterminds/semver/v3 v3.4.0/go.mod h1:4V+yj/TJE1HU9XfppCwVMZq3I84lprf4nC11bSS5beM=
17-
github.com/Masterminds/sprig v2.22.0+incompatible h1:z4yfnGrZ7netVz+0EDJ0Wi+5VZCSYp4Z0m2dk6cEM60=
18-
github.com/Masterminds/sprig v2.22.0+incompatible/go.mod h1:y6hNFY5UBTIWBxnzTeuNhlNS5hqE0NB0E6fgfo2Br3o=
15+
github.com/Masterminds/sprig/v3 v3.3.0 h1:mQh0Yrg1XPo6vjYXgtf5OtijNAKJRNcTdOOGZe3tPhs=
16+
github.com/Masterminds/sprig/v3 v3.3.0/go.mod h1:Zy1iXRYNqNLUolqCpL4uhk6SHUMAOSCzdgBfDb35Lz0=
1917
github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5 h1:0CwZNZbxp69SHPdPJAN/hZIm0C4OItdklCFmMRWYpio=
2018
github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5/go.mod h1:wHh0iHkYZB8zMSxRWpUBQtwG5a7fFgvEO+odwuTv2gs=
2119
github.com/aws/aws-sdk-go-v2 v1.32.5 h1:U8vdWJuY7ruAkzaOdD7guwJjD06YSKmnKCJs7s3IkIo=
@@ -228,8 +226,6 @@ github.com/huandu/xstrings v1.5.0 h1:2ag3IFq9ZDANvthTwTiqSSZLjDc+BedvHPAp5tJy2TI
228226
github.com/huandu/xstrings v1.5.0/go.mod h1:y5/lhBue+AyNmUVz9RLU9xbLR0o4KIIExikq4ovT0aE=
229227
github.com/iancoleman/orderedmap v0.3.0 h1:5cbR2grmZR/DiVt+VJopEhtVs9YGInGIxAoMJn+Ichc=
230228
github.com/iancoleman/orderedmap v0.3.0/go.mod h1:XuLcCUkdL5owUCQeF2Ue9uuw1EptkJDkXXS7VoV7XGE=
231-
github.com/imdario/mergo v0.3.16 h1:wwQJbIsHYGMUyLSPrEq1CT16AhnhNJQ51+4fdHUnCl4=
232-
github.com/imdario/mergo v0.3.16/go.mod h1:WBLT9ZmE3lPoWsEzCh9LPo3TiwVN+ZKEjmz+hD27ysY=
233229
github.com/jackc/pgpassfile v1.0.0 h1:/6Hmqy13Ss2zCq62VdNG8tM1wchn8zjSGOBJ6icpsIM=
234230
github.com/jackc/pgpassfile v1.0.0/go.mod h1:CEx0iS5ambNFdcRtxPj5JhEz+xB6uRky5eyVu/W2HEg=
235231
github.com/jackc/pgservicefile v0.0.0-20240606120523-5a60cdf6a761 h1:iCEnooe7UlwOQYpKFhBabPMi4aNAfoODPEFNiAnClxo=
@@ -343,6 +339,8 @@ github.com/russross/blackfriday/v2 v2.1.0 h1:JIOH55/0cWyOuilr9/qlrm0BSXldqnqwMsf
343339
github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
344340
github.com/sergi/go-diff v1.4.0 h1:n/SP9D5ad1fORl+llWyN+D6qoUETXNZARKjyY2/KVCw=
345341
github.com/sergi/go-diff v1.4.0/go.mod h1:A0bzQcvG0E7Rwjx0REVgAGH58e96+X0MeOfepqsbeW4=
342+
github.com/shopspring/decimal v1.4.0 h1:bxl37RwXBklmTi0C79JfXCEBD1cqqHt0bbgBAGFp81k=
343+
github.com/shopspring/decimal v1.4.0/go.mod h1:gawqmDU56v4yIKSwfBSFip1HdCCXN8/+DMd9qYNcwME=
346344
github.com/spf13/cast v1.10.0 h1:h2x0u2shc1QuLHfxi+cTJvs30+ZAHOGRic8uyGTDWxY=
347345
github.com/spf13/cast v1.10.0/go.mod h1:jNfB8QC9IA6ZuY2ZjDp0KtFO2LZZlg4S/7bzP6qqeHo=
348346
github.com/spf13/pflag v1.0.3/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4=

tests/e2e/k8s.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import (
2727
"time"
2828

2929
"emperror.dev/errors"
30-
"github.com/Masterminds/sprig"
30+
"github.com/Masterminds/sprig/v3"
3131
"github.com/cisco-open/k8s-objectmatcher/patch"
3232
"github.com/gruntwork-io/terratest/modules/k8s"
3333
ginkgo "github.com/onsi/ginkgo/v2"

0 commit comments

Comments
 (0)