Chris Houseknecht
1e4b8c13a3
Improved build and pull error handling
2016-12-08 11:25:18 -05:00
shaung
bcbeed244b
Fix #4504 Respect timeout option when starting/stopping/restarting containers.
2016-12-08 11:25:13 -05:00
Chris Houseknecht
f33828e753
Cast scale value to int. Fixes #4592 .
2016-12-08 11:25:11 -05:00
Chris Houseknecht
b01af0d747
Make project start and stop error handling more resilient, and improve message text.
2016-12-08 11:25:11 -05:00
Linus Arver
8da17b750d
docker_service: fix files/project_files typo
...
The original decision to rename from `project_files' to `files' was in
3a5dd0007634c9d4e379f20cac77c8fd64b67f42.
2016-12-08 11:24:51 -05:00
chouseknecht
a6bfeea1c4
Improved documentation for returned actions.
2016-12-08 11:24:47 -05:00
chouseknecht
cd7b34547d
When build true call docker-compose build, and add nocache option.
2016-12-08 11:24:47 -05:00
chouseknecht
df09b4f668
Set version_added
2016-12-08 11:24:47 -05:00
chouseknecht
1670d9b030
Add pull option to pull images prior to evaluating service state.
2016-12-08 11:24:47 -05:00
jjshoe
d8b752b3cf
Fixed a typo ( #4168 )
2016-12-08 11:24:43 -05:00
chouseknecht
3d5f84c528
Fix compose_version error. Check has compose before checking version.
2016-12-08 11:24:38 -05:00
Stefan Hajnoczi
7c4a469174
docker_service: make PyYAML requirement explicit
...
The "Developing Modules" documentation states:
Include a minimum of dependencies if possible. If there are
dependencies, document them at the top of the module file, and have
the module raise JSON error messages when the import fails.
When docker_service runs on a remote host without PyYAML it crashes with
ImportError.
This patch raises a JSON error message when import fails, but only if
the PyYAML module is actually used. It's only needed when the
"definition" parameter is given.
Signed-off-by: Stefan Hajnoczi <stefanha@gmail.com>
2016-12-08 11:24:37 -05:00
Chris Houseknecht
b5820c7398
Fix #3906 - Enforce required minimum compose version. ( #3925 )
...
* Fix #3906 - Require minimum compose version.
* Fix typo in message text.
2016-12-08 11:24:36 -05:00
chouseknecht
d0da544aef
Fix for issue 3740. Make docker_service more resilient when targeting older API versions.
2016-12-08 11:24:31 -05:00
Shubham
8a6237955d
remove module argument, fix #3682 ( #3683 )
2016-12-08 11:24:29 -05:00
Matt Martz
190f24f30e
Revert "Fix doc strings spacing."
...
This reverts commit 127d518011224289f7917fd3b2ec8ddf73c7dd17.
2016-12-08 11:24:28 -05:00
chouseknecht
26392077c0
Fix doc strings spacing.
2016-12-08 11:24:28 -05:00
chouseknecht
8e6d00f28e
Fix doc strings. Missing requirements and doc fragment reference.
2016-12-08 11:24:28 -05:00
chouseknecht
9a021b4181
Fixed files/project_files naming. Correct name is files.
2016-12-08 11:24:27 -05:00
chouseknecht
5837f744e0
Flip version added back to 2.2 to make tests pass.
2016-12-08 11:24:27 -05:00
chouseknecht
018c2f8f73
Moving version added to 2.1
2016-12-08 11:24:27 -05:00
chouseknecht
e8d49261e3
Added actions to RETURN docs. Show actions when debug or check mode.
2016-12-08 11:24:27 -05:00
chouseknecht
2860f57551
Removed use of --diff. Replaced 'diff' in output with 'actions'. Only show 'actions' in output if debug true.
2016-12-08 11:24:27 -05:00
chouseknecht
be24f83a41
Removed fail method. Combined recreate and force_recreate params.
2016-12-08 11:24:27 -05:00
chouseknecht
50ef604713
Adding docker_service
2016-12-08 11:24:27 -05:00