Add initial test-integration suites
Uses go-check in order to separate integration tests into suites, and have Setup and TearDown operations (on Suites and Tests) ; and use libcompose to start the external dependencies to test on (like consul, marathon, etcd, some http images, etc..). - Update Godeps to get dependencies needed for the use of libcompose - Setup initial suites and go-check + libcompose mini-framework - Add some hacks related to libcompose, will be fixed later (when fixed upstream) Signed-off-by: Vincent Demeester <vincent@sbr.pm>
This commit is contained in:
parent
a5a8d6929e
commit
ad60b301b7
17 changed files with 681 additions and 0 deletions
21
integration/resources/compose/consul.yml
Normal file
21
integration/resources/compose/consul.yml
Normal file
|
@ -0,0 +1,21 @@
|
|||
consul:
|
||||
image: progrium/consul
|
||||
command: -server -bootstrap -advertise 12.0.0.254 -log-level debug -ui-dir /ui
|
||||
ports:
|
||||
- "8400:8400"
|
||||
- "8500:8500"
|
||||
- "8600:53/udp"
|
||||
expose:
|
||||
- "8300"
|
||||
- "8301"
|
||||
- "8301/udp"
|
||||
- "8302"
|
||||
- "8302/udp"
|
||||
|
||||
registrator:
|
||||
image: gliderlabs/registrator:master
|
||||
command: -internal consulkv://consul:8500/traefik
|
||||
volumes:
|
||||
- /var/run/docker.sock:/tmp/docker.sock
|
||||
links:
|
||||
- consul
|
Loading…
Add table
Add a link
Reference in a new issue