Commit Graph

3090 Commits

Author SHA1 Message Date
Ulysses Souza e48a1a94e6 Sets a different default number of pools to SSH
This is because default the number of connections
in OpenSSH is 10

Signed-off-by: Ulysses Souza <ulysses.souza@docker.com>
2019-03-15 11:23:00 +01:00
Hannes Ljungberg 8d1e9670b1 Return API response on service update
Signed-off-by: Hannes Ljungberg <hannes@5monkeys.se>
2019-03-13 10:12:17 +01:00
Leks 37e096f6ad set buildargs default value if None
Signed-off-by: Leks <alexsmir@list.ru>
2019-03-01 14:05:39 +03:00
Jean-Christophe Sirot 24ace2dac8
Merge pull request #2259 from p1100i/patch-1
Fix `network_mode` API documentation wording
2019-02-28 14:56:23 +01:00
p1100i 189552eb57 Fix `network_mode` API documentation wording
Signed-off-by: p1100i <p1100i@gmx.com>
2019-02-21 07:55:38 +01:00
Joffrey F 61bab63798
Merge pull request #2245 from thombashi/fix_api_ver_desc
Fix descriptions of the default API version in docs
2019-01-25 20:32:43 -08:00
Tsuyoshi Hombashi 6935ce8819
Fix descriptions of the default API version in docs
1.30 -> 1.35

Signed-off-by: Tsuyoshi Hombashi <tsuyoshi.hombashi@gmail.com>
2019-01-26 12:47:20 +09:00
Ulysses Souza d7772b73f2
Merge pull request #2234 from hannseman/placement-preference-tuples
Make PlacementPreference build correct context
2019-01-22 17:24:38 +01:00
Ulysses Souza 26f9e4b23f
Merge pull request #2233 from wvaske/2232-Adding_supported_options_to_container_run_documentation
Added missing options from RUN_HOST_CONFIG_KWARGS list in docker.models.containers to the docstring for client.containers.run()
2019-01-22 15:02:02 +01:00
Hannes Ljungberg d429a823ed Make PlacementPreference build correct context
Signed-off-by: Hannes Ljungberg <hannes@5monkeys.se>
2019-01-18 21:50:31 +01:00
wvaske 24f7c6db66 Added missing options from RUN_HOST_CONFIG_KWARGS list in docker.models.containers to the docstring for client.containers.run()
Signed-off-by: wvaske <wvaske@micron.com>
2019-01-17 10:43:20 -06:00
Joffrey F b6f6e7270e Add registry auth header to inspect_distribution requests
Update docstring for auth_config parameter in pull, push, and
inspect_distribution

Signed-off-by: Joffrey F <joffrey@docker.com>
2019-01-11 16:39:16 -08:00
Christopher Crone 28c9100a7c Bump to next dev version
Signed-off-by: Christopher Crone <christopher.crone@docker.com>
2019-01-10 18:26:02 +01:00
Chris Crone 78b15e0f63
Merge pull request #2224 from docker/release
Resync release
2019-01-10 18:20:12 +01:00
Chris Crone ac92219295
Merge pull request #2223 from docker/3.7.0-release
3.7.0 release
2019-01-10 18:15:58 +01:00
Ulysses Souza e6783d8cf3 Bump 3.7.0
Signed-off-by: Ulysses Souza <ulysses.souza@docker.com>
2019-01-10 17:58:39 +01:00
Joffrey F 55a62c26e7
Merge pull request #2221 from docker/proxy_env_fixes
Remove use_config_proxy from exec. Add use_config_proxy docs to DockerClient
2019-01-09 14:58:32 -08:00
Joffrey F a579e9e205 Remove use_config_proxy from exec. Add use_config_proxy docs to DockerClient
Signed-off-by: Joffrey F <joffrey@docker.com>
2019-01-09 14:45:13 -08:00
Joffrey F 1073b73648
Merge pull request #2216 from thaJeztah/fix_status_code_check
Regression 443 test: relax status-code check
2019-01-09 12:40:31 -08:00
Sebastiaan van Stijn 219c52141e
Regression 443 test: relax status-code check
This test was testing for a 500 status, but this status
is actually a bug in the API (as it's due to an invalid
request), and the API should actually return a 400 status.

To make this test handle both situations, relax the test
to accept either a 4xx or 5xx status.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2019-01-09 21:23:11 +01:00
Joffrey F 5455c04f75
Merge pull request #2219 from docker/2199-proxy-support
Support using proxy values from config
2019-01-09 12:05:39 -08:00
Joffrey F 65bebc085a Style fixes and removed some unused code
Signed-off-by: Joffrey F <joffrey@docker.com>
2019-01-09 11:30:58 -08:00
Corentin Henry 6969e8becd handle url-based proxy configurations
Signed-off-by: Corentin Henry <corentinhenry@gmail.com>
2019-01-09 11:30:58 -08:00
Corentin Henry 2c4a8651a8 By default, disable proxy support
This is to avoid a breaking change

