-
Notifications
You must be signed in to change notification settings - Fork 102
[renovate]Run make force-dep #1178
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,18 +1,20 @@ | ||
| { | ||
| "extends": [ | ||
| "github>openstack-k8s-operators/renovate-config:default.json5" | ||
| "github>openstack-k8s-operators/renovate-config:stable.json5" | ||
| ], | ||
gibizer marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| "baseBranches": ["main"], | ||
| "useBaseBranchConfig": "merge", | ||
| "commitMessageExtra": "", | ||
| "prBodyColumns": ["Package"], | ||
|
Comment on lines
+7
to
+8
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. These are needed to hide the incorrect information renovate knows about the generated bump. Renovate does the bump to the latest version regardless the post update tasks and try to record that into the commit message. That bump is overwritten by the make force-dep post update task. |
||
| "packageRules": [ | ||
| { | ||
| "matchPackageNames": ["github.com/openstack-k8s-operators/openstack-operator/apis"], | ||
| "enabled": false | ||
| } | ||
| ], | ||
| "postUpgradeTasks": { | ||
| "commands": ["make gowork", "make tidy", "make manifests generate"], | ||
| "commands": ["git reset --hard HEAD","make force-bump", "make gowork", "make tidy", "make manifests generate"], | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
| "fileFilters": ["**/go.mod", "**/go.sum", "**/*.go", "**/*.yaml"], | ||
| "executionMode": "update" | ||
| "executionMode": "branch" | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this means the post update task only runs one to all go.mod update separately. |
||
| } | ||
| } | ||
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.
Defined in openstack-k8s-operators/renovate-config#24 in a way that it only allows bump of deps within the openstack-k8s-operators org.