Aanand Prasad
bac37a19e3
Fix method name in start()
2013-12-19 12:39:23 +00:00
Aanand Prasad
ae0fa0c447
Hide stack traces for Docker API errors
2013-12-19 12:36:38 +00:00
Aanand Prasad
fb69512008
Set port_bindings to None when starting a one-off container in 'plum run'
2013-12-19 12:26:58 +00:00
Aanand Prasad
beaa1dbc14
Fix run: use Container.logs(), explicitly start container
2013-12-19 12:26:13 +00:00
Aanand Prasad
730f9772f9
plum start runs in foreground by default
...
Also fixed LogPrinter regressions. Sorry for not doing that in a
separate commit.
Also made 'plum logs' show backlog. Yep, rolled that right in too. Gonna
go whip myself now.
2013-12-18 19:03:34 +00:00
Ben Firshman
26ea08087a
Remove build target from logs
2013-12-18 18:46:53 +00:00
Ben Firshman
dd767aef34
Remove extraneous new lines when building
2013-12-18 18:45:25 +00:00
Ben Firshman
f89e4bc70f
Add quotes to build output
2013-12-18 18:44:33 +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
Aanand Prasad
e5642bd8b7
Show a sensible error when an unknown service name is given to 'run'
2013-12-18 16:20:03 +00:00
Aanand Prasad
4cc906fcd2
ps only lists running containers
2013-12-18 16:20:03 +00:00
Aanand Prasad
64253a8290
Basic log output
2013-12-18 16:20:03 +00:00
Aanand Prasad
23c3dc430b
Add texttable to requirements.txt
2013-12-18 16:20:03 +00:00
Aanand Prasad
f0df5c6079
Refactor container retrieval / name parsing
2013-12-18 16:20:03 +00:00
Ben Firshman
3458dd2fad
Print build output
2013-12-18 16:12:53 +00:00
Ben Firshman
cb366eed7a
Add logging to start and stop
2013-12-18 13:13:40 +00:00
Ben Firshman
90130eec65
Ignore non-plum containers
2013-12-18 12:01:54 +00:00
Ben Firshman
24a98b0552
Pull images if they do not exist
2013-12-18 11:37:51 +00:00
Ben Firshman
785cb12833
Add missing format var in error
2013-12-18 11:15:59 +00:00
Ben Firshman
87c46e281c
Add support for specifying external port
2013-12-18 11:14:34 +00:00
Ben Firshman
120d57e856
Change plum up to plum start
2013-12-17 15:42:46 +00:00
Ben Firshman
4fdd2dc077
Print output from run
2013-12-17 14:13:12 +00:00
Ben Firshman
3e680a2c7a
Fix container naming
2013-12-17 12:12:13 +00:00
Ben Firshman
d3bd7f3239
Remove containers after stopping them
2013-12-17 12:12:05 +00:00
Ben Firshman
accc1a219a
Perform all operations against stopped containers
2013-12-17 12:09:45 +00:00
Ben Firshman
6abec85703
Fix variable naming in service collection
2013-12-17 11:45:13 +00:00
Ben Firshman
6a2d528d2e
Add port binding
2013-12-16 11:25:01 +00:00
Ben Firshman
ee0ac206e0
Add build log message
2013-12-16 10:51:22 +00:00
Ben Firshman
96ca74ccc8
Fix readme example
2013-12-14 16:46:50 +00:00
Ben Firshman
03e16c4981
Revert "Use RUN in readme example"
...
This reverts commit 539f1acdb8
.
2013-12-14 16:46:34 +00:00
Ben Firshman
772585109d
Moved tests to root directory
2013-12-14 16:34:24 +00:00
Ben Firshman
5c5bb9a02f
Add basic run command
2013-12-13 20:55:50 +00:00
Ben Firshman
21159b801f
Fix readme formatting
2013-12-13 20:55:50 +00:00
Ben Firshman
539f1acdb8
Use RUN in readme example
2013-12-13 20:55:50 +00:00
Ben Firshman
88b04aaa9c
Add support for building images
2013-12-13 20:55:49 +00:00
Ben Firshman
1727586dd0
Add start and stop to docs
2013-12-13 20:35:54 +00:00
Ben Firshman
8005254138
Set up default logging
2013-12-13 19:19:44 +00:00
Ben Firshman
3b654ad349
Add basic CLI
2013-12-11 14:25:32 +00:00
Ben Firshman
523fb99d79
Fix URL in setup.py
2013-12-11 09:39:17 +00:00
Ben Firshman
c2e9353760
Allow options to passed to start_container
2013-12-10 21:01:56 +00:00
Ben Firshman
bf2505d15d
Add options for containers to Service
2013-12-10 21:01:55 +00:00
Ben Firshman
b59436742b
Reorganise tests
2013-12-10 21:01:55 +00:00
Ben Firshman
3a3767f59d
Fix readme formatting
2013-12-09 21:51:17 +00:00
Ben Firshman
3e6b3bae83
Add warning to readme
2013-12-09 21:50:36 +00:00
Ben Firshman
9a81623581
Create links when creating containers
2013-12-09 21:39:11 +00:00
Ben Firshman
f0768d4dca
Add test for ServiceCollection.get
2013-12-09 18:43:10 +00:00
Ben Firshman
2199b62783
Test that names are created correctly
2013-12-09 18:42:33 +00:00
Ben Firshman
39497f6ee7
Add start and stop to ServiceCollections
2013-12-09 17:48:15 +00:00
Ben Firshman
4cf072a013
Move ServiceTestCase to separate module
2013-12-09 17:36:44 +00:00