Skip to content

Commit 9a74b71

Browse files
committed
Configure renovation of cert-manager version
Signed-off-by: Erik Godding Boye <[email protected]>
1 parent 4479013 commit 9a74b71

File tree

2 files changed

+18
-2
lines changed

2 files changed

+18
-2
lines changed

.github/renovate.json5

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
{
1313
customType: 'regex',
1414
managerFilePatterns: [
15-
'modules/tools/**',
15+
'modules/cert-manager/**/*.mk',
16+
'modules/tools/**/*.mk',
1617
],
1718
matchStrings: [
1819
'(?:^|\\r\\n|\\r|\\n)#\\s*renovate:\\s*datasource=(?<datasource>\\S+)\\s+packageName=(?<packageName>\\S+)(?:^|\\r\\n|\\r|\\n)\\S+ \\+= \\S+=(?<currentValue>\\S+)',
@@ -22,7 +23,7 @@
2223
{
2324
customType: 'regex',
2425
managerFilePatterns: [
25-
'modules/tools/**',
26+
'modules/tools/**/*.mk'
2627
],
2728
depNameTemplate: 'envtest',
2829
matchStrings: [
@@ -41,11 +42,25 @@
4142
},
4243
},
4344
packageRules: [
45+
{
46+
matchManagers: [
47+
'custom.regex',
48+
],
49+
postUpgradeTasks: {
50+
commands: [
51+
'make learn-image-shas',
52+
],
53+
executionMode: 'branch',
54+
}
55+
},
4456
{
4557
groupName: 'Tools',
4658
matchManagers: [
4759
'custom.regex',
4860
],
61+
matchFileNames: [
62+
'modules/tools/**/*.mk',
63+
],
4964
postUpgradeTasks: {
5065
commands: [
5166
'make vendor-go learn-tools-shas',

modules/cert-manager/00_mod.mk

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
images_amd64 ?=
1616
images_arm64 ?=
1717

18+
# renovate: datasource=github-releases packageName=cert-manager/cert-manager
1819
cert_manager_version := v1.18.2
1920

2021
images_amd64 += quay.io/jetstack/cert-manager-controller:$(cert_manager_version)@sha256:058a3ee5b133f964acefbd5926a08ace1fb7c0775b92d3bc11e4c7a33de71e25

0 commit comments

Comments
 (0)