Signed-off-by: Corentin Henry <corentinhenry@gmail.com>
2019-01-09 11:30:58 -08:00
Corentin Henry 73c17f85e5 fix typo in docstring
Signed-off-by: Corentin Henry <corentinhenry@gmail.com>
2019-01-09 11:30:58 -08:00
Corentin Henry f97f71342f refactor ProxyConfig
Signed-off-by: Corentin Henry <corentinhenry@gmail.com>
2019-01-09 11:30:58 -08:00
Corentin Henry 9146dd57d7 code style improvement
Signed-off-by: Corentin Henry <corentinhenry@gmail.com>
2019-01-09 11:30:58 -08:00
Corentin Henry 708ef6d81e Revert "make the integration tests more verbose"
This reverts commit 7584e5d7f0.

Signed-off-by: Corentin Henry <corentinhenry@gmail.com>
2019-01-09 11:30:58 -08:00
Corentin Henry 0d37390c46 add integration tests for proxy support
Signed-off-by: Corentin Henry <corentinhenry@gmail.com>
2019-01-09 11:30:58 -08:00
Corentin Henry 4f79ba160e make the integration tests more verbose
Signed-off-by: Corentin Henry <corentinhenry@gmail.com>
2019-01-09 11:30:58 -08:00
Corentin Henry 545adc2a59 add unit tests for ProxyConfig
Signed-off-by: Corentin Henry <corentinhenry@gmail.com>
2019-01-09 11:30:58 -08:00
Corentin Henry 6e227895d3 tests: remove outdated code
the _cfg attribute does not exist anymore

Signed-off-by: Corentin Henry <corentinhenry@gmail.com>
2019-01-09 11:30:58 -08:00
Corentin Henry bfdd0a881e add support for proxies
Signed-off-by: Corentin Henry <corentinhenry@gmail.com>
2019-01-09 11:30:58 -08:00
Joffrey F 4ca4e94ea7
Merge pull request #2218 from docker/fix_test_deps
Update test dependencies to latest version, fix some flake8 errors
2019-01-09 11:30:38 -08:00
Joffrey F 72f4f527ad Update test dependencies to latest version, fix some flake8 errors
Signed-off-by: Joffrey F <joffrey@docker.com>
2019-01-09 11:18:40 -08:00
Joffrey F 5fc7f62ec4
Merge pull request #2213 from docker/2210-swarm-init-return
Make swarm.init() return value match documentation
2018-12-28 16:19:33 -08:00
Joffrey F 3cda1e8bbd Make swarm.init() return value match documentation
Signed-off-by: Joffrey F <joffrey@docker.com>
2018-12-28 15:45:54 -08:00
Joffrey F 3151b0ef2f
Merge pull request #2207 from BoboTiG/patch-1
Fix DeprecationWarning: invalid escape sequence in services.py
2018-12-28 07:32:10 +09:00
Joffrey F 60ffeede92
Merge pull request #2208 from BoboTiG/patch-2
Fix DeprecationWarning: invalid escape sequence in ports.py
2018-12-28 07:30:46 +09:00
Mickaël Schoentgen e99ce1e359 Fix DeprecationWarning: invalid escape sequence in ports.py
Signed-off-by: Mickaël Schoentgen <contact@tiger-222.fr>
2018-12-20 14:54:52 +01:00
Mickaël Schoentgen 341e2580aa Fix DeprecationWarning: invalid escape sequence in services.py
Signed-off-by: Mickaël Schoentgen <contact@tiger-222.fr>
2018-12-20 14:54:15 +01:00
Joffrey F 7911c54635
Merge pull request #2204 from MaxBischoff/typo-fix
Fixed a typo in the configs api doc
2018-12-14 12:27:25 -08:00
Maximilian Bischoff 543d83cb09 Fixed a typo in the configs api doc
The documentation for id in ConfigApiMixin inspect_config was wrongly
mentioning removal of a config

Signed-off-by: Maximilian Bischoff <maximilianbischoff2@gmail.com>
2018-12-14 19:21:57 +01:00
Joffrey F d77d4256d7
Merge pull request #2197 from docker/2185-placement-prefs
Improve handling of placement preferences and associated docs
2018-12-11 08:41:33 -08:00
Joffrey F f39b1df407
Merge pull request #2198 from docker/update_versionmap
Update Jenkinsfile version map
2018-12-11 08:40:53 -08:00
Joffrey F a207122c0d Update Jenkinsfile version map
Signed-off-by: Joffrey F <joffrey@docker.com>
2018-12-07 17:04:54 -08:00
Joffrey F b297b837df Dynamically retrieve version information for generated docs
Signed-off-by: Joffrey F <joffrey@docker.com>
2018-12-07 16:57:40 -08:00
Joffrey F e15db4cb20 Improve handling of placement preferences; improve docs
Signed-off-by: Joffrey F <joffrey@docker.com>
2018-12-07 16:56:45 -08:00
Joffrey F 92236550d2
Merge pull request #2196 from docker/2194-clean-release
Prevent untracked files in releases
2018-12-07 16:08:18 -08:00
Joffrey F 1bc5783a3d Prevent untracked files in releases
Signed-off-by: Joffrey F <joffrey@docker.com>
2018-12-07 16:08:00 -08:00