-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
dokku-persistent-storage plugin with latest buildstep fails in build phase #906
Comments
The more I think about it, the more I feel we should have separate |
How would we migrate from the current situation? The docker-args plugin is kind of special snowflake in the ecosystem as well. |
Well we could just tag a minor release. Thats what semver is for, right? |
Suppose that could work. 😄 |
+1 for docker-args-PHASE pluginshooks |
link #896 |
@josegonzalez @vincentfretin Thoughts on this? |
I think that's totally fine @michaelshobbs to have to add the multiple docker-args-PHASE files if you want to run during multiple phases; it's not a big problem. Plus, it will make people think more about if it needs to be run during those phases and if any unique things have to happen during the phase. Also, the added bonus is when you looks at a pluginhooks source you get a very quick overview of what phases it runs in. |
Makes sense. Just wanted to make sure we're consciously moving in this direction. 😄 |
+1 :) |
I agree with @dyson |
…hooks support both docker-args PHASE and docker-args-PHASE for the time being. closes #906
- See dokku/dokku#906 for more information.
I believe our change to include docker-args in the build phase is causing some issues.
ref: https://github.com/progrium/dokku/blob/fb3492c8242521dec4ed8428983ea752db710f86/dokku#L58-L59
From
/build/builder
(using heroku-buildpack-python):From
/build/builder
(using heroku-buildpack-ruby):Same heroku-buildpack-ruby run but without the volume mounted:
So the python buildpack is doing something with the
/app
dir and buildstep is as well. (https://github.com/progrium/buildstep/blob/091eafdad7ccf5f4584aa21704397fd1dc1fd208/builder/builder#L70)I have a PR open against dokku-persistent-storage (dyson/dokku-persistent-storage#12) but I wonder if we're just asking for more problems? Perhaps documenting the pluginhook phase argument would be helpful as well? In any case, I think we may run into more of these issues. If nothing else, it's documented here.
EDIT: for clarification
The text was updated successfully, but these errors were encountered: