Compare commits
30 commits
bump-1.11.
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
aa8fb8f708 | ||
|
|
b49f42f9b7 | ||
|
|
afd3bcfbf4 | ||
|
|
d20e3f3342 | ||
|
|
27297fd1af | ||
|
|
66f4a795a2 | ||
|
|
40c26ca676 | ||
|
|
abce83ef25 | ||
|
|
bb5d7b2433 | ||
|
|
252699c1d1 | ||
|
|
ad0e6d219b | ||
|
|
dc5b3f3b3e | ||
|
|
1fe2443735 | ||
|
|
27e0f31275 | ||
|
|
2f13201b9e | ||
|
|
276db7231a | ||
|
|
c092fa37de | ||
|
|
47e4442722 | ||
|
|
b306e843d3 | ||
|
|
fc7b74d7f9 | ||
|
|
2cd6cb9a47 | ||
|
|
01d1895a35 | ||
|
|
979a0d53f7 | ||
|
|
f083526829 | ||
|
|
b392b6e12e | ||
|
|
165eb9c91a | ||
|
|
1636985a7a | ||
|
|
a3a9d8944a | ||
|
|
84774cacd2 | ||
|
|
22249add84 |
11 changed files with 15 additions and 44 deletions
31
CHANGELOG.md
31
CHANGELOG.md
|
|
@ -1,35 +1,6 @@
|
|||
Change log
|
||||
==========
|
||||
|
||||
1.11.2 (2017-02-17)
|
||||
-------------------
|
||||
|
||||
### Bugfixes
|
||||
|
||||
- Fixed a bug that was preventing secrets configuration from being
|
||||
loaded properly
|
||||
|
||||
- Fixed a bug where the `docker-compose config` command would fail
|
||||
if the config file contained secrets definitions
|
||||
|
||||
- Fixed an issue where Compose on some linux distributions would
|
||||
pick up and load an outdated version of the requests library
|
||||
|
||||
- Fixed an issue where socket-type files inside a build folder
|
||||
would cause `docker-compose` to crash when trying to build that
|
||||
service
|
||||
|
||||
- Fixed an issue where recursive wildcard patterns `**` were not being
|
||||
recognized in `.dockerignore` files.
|
||||
|
||||
1.11.1 (2017-02-09)
|
||||
-------------------
|
||||
|
||||
### Bugfixes
|
||||
|
||||
- Fixed a bug where the 3.1 file format was not being recognized as valid
|
||||
by the Compose parser
|
||||
|
||||
1.11.0 (2017-02-08)
|
||||
-------------------
|
||||
|
||||
|
|
@ -649,7 +620,7 @@ Bug Fixes:
|
|||
if at least one container is using the network.
|
||||
|
||||
- When printings logs during `up` or `logs`, flush the output buffer after
|
||||
each line to prevent buffering issues from hideing logs.
|
||||
each line to prevent buffering issues from hiding logs.
|
||||
|
||||
- Recreate a container if one of its dependencies is being created.
|
||||
Previously a container was only recreated if it's dependencies already
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@ A `docker-compose.yml` looks like this:
|
|||
image: redis
|
||||
|
||||
For more information about the Compose file, see the
|
||||
[Compose file reference](https://github.com/docker/docker.github.io/blob/master/compose/compose-file.md)
|
||||
[Compose file reference](https://github.com/docker/docker.github.io/blob/master/compose/compose-file/compose-versioning.md)
|
||||
|
||||
Compose has commands for managing the whole lifecycle of your application:
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
from __future__ import absolute_import
|
||||
from __future__ import unicode_literals
|
||||
|
||||
__version__ = '1.11.2'
|
||||
__version__ = '1.12.0dev'
|
||||
|
|
|
|||
|
|
@ -202,7 +202,7 @@ def convert_service_to_bundle(name, service_dict, image_digest):
|
|||
return container_config
|
||||
|
||||
|
||||
# See https://github.com/docker/swarmkit/blob//agent/exec/container/container.go#L95
|
||||
# See https://github.com/docker/swarmkit/blob/agent/exec/container/container.go#L95
|
||||
def set_command_and_args(config, entrypoint, command):
|
||||
if isinstance(entrypoint, six.string_types):
|
||||
entrypoint = split_command(entrypoint)
|
||||
|
|
|
|||
|
|
@ -365,7 +365,7 @@ class Project(object):
|
|||
|
||||
# TODO: get labels from the API v1.22 , see github issue 2618
|
||||
try:
|
||||
# this can fail if the conatiner has been removed
|
||||
# this can fail if the container has been removed
|
||||
container = Container.from_id(self.client, event['id'])
|
||||
except APIError:
|
||||
continue
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ PyYAML==3.11
|
|||
backports.ssl-match-hostname==3.5.0.1; python_version < '3'
|
||||
cached-property==1.2.0
|
||||
colorama==0.3.7
|
||||
docker==2.1.0
|
||||
docker==2.0.2
|
||||
dockerpty==0.4.1
|
||||
docopt==0.6.1
|
||||
enum34==1.0.4; python_version < '3.4'
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
#
|
||||
# Util functions for release scritps
|
||||
# Util functions for release scripts
|
||||
#
|
||||
|
||||
set -e
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
|
||||
set -e
|
||||
|
||||
VERSION="1.11.2"
|
||||
VERSION="1.12.0dev"
|
||||
IMAGE="docker/compose:$VERSION"
|
||||
|
||||
|
||||
|
|
|
|||
2
setup.py
2
setup.py
|
|
@ -37,7 +37,7 @@ install_requires = [
|
|||
'requests >= 2.6.1, != 2.11.0, < 2.12',
|
||||
'texttable >= 0.8.1, < 0.9',
|
||||
'websocket-client >= 0.32.0, < 1.0',
|
||||
'docker >= 2.1.0, < 3.0',
|
||||
'docker >= 2.0.2, < 3.0',
|
||||
'dockerpty >= 0.4.1, < 0.5',
|
||||
'six >= 1.3.0, < 2',
|
||||
'jsonschema >= 2.5.1, < 3',
|
||||
|
|
|
|||
|
|
@ -1234,7 +1234,7 @@ class CLITestCase(DockerClientTestCase):
|
|||
container = service.containers(stopped=True, one_off=OneOffFilter.only)[0]
|
||||
self.assertEqual(user, container.get('Config.User'))
|
||||
|
||||
def test_run_service_with_environement_overridden(self):
|
||||
def test_run_service_with_environment_overridden(self):
|
||||
name = 'service'
|
||||
self.base_dir = 'tests/fixtures/environment-composefile'
|
||||
self.dispatch([
|
||||
|
|
@ -1246,9 +1246,9 @@ class CLITestCase(DockerClientTestCase):
|
|||
])
|
||||
service = self.project.get_service(name)
|
||||
container = service.containers(stopped=True, one_off=OneOffFilter.only)[0]
|
||||
# env overriden
|
||||
# env overridden
|
||||
self.assertEqual('notbar', container.environment['foo'])
|
||||
# keep environement from yaml
|
||||
# keep environment from yaml
|
||||
self.assertEqual('world', container.environment['hello'])
|
||||
# added option from command line
|
||||
self.assertEqual('beta', container.environment['alpha'])
|
||||
|
|
@ -1293,7 +1293,7 @@ class CLITestCase(DockerClientTestCase):
|
|||
self.assertEqual(port_range[0], "0.0.0.0:49153")
|
||||
self.assertEqual(port_range[1], "0.0.0.0:49154")
|
||||
|
||||
def test_run_service_with_explicitly_maped_ports(self):
|
||||
def test_run_service_with_explicitly_mapped_ports(self):
|
||||
# create one off container
|
||||
self.base_dir = 'tests/fixtures/ports-composefile'
|
||||
self.dispatch(['run', '-d', '-p', '30000:3000', '--publish', '30001:3001', 'simple'])
|
||||
|
|
@ -1310,7 +1310,7 @@ class CLITestCase(DockerClientTestCase):
|
|||
self.assertEqual(port_short, "0.0.0.0:30000")
|
||||
self.assertEqual(port_full, "0.0.0.0:30001")
|
||||
|
||||
def test_run_service_with_explicitly_maped_ip_ports(self):
|
||||
def test_run_service_with_explicitly_mapped_ip_ports(self):
|
||||
# create one off container
|
||||
self.base_dir = 'tests/fixtures/ports-composefile'
|
||||
self.dispatch([
|
||||
|
|
|
|||
|
|
@ -184,7 +184,7 @@ class CLITestCase(unittest.TestCase):
|
|||
mock_client.create_host_config.call_args[1].get('restart_policy')
|
||||
)
|
||||
|
||||
def test_command_manula_and_service_ports_together(self):
|
||||
def test_command_manual_and_service_ports_together(self):
|
||||
project = Project.from_config(
|
||||
name='composetest',
|
||||
client=None,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue