You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/modules/ROOT/pages/how-tos/configuring/component-nudges.adoc
+45Lines changed: 45 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -109,3 +109,48 @@ NOTE: You can also use **kubectl edit** to add the build-nudges-ref instead of p
109
109
110
110
* Ensure that the existing references in the repositories of your components are correct.
111
111
* Try running the necessary commands again, and ensure you have the correct syntax.
112
+
113
+
== Customizing nudging PRs
114
+
Nudging feature is using renovate `https://docs.renovatebot.com/` to actually do the job,
115
+
for which you can customize some options specified in ConfigMap in your namespace.
116
+
117
+
Only following options are possible to customize via ConfigMap (for more details about those options refer to `https://docs.renovatebot.com/`.):
118
+
* automerge
119
+
* automergeType
120
+
* commitMessagePrefix
121
+
* commitMessageSuffix
122
+
* fileMatch,omitempty
123
+
* ignoreTests
124
+
* platformAutomerge
125
+
126
+
127
+
.There are two possible ways to customize:
128
+
. Create namespace wide config in ConfigMap named `namespace-wide-nudging-renovate-config` which will be used for all nudged components in your namespace,
129
+
unless component specific config exists.
130
+
. Create config for specific nudged component in ConfigMap in your namespace and add annotation `build.appstudio.openshift.io/nudge_renovate_config_map` to the component with value of ConfigMap name and
131
+
it will be used for the component in your namespace.
132
+
133
+
Both ConfigMaps have the same format, where keys are allowed options in the list above, values
134
+
are always strings, so in case option is boolean, you will have to specify "true" or "false".
135
+
136
+
When you have either of ConfigMaps, nudging default renovate config will use additionally options from your ConfigMap.
0 commit comments