-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
2.7.0 release #1838
Merged
Merged
2.7.0 release #1838
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 <[email protected]>
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 <[email protected]>
Signed-off-by: timvisee <[email protected]>
Signed-off-by: Joffrey F <[email protected]>
Signed-off-by: Joffrey F <[email protected]>
Signed-off-by: Joffrey F <[email protected]>
Docker currently only supports the "default" cluster in Swarm-mode, and an upcoming SwarmKit release will produce an error if the name of the cluster is updated, causing the test to fail. Given that renaming the cluster is not supported, this patch removes the test Signed-off-by: Sebastiaan van Stijn <[email protected]>
Remove test_update_swarm_name
Signed-off-by: Viktor Adam <[email protected]>
Signed-off-by: Viktor Adam <[email protected]>
Signed-off-by: Viktor Adam <[email protected]>
Signed-off-by: Viktor Adam <[email protected]>
Signed-off-by: Viktor Adam <[email protected]>
Signed-off-by: Viktor Adam <[email protected]>
Unlock swarm support
Signed-off-by: Damien Nadé <[email protected]>
Signed-off-by: Alejandro Villarreal <[email protected]>
Signed-off-by: Viktor Adam <[email protected]>
Add missing call to string format in log message
… fifos Signed-off-by: Joffrey F <[email protected]>
Signed-off-by: Michael Hankin <[email protected]>
Signed-off-by: Michael Hankin <[email protected]>
Signed-off-by: Anthony Sottile <[email protected]>
container: fix docstring for containers()
Fix common issues with build context creation: inaccessible files and FIFOs
Signed-off-by: Michael Hankin <[email protected]>
Fix format in which hosts are being stored for Swarm services
Fetch network details with network lists greedily
Fix for #1815: make APIClient.stop honor container StopTimeout value
Signed-off-by: Joffrey F <[email protected]>
Require at least requests v2.14.2 to update old chardet
…s-master Signed-off-by: Joffrey F <[email protected]>
Signed-off-by: Joffrey F <[email protected]>
Signed-off-by: Joffrey F <[email protected]>
Fix URL-quoting for resource names containing spaces
Signed-off-by: Viktor Adam <[email protected]>
Signed-off-by: Michael Hankin <[email protected]>
Add support for order property when updating a service
Update service from prev spec
Signed-off-by: Felipe Ruhland <[email protected]>
Signed-off-by: Joffrey F <[email protected]>
Updated DEFAULT API VERSION in docstrings.
Retrieve container logs before container exits / is removed
`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: psf/requests#3179 Signed-off-by: Constantine Peresypkin <[email protected]>
fixes create_api_error_from_http_exception()
Add join_swarm default listen address
Signed-off-by: Joffrey F <[email protected]>
Signed-off-by: Joffrey F <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
List of PRs / issues for this release
Features
unlock_swarm
andget_unlock_key
methods to theAPIClient
.unlock
andget_unlock_key
toDockerClient.swarm
.greedy
parameter toDockerClient.networks.list
, yieldingadditional details about the listed networks.
cpu_rt_runtime
andcpu_rt_period
as parameters toAPIClient.create_host_config
andDockerClient.containers.run
.order
argument toUpdateConfig
.fetch_current_spec
toAPIClient.update_service
andService.update
that will retrieve the current configuration of the service and merge it with
the provided parameters to determine the new configuration.
Bugfixes
build
method tried to include inaccessible filesin the context, leading to obscure errors during the build phase
(inaccessible files inside the context now raise an
IOError
instead).build
method would try to read from FIFOs presentinside the build context, causing it to hang.
APIClient.stop
will no longer override thestop_timeout
value presentin the container's configuration.
DockerClient.containers.run
would crash if theauto_remove
parameter was set toTrue
.listen_addr
injoin_swarm
to match theone in
init_swarm
.exception to be thrown while generating an
APIError
object.