Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions renovate.json
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"
Copy link
Contributor Author

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.

],
"baseBranches": ["main"],
"useBaseBranchConfig": "merge",
"commitMessageExtra": "",
"prBodyColumns": ["Package"],
Comment on lines +7 to +8
Copy link
Contributor Author

Choose a reason for hiding this comment

The 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"],
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • git reset is needed to avoid transitive dependencies leaking in from the bump renovate did.
  • make force-bump will pull the openstack-k8s-operators related deps from the 18.0-fr1 branch.

"fileFilters": ["**/go.mod", "**/go.sum", "**/*.go", "**/*.yaml"],
"executionMode": "update"
"executionMode": "branch"
Copy link
Contributor Author

Choose a reason for hiding this comment

The 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.

}
}