Re: [swift-dev] Dockerized Swift, Build Times and Other Notes Regarding CI

2015-12-21 Thread Max Moiseev via swift-dev
Hi Tom, > With docker compose, the following commands: > >> docker build -t swift-dev-image . >> docker create -it --name development -v >> /my/absolute/path/to/swift:/container/mount-point swift-dev-image >> docker start -ai development > > Become: > >> docker-compose up Fair enough (for som

Re: [swift-dev] Dockerized Swift, Build Times and Other Notes Regarding CI

2015-12-19 Thread Brad Erickson via swift-dev
Thanks! The non-prebuilts work well. It took a while for me to work out the details. The 14.04 prebuilt container is having some issues which is why it's still private on Hub. I can make it public or add you to it. I must be missing something in mimicking the buildbot_linux preset minus tests, bec

Re: [swift-dev] Dockerized Swift, Build Times and Other Notes Regarding CI

2015-12-19 Thread swizzlr via swift-dev
This is great! On that note I think I will change the swiftdocker/swift-dev container to offer just a development dependency environment, in favour of the work you’re doing there for prebuilt stuff, and I’ll make a repo building off of what you’ve done there with different environments for a qui

Re: [swift-dev] Dockerized Swift, Build Times and Other Notes Regarding CI

2015-12-19 Thread Brad Erickson via swift-dev
Hi Tom/Max, I've made a dockerized Swift build using the build_bot preset for Ubuntu 14/15 and Fedora: https://github.com/eosrei/docker-swift-dev-buildbot and https://hub.docker.com/r/eosrei/swift-dev-buildbot/ The three containers could be used right now for CI. There is some work on a "preheate

Re: [swift-dev] Dockerized Swift, Build Times and Other Notes Regarding CI

2015-12-18 Thread Thomas Catterall via swift-dev
Hi Max, Thanks for your reply and encouragement! I will do just that. Docker volumes allow you to specify volumes to mount inside the container; where this shines is mounting host directories into the container, so that one can edit files on the host and see the changes reflected immediately in

Re: [swift-dev] Dockerized Swift, Build Times and Other Notes Regarding CI

2015-12-18 Thread Max Moiseev via swift-dev
I personally think it would be of great help to newcomers to have a containerized development environment to quickly start experimenting. Non-newcomers would also benefit from it by being able to test their changes on different versions of Linux, for example. I would prepare a set of scripts an

[swift-dev] Dockerized Swift, Build Times and Other Notes Regarding CI

2015-12-18 Thread swizzlr via swift-dev
Hi all, I’ve been working on running Swift applications and building the Swift toolchain in docker containers. I’d like to share some thoughts and notes I’ve made, since they may be of interest to others. Especially to those of you stubbornly clinging to 10.10 on 2013 era Macbook Airs which hav