-
-
Notifications
You must be signed in to change notification settings - Fork 2k
add docker-args pluginhook call to build phase #896
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
Conversation
|
Looks good to me. Merging. |
add docker-args pluginhook call to build phase
|
FYI, this change may be dangerous with the current implementation of the https://github.com/dyson/dokku-docker-options plugin. |
|
Correct, you'll need to handle that. I believe @michaelshobbs noticed this and may/may not have a fix. |
|
@vincentfretin see #906 and the subsequent linked PR to that plugin. @josegonzalez do you think is this enough to revert this change? |
|
I don't think so. Developers depending upon the |
|
Hey guys, just to clarify, passing phase as an argument is the solution dokku is taking moving forward? I saw mention of perhaps doing doing docker-args-phase in #906. I am looking to fix https://github.com/dyson/dokku-persistent-storage and https://github.com/dyson/dokku-docker-options this weekend. dyson/dokku-persistent-storage#12 looks good to me although docker-options will require a little more or a fix. Also from a quick grep of the replo build, deploy and run are the only valid phases correct? |
|
Those are currently the only valid phases. We may add more in the future, but those will be documented. Either way, as soon as we make a release, those two plugins will be broken on stable (they currently work for latest stable release but not master). @michaelshobbs thoughts on moving this one forward? We can either move to having the phase in the pluginhook name - and break all old plugins - or continue with our method and say "screw it". I defer to you on this, though the former will require a minor release. |
|
What about calling both and deprecate in the next major? Or am I stupid? The latter is a valid response 😄 |
|
Fine with me, so long as plugin developers remember to move and not try to support both :P |
|
I'll do this and add it to the docs somewhere. |
|
Yep I think that's a good idea. We have a reasonable list of plugins in the docs, so could easily reach out and let them know of the changes if need be. It could be a frustrating change for people otherwise. |
closes #515