Ben Firshman
853d8ad280
Namespace tests inside a project
...
So it doesn't delete all your containers for every test. Cool.
2014-01-02 15:27:51 +00:00
Aanand Prasad
d4f3ed1840
Fix 'fig up' behaviour
...
- For each service, creates a container if there are none (stopped OR
started)
- Attaches to all containers (unless -d is passed)
- Starts all containers
- On ^C, kills all containers (unless -d is passed)
2013-12-31 13:02:08 +00:00
Aanand Prasad
9ed6538693
Extract docker URL logic, use it in tests as well
2013-12-31 12:37:17 +00:00
Aanand Prasad
0cafdc9c6c
plum -> fig
2013-12-20 20:28:24 +00:00
Aanand Prasad
13a30c327a
Container.name strips the leading slash
2013-12-20 19:33:41 +00:00
Aanand Prasad
8291d36eaf
Fix stray test regression
2013-12-20 19:30:31 +00:00
Aanand Prasad
d3346fa174
up, start, stop, kill and rm all accept a list of services
2013-12-20 18:32:55 +00:00
Aanand Prasad
81093627fe
Implement kill and rm
2013-12-20 18:30:59 +00:00
Aanand Prasad
a4710fa9e1
'plum up' is now the special magic
...
'start' and 'stop' are now analogous to their Docker namesakes.
2013-12-20 18:30:59 +00:00
Ben Firshman
507940535f
Tag built images and use them when starting
...
A basic measure to get round the fact that adding isn't cached. Once
Docker supports cached adds, this is probably redundant.
2013-12-20 16:23:40 +00:00
Ben Firshman
326438b170
Pick correct numbers for one off containers
2013-12-20 12:55:45 +00:00
Ben Firshman
2f28265d10
Add support for differentiating one-off containers
...
This is a basic start, the API is pretty shonky.
2013-12-20 10:46:55 +00:00
Ben Firshman
2d2d81d33f
Rename "service collection" to "project"
2013-12-19 16:55:12 +00:00
Ben Firshman
c488710625
Add project option to services
2013-12-19 15:16:17 +00:00
Ben Firshman
6c551a200b
Do not allow underscores in names
2013-12-19 14:47:43 +00:00
Ben Firshman
a5fc880d10
Refactor service to add a container object
2013-12-18 18:37:48 +00:00
Ben Firshman
5e1e4a71e0
Rename ServiceTest
2013-12-18 17:01:50 +00:00
Ben Firshman
87c46e281c
Add support for specifying external port
2013-12-18 11:14:34 +00:00
Ben Firshman
772585109d
Moved tests to root directory
2013-12-14 16:34:24 +00:00