Commit Graph

20 Commits (c0d373f258b798c97cf7f97ab65a1a728201dbfb)

Author SHA1 Message Date
chouseknecht 18343c4e5a
Improved documentation for returned actions. 8 years ago
chouseknecht b9696a349f
When build true call docker-compose build, and add nocache option. 8 years ago
chouseknecht 81b3022eb5
Set version_added 8 years ago
chouseknecht 7e93dbb264
Add pull option to pull images prior to evaluating service state. 8 years ago
jjshoe 90b8281a51 Fixed a typo (#4168) 8 years ago
chouseknecht 7f97cf4d04
Fix compose_version error. Check has compose before checking version. 9 years ago
Stefan Hajnoczi 8254e2b547 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>
9 years ago
Chris Houseknecht 964d9b3a6d Fix #3906 - Enforce required minimum compose version. (#3925)
* Fix #3906 - Require minimum compose version.

* Fix typo in message text.
9 years ago
chouseknecht 904d947172 Fix for issue 3740. Make docker_service more resilient when targeting older API versions. 9 years ago
Shubham 64b104ac37 remove module argument, fix #3682 (#3683) 9 years ago
Matt Martz 9b6a7eb4f9 Revert "Fix doc strings spacing."
This reverts commit 127d518011.
9 years ago
chouseknecht 127d518011
Fix doc strings spacing. 9 years ago
chouseknecht a81d0a6809
Fix doc strings. Missing requirements and doc fragment reference. 9 years ago
chouseknecht 3a5dd00076
Fixed files/project_files naming. Correct name is files. 9 years ago
chouseknecht 22853efeed
Flip version added back to 2.2 to make tests pass. 9 years ago
chouseknecht 834d2fb9fe
Moving version added to 2.1 9 years ago
chouseknecht 282b2d45df
Added actions to RETURN docs. Show actions when debug or check mode. 9 years ago
chouseknecht c2d2189274
Removed use of --diff. Replaced 'diff' in output with 'actions'. Only show 'actions' in output if debug true. 9 years ago
chouseknecht f69b352341 Removed fail method. Combined recreate and force_recreate params. 9 years ago
chouseknecht d9b026dcef Adding docker_service 9 years ago