Skip to content
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 48 commits into from
Dec 19, 2017
Merged

2.7.0 release #1838

merged 48 commits into from
Dec 19, 2017

Conversation

shin-
Copy link
Contributor

@shin- shin- commented Dec 19, 2017

List of PRs / issues for this release

Features

  • Added unlock_swarm and get_unlock_key methods to the APIClient.
    • Added unlock and get_unlock_key to DockerClient.swarm.
  • Added a greedy parameter to DockerClient.networks.list, yielding
    additional details about the listed networks.
  • Added cpu_rt_runtime and cpu_rt_period as parameters to
    APIClient.create_host_config and DockerClient.containers.run.
  • Added the order argument to UpdateConfig.
  • Added fetch_current_spec to APIClient.update_service and Service.update
    that will retrieve the current configuration of the service and merge it with
    the provided parameters to determine the new configuration.

Bugfixes

  • Fixed a bug where the build method tried to include inaccessible files
    in the context, leading to obscure errors during the build phase
    (inaccessible files inside the context now raise an IOError instead).
  • Fixed a bug where the build method would try to read from FIFOs present
    inside the build context, causing it to hang.
  • APIClient.stop will no longer override the stop_timeout value present
    in the container's configuration.
  • Fixed a bug preventing removal of networks with names containing a space.
  • Fixed a bug where DockerClient.containers.run would crash if the
    auto_remove parameter was set to True.
  • Changed the default value of listen_addr in join_swarm to match the
    one in init_swarm.
  • Fixed a bug where handling HTTP errors with no body would cause an unexpected
    exception to be thrown while generating an APIError object.

tz70s and others added 30 commits August 13, 2017 09:01
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: 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]>
Signed-off-by: Viktor Adam <[email protected]>
Signed-off-by: Viktor Adam <[email protected]>
Add missing call to string format in log message
Signed-off-by: Michael Hankin <[email protected]>
container: fix docstring for containers()
Fix common issues with build context creation: inaccessible files and FIFOs
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
shin- and others added 17 commits December 13, 2017 18:37
Require at least requests v2.14.2 to update old chardet
Fix URL-quoting for resource names containing spaces
Signed-off-by: Viktor Adam <[email protected]>
Add support for order property when updating a service
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()
Signed-off-by: Joffrey F <[email protected]>
@shin- shin- added this to the 2.7.0 milestone Dec 19, 2017
@docker docker deleted a comment from GordonTheTurtle Dec 19, 2017
@shin- shin- removed the dco/no label Dec 19, 2017
@shin- shin- merged commit 5bed7b8 into release Dec 19, 2017
@shin- shin- deleted the 2.7.0-release branch January 26, 2018 22:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.