-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use custom renovate config maps for additional renovate options #391
base: main
Are you sure you want to change the base?
Conversation
34ef12b
to
db862a2
Compare
What is the "namespace one"? |
NamespaceWideRenovateConfigName = "namespace-wide-nudging-renovate-config" |
db862a2
to
1cc182f
Compare
namespace one will be used if there isn't component's annotation with specific config map KONFLUX-4372 KONFLUX-4980 Signed-off-by: Robert Cerven <[email protected]>
1cc182f
to
a441fcd
Compare
Enabled: true, | ||
FollowTag: buildResult.BuiltImageTag, | ||
CommitMessagePrefix: target.ComponentCustomRenovateOptions.CommitMessagePrefix, | ||
CommitMessageSuffix: fmt.Sprintf(", image created from '%s' \n %s", gitRepoAtShaAnnotation, target.ComponentCustomRenovateOptions.CommitMessageSuffix), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cross-posting from Slack - can we break up the commit message to multiple lines to avoid breaking gitlint users? Something like this?
<Normal commit message>
Image created from:
<git repo @ commit sha>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
well renovate is ignoring even new line which I have there, I think it basically works just with single line commit
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe we want CommitBody
rather than CommitMessageSuffix
? https://docs.renovatebot.com/configuration-templates/#commit-message
namespace one will be used if there isn't component's annotation with specific config map
KONFLUX-4372
Checklist:
make test
passes