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
Create 0.4 for branches for the currently available plugins #1675
Comments
👍 Does that mean, that the plugins will be available as docker images with a 0.4 tag? Is drone going to use them automatically? |
Not exactly. The |
I see, thanks! |
But to directly answer the question, it will work out of the box with 0.4 and the same for 0.5 when the plugin is migrated. |
I updated the list above. Note that some plugins have already been ported to 0.5 but the code is sitting in a |
NPM has an open pull request drone-plugins/drone-npm#9 Slack Blame has work on https://github.com/drone-plugins/drone-slack-blame/tree/feature/0.5-update |
So for the migration to 0.5 builds of the existing plugins there is only pushover pending. It's just pending because the author of the used go lib has removed the lib from github :( |
This is my initial thoughts on which plugins will be managed under the offiicial namespace. I will individually message top contributors of projects not in this list to take individual ownership. There isn't really any well-defined criteria for what is official vs unofficial. These are some of the criteria I'm considering:
The list ended up being a bit longer than initially expected, however, I expect most of these plugins will be mostly frozen with the exception of bug fixes. There will be a major focus on stability and I plan to heavily encourage developers to fork and extend as opposed to supporting every possible feature or configuration option. official
maybe official
|
Feel free to transfer the ownership to drone-community :) |
This makes sense to me, and we can bend either way as needed. Related: if we're making drone-gcr official, we should probably do the same for drone-ecr. Alternatively, I believe one or both of these can be done with drone-docker now. If that is indeed the case, we should nuke both of them. Removing just one might lead to confusion as to why the other exists. These two are getting lots of usage right now since they're built into two popular platforms and are incredibly cheap. I don't feel strongly, but I figured I'd cast "Unofficial" votes for:
Official votes:
|
I think I'll probably test it out with gcr first, which may end up being just a simple bash script wrapper. We'll see though. I'm definitely open to ecr. EDIT for reference, this is how we could wrap the docker plugin for gcr and ecr. We can inherit the docker plugin image, and invoke a wrapper script that can then invoke the plugin:
where the #!/bin/sh
# map some gcr specific variable names to their docker equivalents
export DOCKER_USERNAME=_json_key
export DOCKER_PASSWORD=$GCR_TOKEN
export DOCKER_REGISTRY=gcr.io
# invoke the docker plugin
/bin/drone-docker "$@" |
I need the google-cloudstorage plugin, so I'm having a go at porting it to 0.5 |
So this is our final list of official 0.5 plugins:
|
Just to clarify, the other remaining plugins are intended to be moved to the community, just the list mentioned one comment above will be maintained by the drone-plugins organization. |
This rewrite was done make a wrapper over the drone-docker plugin as discussed in harness/gitness#1675 (comment)
Is there any instructions on what it takes to migration/upgrade a plugin from 0.4 to 0.5? Specifically major changes that need to be done? I have a custom (soon to be open sourced) Drone 0.4 Kubernetes plugin that is written (fortunately or not) with https://github.com/drone/drone-plugin-go. |
@tonglil no nothing really. If you look at the list above you'll see pull requests that update to 0.5. Its pretty painless for the most part. If you have any particular questions you can ask on gitter. |
https://github.com/drone/drone-plugin-starter that is a pretty good start, it's the blueprint for new 0.5 plugins |
I write some notification plugin like facebook, gtalk and line for drone |
@appleboy that is awesome. Hopefully we can have a plugin registry soon so that we can show them off to everyone! |
@bradrydzewski Awesome. I am looking forward to the plugin registry. |
Another two plugin as following for drone
|
I think we can close this, but if not, lets move to discourse |
Yeah it's fine to close it |
To track the progress of the branching for the 0.4 release I have opened this issue. Below you can see a list of plugins that have been branched or which should be branched before the migration to 0.5. Feel free to mark rows as done if I missed something!
Branch
drone-devpi(moved development)drone-pypi(moved development)Migrate
drone-devpi(moved development)drone-pypi(moved development)The text was updated successfully, but these errors were encountered: