summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | Shift test matrix forwardjenkins-updateJoffrey F2018-01-241-2/+4
| | | | | | | | | | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | | | Fix regression on API < 1.25Viktor Adam2018-01-121-0/+24
| |/ / |/| | | | | | | | Signed-off-by: Viktor Adam <rycus86@gmail.com>
* | | Ignore dockerignore lines that contain only whitespace1852-dockerignoreJoffrey F2018-01-031-0/+22
|/ / | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | Don't attempt to retrieve container's stderr if `auto_remove` was set1813-autoremove-errorJoffrey F2017-12-191-1/+13
| | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | Merge pull request #1727 from mbelang/join-swarn-default-listen-addressJoffrey F2017-12-182-0/+49
|\ \ | | | | | | Add join_swarm default listen address
| * | Add join_swarm default listen addressMaxime Belanger2017-08-292-0/+49
| | | | | | | | | | | | | | | | | | | | | | | | Since the docker CLI adds a default listen address (0.0.0.0:2377) when joining a node to the swarm, the docker-py api will support the same behavior to easy configuration. Signed-off-by: Maxime Belanger <maxime.b.belanger@gmail.com>
* | | Merge pull request #1828 from pkit/fix_error_from_httpexJoffrey F2017-12-181-1/+15
|\ \ \ | | | | | | | | fixes create_api_error_from_http_exception()
| * | | fixes create_api_error_from_http_exception()Constantine Peresypkin2017-12-181-1/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `create_api_error_from_http_exception()` is never tested in the original code and will fail miserably when fed with empty `HTTPError` object see fixes in requests for this behaviour: https://github.com/requests/requests/pull/3179 Signed-off-by: Constantine Peresypkin <pconstantine@gmail.com>
* | | | Retrieve container logs before container exits / is removed1813-run-autoremoveJoffrey F2017-12-143-8/+24
| | | | | | | | | | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | | | Merge pull request #1807 from rycus86/update_service_from_prev_specJoffrey F2017-12-143-4/+579
|\ \ \ \ | | | | | | | | | | Update service from prev spec
| * | | | Renaming new argumentViktor Adam2017-12-141-15/+15
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Viktor Adam <rycus86@gmail.com>
| * | | | Fix resetting ContainerSpec properties to NoneViktor Adam2017-11-151-4/+4
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Viktor Adam <rycus86@gmail.com>
| * | | | Attempting to make service update tests less flakyViktor Adam2017-11-152-4/+10
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Viktor Adam <rycus86@gmail.com>
| * | | | Service model update changesViktor Adam2017-11-143-29/+285
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Viktor Adam <rycus86@gmail.com>
| * | | | Update service using previous specViktor Adam2017-11-141-0/+313
| | |_|/ | |/| | | | | | | | | | Signed-off-by: Viktor Adam <rycus86@gmail.com>
* | | | Merge pull request #1834 from mhank/1823-support-update-orderJoffrey F2017-12-141-0/+18
|\ \ \ \ | | | | | | | | | | Add support for order property when updating a service
| * | | | Add support for order property when updating a serviceMichael Hankin2017-12-121-0/+18
| | |/ / | |/| | | | | | | | | | Signed-off-by: Michael Hankin <mjhankin1@gmail.com>
* | | | Merge pull request #1835 from docker/1758-url-quote-pathJoffrey F2017-12-131-0/+7
|\ \ \ \ | | | | | | | | | | Fix URL-quoting for resource names containing spaces
| * | | | Fix URL-quoting for resource names containing spaces1758-url-quote-pathJoffrey F2017-12-131-0/+7
| |/ / / | | | | | | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | | | Add integration test for CPU realtime optionsJoffrey F2017-12-131-0/+14
| | | | | | | | | | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | | | Merge branch 'master' of https://github.com/tz70s/docker-py into tz70s-masterJoffrey F2017-12-131-0/+22
|\ \ \ \ | | | | | | | | | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
| * | | | Fix #1575 - Add cpu_rt_period and cpu_rt_runtime argsTzu-Chiao Yeh2017-08-131-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add cpu_rt_period and cpu_rt_runtime in hostconfig with version(1.25), types(int) checks. Also add version and type checks in dockertype unit test. Signed-off-by: Tzu-Chiao Yeh <su3g4284zo6y7@gmail.com>
* | | | | Merge pull request #1812 from rycus86/greedy_network_listJoffrey F2017-12-132-4/+10
|\ \ \ \ \ | | | | | | | | | | | | Fetch network details with network lists greedily
| * | | | | Only allow greedy queries on the modelViktor Adam2017-11-212-45/+0
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Viktor Adam <rycus86@gmail.com>
| * | | | | Fixing integration testsViktor Adam2017-11-192-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Viktor Adam <rycus86@gmail.com>
| * | | | | Fetch network details with network lists greedilyViktor Adam2017-11-163-4/+51
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Viktor Adam <rycus86@gmail.com>
* | | | | | Change format in which hosts are being stored for Swarm servicesMichael Hankin2017-12-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Michael Hankin <mhank@users.noreply.github.com>
* | | | | | Change format of extra hostsMichael Hankin2017-12-032-3/+3
| |_|/ / / |/| | | | | | | | | | | | | | Signed-off-by: Michael Hankin <mjhankin1@gmail.com>
* | | | | Merge pull request #1798 from docker/unlock_swarm_supportJoffrey F2017-11-201-0/+11
|\ \ \ \ \ | |/ / / / |/| | | | Unlock swarm support
| * | | | Add unlock methods to Swarm modelunlock_swarm_supportJoffrey F2017-11-071-5/+6
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
| * | | | Add unlock_swarm and get_unlock_key to APIClientJoffrey F2017-11-071-0/+10
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
| * | | | 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>