summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Add support for insert_defaults in inspect_serviceJoffrey F2017-11-061-0/+11
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Update SwarmSpec to include new parametersJoffrey F2017-11-031-0/+38
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Add support for scope filter in inspect_networkJoffrey F2017-11-021-0/+19
| | | | | | Fix missing scope implementation in create_network Signed-off-by: Joffrey F <joffrey@docker.com>
* OopsJoffrey F2017-11-021-1/+1
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Fix build tests to not rely on internet connectivityJoffrey F2017-11-021-10/+20
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Improve docs for service list filtersAlessandro Baldo2017-11-011-2/+13
| | | | | | | | - add "label" and "mode" to the list of available filter keys in the high-level service API - add "label" and "mode" to the list of available filter keys in the low-level service API - add integration tests Signed-off-by: Alessandro Baldo <git@baldoalessandro.net>
* More ContainerSpec testsJoffrey F2017-10-264-32/+69
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Add support for configs managementJoffrey F2017-10-263-3/+251
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Update test engine versions in JenkinsfileJoffrey F2017-10-251-1/+1
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Add support for extra_hosts option in buildJoffrey F2017-10-251-0/+32
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Add support for mounts in HostConfigJoffrey F2017-10-241-0/+65
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Remove superfluous version validationJoffrey F2017-10-021-1/+0
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Adding swarm id_attribute to match docker outputSteve Clark2017-09-211-0/+1
| | | | | Swarm id is returned in a attribute with the key ID. The swarm model was using the default behaviour and looking for Id. Signed-off-by: Steve Clark <steve@cobe.io>
* Do not interrupt streaming when encountering 0-length framesJoffrey F2017-08-311-1/+3
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Use unambiguous advertise-addr when initializing a swarmJoffrey F2017-08-315-6/+6
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Always send attach request as streamingJoffrey F2017-08-211-4/+12
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Commit d798afca made changes for the handling of '**' patterns inVeli-Matti Lintu2017-08-211-0/+17
| | | | | | | | .dockerignore. This causes an IndexError with patterns ending with '**', e.g. 'subdir/**'. This adds a missing boundary check before checking for trailing '/'. Signed-off-by: Veli-Matti Lintu <veli-matti.lintu@nosto.com>
* Fix handling of non-multiplexed (TTY) streams over upgraded socketsJoffrey F2017-08-172-2/+2
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Add support for the `squash` flag when buildingGabriel Féron2017-08-151-1/+27
| | | | | | Also added a test that compares the number of layers in the default mode, and with the new flag Signed-off-by: Gabriel Féron <feron.gabriel@gmail.com>
* Merge branch 'master' of github.com:docker/docker-pyJoffrey F2017-08-151-0/+17
|\
| * Handle untyped ContainerSpec dict in _check_api_featuresJoffrey F2017-08-151-0/+17
| | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | Allow detach and remove for api version >= 1.25 and use auto_remove when ↵David Steines2017-08-151-0/+30
|/ | | | | | both are set. Continue raising an exception for api versions <1.25. Signed-off-by: David Steines <d.steines@gmail.com>
* Leading slash in .dockerignore should be ignoredJoffrey F2017-08-151-0/+5
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Return generator for output of load_image endpointJoffrey F2017-08-152-0/+27
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Return the result of the API when using remove_image and load_imageCecile Tonglet2017-08-151-1/+2
| | | | | | Those calls return result that can be used by the developers. Signed-off-by: Cecile Tonglet <cecile.tonglet@gmail.com>
* client.containers.run returns None if none of json-file or journald logging ↵Artem Bolshakov2017-08-073-1/+57
| | | | | | drivers used Signed-off-by: Artem Bolshakov <either.free@gmail.com>
* Generating regexp from .dockerignore file in a similar way as docker-ce.Jakub Goszczurny2017-08-011-0/+25
| | | | Signed-off-by: Jakub Goszczurny <szczurmys@o2.pl>
* Fix #1673 check resource error in container network APIMatthew Berry2017-07-141-3/+3
| | | | | | | | Container network functions checked 'image' as resource ID and not 'container'. This caused a traceback when using container as named argument. Signed-off-by: Matthew Berry <mtberry89@gmail.com>
* split_port should not break when passed a non-string argumentJoffrey F2017-06-281-0/+3
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Merge pull request #1661 from shin-/1622-service-ttyJoffrey F2017-06-221-0/+17
|\ | | | | Add support for ContainerSpec.TTY
| * Add support for ContainerSpec.TTYJoffrey F2017-06-211-0/+17
| | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | Support credHelpers section in config.json1633-credhelpers-supportJoffrey F2017-06-221-0/+51
|/ | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Merge pull request #1658 from docker/1397-build-networkJoffrey F2017-06-201-0/+33
|\ | | | | Add network_mode support to Client.build
| * Add network_mode support to Client.build1397-build-networkJoffrey F2017-06-191-0/+33
| | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | Make sure data is written in prune test so space can be reclaimedmoby33735Joffrey F2017-06-201-1/+3
|/ | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Merge pull request #1626 from datwiz/images-build-error-1625Joffrey F2017-06-191-0/+11
|\ | | | | fix #1625 where ImageCollection.build() could return with incorrect image id
| * new integration task linting for #1625Chris Ottinger2017-05-271-2/+2
| | | | | | | | Signed-off-by: Chris Ottinger <chris.ottinger@team.telstra.com>
| * added integration test for #1625 for ImageCollection.build() that verfies ↵Chris Ottinger2017-05-271-0/+11
| | | | | | | | | | | | that the build method uses the last success message for extracting the image id Signed-off-by: Chris Ottinger <chris.ottinger@team.telstra.com>
* | Add support for start_period in Healthcheck spechealthcheck-start-periodJoffrey F2017-06-161-4/+21
| | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | Merge pull request #1617 from docker/create-ingress-networkJoffrey F2017-06-161-0/+8
|\ \ | | | | | | Add support for ingress in create_network
| * | Add support for ingress in create_networkcreate-ingress-networkJoffrey F2017-05-171-0/+8
| | | | | | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | | Merge pull request #1631 from madhuri-rai07/masterJoffrey F2017-06-161-0/+9
|\ \ \ | | | | | | | | Add support for ``runtime`` config
| * | | Fix test cases for ``runtime`` configMadhuri Kumari2017-06-071-3/+3
| | | | | | | | | | | | | | | | Signed-off-by: Madhuri Kumari <madhuri.kumari@intel.com>
| * | | Add support for ``runtime`` in container create and run APIMadhuri Kumari2017-06-011-0/+9
| | |/ | |/|
* | | Merge pull request #1632 from kaiyou/masterJoffrey F2017-06-161-0/+6
|\ \ \ | | | | | | | | allow ipv6 :: notation in split_port (using re)
| * | | Add a specific unit test for splitting port with IPv6kaiyou2017-06-051-0/+6
| |/ / | | | | | | | | | | | | | | | The test was copied from https://github.com/greybyte/docker-py/commit/ccec87ca2c2aacfcfe3b38c5bc7d59dd73551c51 Signed-off-by: kaiyou <pierre@jaury.eu>
* | | Merge pull request #1648 from ChrsMark/masterJoffrey F2017-06-161-0/+7
|\ \ \ | | | | | | | | Raising error in case of invalid value of since kwarg on Container.logs
| * | | Raising error in case of invalid value of since kwarg on Container.logsChris Mark2017-06-161-0/+7
| | | | | | | | | | | | | | | | Signed-off-by: Chris Mark <chrismarkou92@gmail.com>
* | | | Closes #1588, image.tag does not return anythingOlivier Sallou2017-06-161-1/+2
|/ / / | | | | | | | | | | | | | | | This patch returns the check made against api when tagging an image as stated in documentation Signed-off-by: Olivier Sallou <olivier.sallou@irisa.fr>
* | | Merge pull request #1634 from grahamlyons/readtimeout_calling_container_stopJoffrey F2017-06-141-0/+13
|\ \ \ | | | | | | | | Ensure default timeout is used by API Client