-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
feat: buildkite plugin renovation #1874
Conversation
@KevinGrandon could you take a look here? I think this is nearly good to merge, however I don't think the current
Do you want it to check every *.yml file inside cc @lox @toolmantim |
Codecov Report
@@ Coverage Diff @@
## master #1874 +/- ##
======================================
Coverage 100% 100%
======================================
Files 110 114 +4
Lines 4941 5010 +69
======================================
+ Hits 4941 5010 +69
Continue to review full report at Codecov.
|
I have tested this against a couple of "real" repositories I found that use versioned buildkite plugins, including one of @toolmantim's: renovate-tests/docker-buildkite-plugin#4 I will merge this PR with the buildkit option disabled by default and leave it as opt-in until one of you gives it the thumbs-up to be enabled by default. |
This is great! The logic all looks AOK. Sorry if this is a silly question… I'm new to Renovate, but I'm wondering how release notes / commits are picked up? I noticed in renovate-tests/docker-buildkite-plugin#4 that there's no notes or commits, but there's notes in the Github releases: https://github.com/buildkite-plugins/docker-buildkite-plugin/releases |
@toolmantim release notes/changelog are picked up from the source GitHub repository normally. I also noticed that they were missing from that PR and meant check it later but forgot to note it in the Future work above. There's perhaps a small mismatch between the tag used and the release note slug, for instance - but in theory it should work fine and the same way as for npm. |
This is awesome! Thanks for putting this together so quickly.
Sorry for not being clear earlier.
In addition, people may put pipelines outside of this folder, possibly in a top level pipelines/ folder. It seemed that renovating every yml file in an entire repo might not make sense, or possibly conflict with other systems. After thinking about it a bit more and looking at other renovate config options, the following would be great to have:
|
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.
Left some comments above about pipeline file location, but this is a great start and would be totally reasonable to turn on and enable. Thanks so much for the quick turnaround here, this is amazing.
@KevinGrandon thanks for the quick feedback too. i was intending to leave the meat of the PR for you but.. once I got started it was hard to know where to stop :) Re the file search, I agree that starting with any yml in I have a generic feature coming up for manually configuring other filenames/locations for any package manager, so we can pick up the buildkite one later that way, as you suggest. |
🎉 This PR is included in version 12.7.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
This PR adds initial support for buildkite plugin renovation.
It supports
plugin-name
ormy/plugin-name
plugins, and fully specified semver versions only (e.g.v1.3.2
). Currently it will always propose an upgrade to the latest version available, e.g. if current version is v1.3.1 and both v1.3.2 and v2.0.0 exist then v2.0.0 will be proposed.Future work:
plugins:
entryCloses #1869