Dockerized Swift, Build Times and Other Notes Regarding CI


(Brad Erickson) #1

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 "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


(Fastmail) #2

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 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 "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


(Brad Erickson) #3

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
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 "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