bazooka-ci / bazooka

Continuous Integration and Continuous Deployment Server
http://docs.bazooka-ci.io/
MIT License
60 stars 5 forks source link

Replace links with Docker 1.9 bridge networks #283

Closed jawher closed 8 years ago

jawher commented 8 years ago

Bazooka used to rely on links to work:

This PR proposes to replace these links (which are to be considered a deprecated and legacy feature in Docker) with the usage of bridge networks:

bzk service start will create a bzk_net network if it doesn't exist, and attach the db, server and containers to it for them to be able to communicate.

The build flow was also modified so that the various build containers (orchestration, parser, ...) are attached to the same network when started.

This PR also adds:

jawher commented 8 years ago

Note: This PR depends on a proposed PR to go-dockercommand: https://github.com/bywan/go-dockercommand/pull/13

julienvey commented 8 years ago

LGTM :+1: Tested and works fine.

Will need to document installation options