summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Reorganize test directoriesefficiencyJoffrey F2015-09-2417-1759/+1764
| | | | | | | | More clearly separate unit and integration tests Allow splitting into multiple files Cleaner Signed-off-by: Joffrey F <joffrey@docker.com>
* Update before getting status infoJoffrey F2015-09-241-0/+1
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* smart objectsJoffrey F2015-09-246-16/+238
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* BuildContext cleanup. Added smart build function in efficiency.Joffrey F2015-09-245-35/+78
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Moved build context to efficiency moduleJoffrey F2015-09-244-172/+171
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Efficiency module hub, added smart pull and push methodsJoffrey F2015-09-244-2/+136
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Kickstart efficiency module with some utility functionsJoffrey F2015-09-245-2/+71
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Use bytes() for file pathsMoysés Borges2015-09-231-2/+7
| | | | Signed-off-by: Moysés Borges <moysesb@gmail.com>
* Updated tests for context.pyMoysés Borges2015-09-231-2/+4
| | | | | Signed-off-by: Moysés Borges <moysesb@gmail.com> Signed-off-by: Moysés Borges <moyses.furtado@wplex.com.br>
* Better handling of non-ascii filenamesMoysés Borges2015-09-231-5/+21
| | | | Signed-off-by: Moysés Borges <moyses.furtado@wplex.com.br>
* Normalize paths as byte arrays in context.pyMoysés Borges2015-09-231-1/+4
| | | | Signed-off-by: Moysés Borges <moysesb@gmail.com>
* Docs for create_context_from_pathMoysés Borges2015-09-231-0/+68
| | | | Signed-off-by: Moysés Borges <moyses.furtado@wplex.com.br>
* Simplified the validation logic for build contextsMoysés Borges2015-09-233-77/+5
| | | | Signed-off-by: Moysés Borges <moyses.furtado@wplex.com.br>
* Tests for utils/context.pyMoysés Borges2015-09-235-10/+49
| | | | Signed-off-by: Moysés Borges <moyses.furtado@wplex.com.br>
* Add support for building contexts objectsMoysés Borges2015-09-234-0/+226
| | | | Signed-off-by: Moysés Borges <moysesb@gmail.com>
* Merge pull request #765 from docker/api_1.20_supportJoffrey F2015-09-232-14/+24
|\ | | | | Support API version 1.20
| * Bump default API versionapi_1.20_supportJoffrey F2015-09-232-2/+1
| | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
| * Improve volume bindings integration testJoffrey F2015-09-221-21/+7
| | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
| * Fix volumes tests for API version >= 1.20Joffrey F2015-09-221-13/+38
| | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | Merge pull request #786 from ibuildthecloud/missing-apiJoffrey F2015-09-221-2/+2
|\ \ | | | | | | Add docker.api to setup packages
| * | Add docker.api to setup packagesDarren Shepherd2015-09-221-2/+2
|/ / | | | | | | Signed-off-by: Darren Shepherd <darren@rancher.com>
* | Merge pull request #777 from rutsky/patch-2Joffrey F2015-09-221-1/+1
|\ \ | |/ |/| specify default value of stream parameter of exec_start()
| * specify default value of stream parameter of exec_start()Vladimir Rutsky2015-09-181-1/+1
| | | | | | | | Signed-off-by: Vladimir Rutsky <vladimir@rutsky.org>
* | Merge pull request #780 from docker/contributingJoffrey F2015-09-223-1/+107
|\ \ | | | | | | [WIP] Contributing guidelines
| * | Amend version of contributing.md from feedbackcontributingJoffrey F2015-09-211-6/+34
| | | | | | | | | | | | | | | | | | | | | | | | - Add OS info request in reporting issues section - Add PR subsection about clear, logical commits - Add section describing how to set up a dev environment Signed-off-by: Joffrey F <joffrey@docker.com>
| * | Add flake8 make taskJoffrey F2015-09-212-1/+5
| | | | | | | | | | | | | | | | | | Fix 'make test' task to run a complete series of tests Signed-off-by: Joffrey F <joffrey@docker.com>
| * | Contributing document draftJoffrey F2015-09-211-0/+74
| | | | | | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | | Merge branch 'aanand-integration-test-fixes'Joffrey F2015-09-222-83/+87
|\ \ \ | |/ / |/| |
| * | Make volume binds tests work on any hostAanand Prasad2015-09-222-81/+81
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of creating the test directory directly on the host, create it by starting a container with the directory bind-mounted, so that it doesn't matter whether the daemon is local, in a VM or remote. This removes the need to make /tmp a volume in the test container, and to share it with the dind container. Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
| * | Only pull busybox in integration tests if we don't already have itAanand Prasad2015-09-221-2/+6
|/ / | | | | | | Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
* | Pin busybox version to use in integration testsJoffrey F2015-09-211-97/+65
| | | | | | | | | | | | Removed obsolete non-streaming build test Signed-off-by: Joffrey F <joffrey@docker.com>
* | Merge pull request #781 from docker/coverage-pinJoffrey F2015-09-211-0/+1
|\ \ | | | | | | Force coverage dependency to a version supporting py3.2
| * | Force coverage dependency to a version supporting py3.2coverage-pinJoffrey F2015-09-211-0/+1
|/ / | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | Merge pull request #772 from rutsky/patch-1Joffrey F2015-09-181-7/+7
|\ \ | | | | | | add missing dots at ends of command descriptions
| * | add missing dots at ends of command descriptionsVladimir Rutsky2015-09-161-7/+7
| | | | | | | | | | | | Signed-off-by: Vladimir Rutsky <vladimir@rutsky.org>
* | | Merge pull request #779 from rutsky/patch-4Joffrey F2015-09-181-1/+1
|\ \ \ | |_|/ |/| | fix network_mode 'none' value
| * | fix network_mode 'none' valueVladimir Rutsky2015-09-181-1/+1
|/ / | | | | Signed-off-by: Vladimir Rutsky <vladimir@rutsky.org>
* | Merge pull request #764 from docker/744-volume-api-supportJoffrey F2015-09-1615-104/+512
|\ \ | | | | | | Volume API support
| * | Improve volume cleanup logic744-volume-api-supportJoffrey F2015-09-161-4/+5
| | | | | | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
| * | Detail which exception is thrown by remove_volumeJoffrey F2015-09-161-1/+2
| | | | | | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
| * | Generic skip decorator for low API version accessible to all testsJoffrey F2015-09-1612-99/+98
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add simpler version comparison functions Add decorator to enforce minimum version in API methods Fix utils imports Add minimum_version decorators on API methods that needed it GroupAdd test requires API version >= 1.20 Signed-off-by: Joffrey F <joffrey@docker.com>
| * | Add documentation for volume API methodsJoffrey F2015-09-161-1/+66
| | | | | | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
| * | Modify unit tests suite to allow mock routes to optionally be method-awareJoffrey F2015-09-164-47/+339
| | | | | | | | | | | | | | | | | | | | | Added mock API routes for volumes API Add unit tests and integration tests for volume API Signed-off-by: Joffrey F <joffrey@docker.com>
| * | Basic volume API implementation.Joffrey F2015-09-153-1/+51
| |/ | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
| * Merge pull request #768 from ColinHuang/masterJoffrey F2015-09-151-1/+0
| |\ | |/ |/| Remove not exists file in MANIFEST.in
* | Remove not exists file in MANIFEST.inColin Huang2015-09-151-1/+0
|/ | | | Signed-off-by: Colin Huang <sidawei@gmail.com>
* GroupAdd testsJoffrey F2015-09-152-1/+36
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Merge pull request #767 from docker/group_add_supportJoffrey F2015-09-142-8/+22
|\ | | | | Support group_add param in host config
| * Support group_add param in host configgroup_add_supportJoffrey F2015-09-152-8/+22
|/ | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Merge pull request #763 from docker/api_splitupMaxime Petazzoni2015-09-139-1130/+1176
|\ | | | | API splitup