Commit Graph

21 Commits (ec158e3ed83eaded352d59cb3c228704b5c03cfe)

Author SHA1 Message Date
Linus Arver 74c8954d86 docker_service: fix files/project_files typo
The original decision to rename from `project_files' to `files' was in
3a5dd00076.
8 years ago
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. 8 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>
8 years ago
Chris Houseknecht 964d9b3a6d Fix #3906 - Enforce required minimum compose version. (#3925)
* Fix #3906 - Require minimum compose version.

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