summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Merge pull request #1914 from mefyl/masterJoffrey F2018-02-221-68/+24
|\ \ \ | | |/ | |/| Improve .dockerignore compliance
| * | Fix .dockerignore: accept wildcard in inclusion pattern, honor last line ↵mefyl2018-02-211-64/+20
| | | | | | | | | | | | | | | | | | precedence. Signed-off-by: mefyl <quentin.hocquet@docker.com>
| * | Fix dockerignore handling of absolute path exceptions.mefyl2018-02-211-0/+7
| | | | | | | | | | | | Signed-off-by: mefyl <quentin.hocquet@docker.com>
| * | Revert "Correctly support absolute paths in .dockerignore"mefyl2018-02-191-17/+10
| | | | | | | | | | | | | | | | | | This reverts commit 34d50483e20e86cb7ab22700e036a5c4d319268a. Signed-off-by: mefyl <quentin.hocquet@docker.com>
* | | Merge pull request #1918 from rycus86/service-restart-methodJoffrey F2018-02-211-2/+39
|\ \ \ | | | | | | | | Shorthand method for service.restart()
| * | | Shorthand method for service.force_update()Viktor Adam2018-02-211-2/+39
| |/ / | | | | | | | | | Signed-off-by: Viktor Adam <rycus86@gmail.com>
* | | GenericResources was introduced in 1.32Joffrey F2018-02-201-1/+2
| | | | | | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | | Code cleanup and version guardsJoffrey F2018-02-201-4/+4
| | | | | | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | | Add support for generic resources to docker.types.ResourcesWilliam Myers2018-02-201-0/+51
| | | | | | | | | | | | | | | | | | | | | - Add support for dict and list generic_resources parameter - Add generic_resources integration test Signed-off-by: William Myers <mwilliammyers@gmail.com>
* | | Fix DockerClient pull bug when pulling image by digest1912-pull-sha-tagJoffrey F2018-02-201-0/+9
|/ / | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | Fix test_login flakesJoffrey F2018-02-141-6/+7
| | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | Merge pull request #1906 from docker/1352-data_stream_controlJoffrey F2018-02-142-3/+11
|\ \ | | | | | | Add chunk_size parameter to data downloading methods
| * | Add chunk_size parameter to data downloading methods (export, get_archive, save)1352-data_stream_controlJoffrey F2018-02-142-3/+11
| | | | | | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | | Merge pull request #1908 from docker/1861-credstore_loginJoffrey F2018-02-141-0/+13
|\ \ \ | | | | | | | | Fix authconfig resolution when credStore is used combined with login()
| * | | Fix authconfig resolution when credStore is used combined with login()1861-credstore_loginJoffrey F2018-02-131-0/+13
| | | | | | | | | | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | | | Clean up created volume from test_run_with_named_volumeYong Tang2018-02-141-1/+2
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | This fix adds the volume id to the list so that it could be cleaned up on test teardown. The issue was originally from https://github.com/moby/moby/pull/36292 where an additional `somevolume` pre-exists in tests. Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
* | | Add support for device_cgroup_rules parameter in host configc5622_device_cgroup_rulesJoffrey F2018-02-131-0/+15
|/ / | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | Correctly support absolute paths in .dockerignorec5672-dockerignore-abspathJoffrey F2018-02-121-10/+17
| | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | Merge pull request #1901 from docker/1899-create_archive_fixJoffrey F2018-02-051-2/+6
|\ \ | | | | | | Rewrite access check in create_archive with EAFP
| * | Rewrite access check in create_archive with EAFP1899-create_archive_fixJoffrey F2018-02-051-2/+6
| |/ | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | Merge pull request #1896 from docker/1895-login-authsJoffrey F2018-02-021-0/+18
|\ \ | | | | | | Add login data to the right subdict in auth_configs
| * | Add login data to the right subdict in auth_configs1895-login-authsJoffrey F2018-02-011-0/+18
| |/ | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | Add workaround for bpo-32713c5618-negative-mtime-tarJoffrey F2018-02-011-0/+12
|/ | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Update wait to always return a dictwait_returnJoffrey F2018-01-315-24/+26
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Merge pull request #1888 from docker/1884-create_volumes_win32Joffrey F2018-01-311-2/+5
|\ | | | | Correctly parse volumes with Windows paths
| * Correctly parse volumes with Windows paths1884-create_volumes_win32Joffrey F2018-01-311-2/+5
| | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | Refuse API version < 1.21 ; Remove associated code pathscleanup_deprecatedJoffrey F2018-01-3112-210/+55
|/ | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Add support for publish mode for endpointspec ports1878-publishmodeJoffrey F2018-01-312-1/+95
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Improve separation between auth_configs and general_configsimprove_authconfig_genconfig_separationJoffrey F2018-01-306-67/+94
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Update detach tests to work with AF_INET as wellmtsmfm-masterJoffrey F2018-01-303-35/+53
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Use config.json for detachKeysFumiaki MATSUSHIMA2018-01-305-56/+206
| | | | Signed-off-by: Fumiaki Matsushima <mtsmfm@gmail.com>
* Properly support pulling all tags in DockerClient.images.pull1761-dockerclient-pullJoffrey F2018-01-303-3/+23
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Merge pull request #1881 from docker/pytest-assertsJoffrey F2018-01-3028-1608/+1270
|\ | | | | Use pytest asserts
| * Use pytest assertspytest-assertsJoffrey F2018-01-3028-1608/+1270
| | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | Do not break when archiving broken symlinks1841-tar-broken-symlinksJoffrey F2018-01-291-0/+26
|/ | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Merge pull request #1874 from docker/1774-export-methodsJoffrey F2018-01-292-2/+39
|\ | | | | Update save / export methods to return data generators
| * Update save / export methods to return data generators1774-export-methodsJoffrey F2018-01-262-2/+39
| | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | ImageCollection.build now also returns build logs along with the built image ↵1702-build-logs-dockerclientJoffrey F2018-01-261-7/+10
|/ | | | | | | | reference BuildError.build_logs has a copy of the logs generator Signed-off-by: Joffrey F <joffrey@docker.com>
* Merge pull request #1873 from docker/hongbin-image-loadJoffrey F2018-01-261-0/+5
|\ | | | | Return Image objects in ImageCollection.load
| * Error handling in ImageCollection.loadhongbin-image-loadJoffrey F2018-01-261-0/+5
| | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | Return tuple instead of dict in exec_runJoffrey F2018-01-262-7/+9
| | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | Merge branch 'add_exit_code_to_exec_run' of ↵Joffrey F2018-01-262-2/+24
|\ \ | |/ |/| | | https://github.com/hnq90/docker-py into hnq90-add_exit_code_to_exec_run
| * Add exit code to exec_runHuyNQ2017-11-132-2/+24
| | | | | | | | Signed-off-by: HuyNQ <huy@huynq.net>
* | Bump default API version to 1.35Joffrey F2018-01-265-3/+52
| | | | | | | | | | | | | | | | | | Add ContainerSpec.isolation support Add until support in logs Add condition support in wait Add workdir support in exec_create Signed-off-by: Joffrey F <joffrey@docker.com>
* | Merge pull request #1856 from docker/1855-platform-optionJoffrey F2018-01-243-2/+26
|\ \ | | | | | | Add support for experimental platform flag in build and pull
| * | Add support for experimental platform flag in build and pull1855-platform-optionJoffrey F2018-01-233-2/+26
| | | | | | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | | Merge pull request #1846 from feliperuhland/issue-1734-scale-methodJoffrey F2018-01-241-0/+46
|\ \ \ | | | | | | | | Added scale method to the Service model.
| * | | Fix test to make sure the initial mode is replicatedFelipe Ruhland2018-01-031-2/+2
| | | | | | | | | | | | | | | | Signed-off-by: Felipe Ruhland <felipe.ruhland@gmail.com>
| * | | Ensure that global containers are not scaledFelipe Ruhland2017-12-261-0/+24
| | | | | | | | | | | | | | | | Signed-off-by: Felipe Ruhland <felipe.ruhland@gmail.com>
| * | | Added scale method to the Service model.Felipe Ruhland2017-12-211-0/+22
| | | | | | | | | | | | | | | | Signed-off-by: Felipe Ruhland <felipe.ruhland@gmail.com>