Skip to content
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

only mount docker volumes on deploy #12

Merged
merged 2 commits into from
Jan 29, 2015

Conversation

michaelshobbs
Copy link
Contributor

Apologies for the other PR. Accidentally opened from my master branch.

A few days ago dokku added running dokku-args plugins for the build phase. This seems to have caused an issue with (at least) heroku-buildpack-python. (ref: dokku/dokku#906)

Additionally, dokku now calls docker-args plugins with a build phase passed as an argument. See: https://github.com/progrium/dokku/blob/fb3492c8242521dec4ed8428983ea752db710f86/dokku#L87

This patch will only mount volumes if we get the deploy call. This is tested in my previously broken environments.

This seems to also cause an issue later on in the pipeline with /build/builder:
https://github.com/progrium/buildstep/blob/091eafdad7ccf5f4584aa21704397fd1dc1fd208/builder/builder#L70

@michaelshobbs
Copy link
Contributor Author

@dyson ping. thoughts on this?

@dyson
Copy link
Owner

dyson commented Jan 29, 2015

Awesome thanks for this. I'll be deploying a new site using an updated dokku this weekend so will have a close look at this and see what issues I run into.

This will have implications for my https://github.com/dyson/dokku-docker-options plugin as well.

dyson added a commit that referenced this pull request Jan 29, 2015
Don't mount docker volumes on build phase.
@dyson dyson merged commit ddaba92 into dyson:master Jan 29, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants