Dockerized Swift, Build Times and Other Notes Regarding CI

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
Docker Hub The three containers
could be used right now for CI.

There is some work on a "preheated" container:
https://github.com/eosrei/docker-swift-dev-buildbot/blob/master/14.04/prebuilt/Dockerfile
The Docker Hub for that container is currently private.

-Brad

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 quick start experience for development with scripts and compose.

Tom

···

On 19 Dec 2015, at 14:23, Brad Erickson <brad@eosrei.net> wrote:

Hi Tom/Max,

I've made a dockerized Swift build using the build_bot preset for Ubuntu 14/15 and Fedora: GitHub - 13rac1/docker-swift-dev-buildbot: Docker containers building the Apple Swift language for local dev or automated builds and Docker Hub The three containers could be used right now for CI.

There is some work on a "preheated" container: docker-swift-dev-buildbot/Dockerfile at master · 13rac1/docker-swift-dev-buildbot · GitHub The Docker Hub for that container is currently private.

-Brad

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, because it
ends up doing a full build. Testing is frustrating due to the consistent
Swift project build failures. So, I have to make sure the current checkout
works, then build the prebuilt, then test it; which ends up taking about
5-6hrs. It's actually why I haven't looked at it in a few days. I hope this
project gets pre-merge CI enabled ASAP.

-Brad Erickson

···

On Sat, Dec 19, 2015 at 12:16 PM, swizzlr <me@swizzlr.co> wrote:

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 quick start experience for development with scripts and
compose.

Tom

On 19 Dec 2015, at 14:23, Brad Erickson <brad@eosrei.net> wrote:

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
Docker Hub The three containers
could be used right now for CI.

There is some work on a "preheated" container:
docker-swift-dev-buildbot/Dockerfile at master · 13rac1/docker-swift-dev-buildbot · GitHub
The Docker Hub for that container is currently private.

-Brad