traderinteractive / mongo-queue-php

PHP message queue using MongoDB as a backend.
MIT License
47 stars 23 forks source link

Create a docker-based build. #26

Closed nubs closed 10 years ago

nubs commented 10 years ago

This helps make it easier to run this build by removing the necessity to setup and run a local mongo server.

yonderblue commented 10 years ago

hm travis didn't run this

nubs commented 10 years ago

odd - I just tried doing a --amend. Maybe it'll pick it up...

yonderblue commented 10 years ago

Any reason you can't install the docker stuff and then run it all in the travis build? Hell we install all of mono over in the C# one..

nubs commented 10 years ago

It doesn't look simple to do and appears to be very fragile. https://github.com/spotify/helios/blob/master/.travis.sh is an example of what that would look like. I'd rather wait on https://github.com/travis-ci/travis-ci/issues/1418 before we attempt it.

nubs commented 10 years ago

Failure was mongo being down - restarted it.

yonderblue commented 10 years ago

I'd say give it a shot with the simple apt-get install docker.io or whatever, i didn't have to configure anything on my machine, if it works it works, otherwise we can wait.

nubs commented 10 years ago

travis's environment is different - that issue mentions the problems that occur trying to do it. And if travis updates its environment it could break on us pretty easily. I don't want that kind of fragility in our automated build.

nubs commented 10 years ago

Build passes

yonderblue commented 10 years ago

see I think id be worth it in there, even if its a little config, their system can always make changes that break our builds, but i'd rather avoid the discussion.