mirror of https://github.com/docker/compose.git
commit
b55a50a384
|
@ -1,7 +1,7 @@
|
|||
Change log
|
||||
==========
|
||||
|
||||
1.17.0 (2017-11-03)
|
||||
1.17.0 (2017-11-02)
|
||||
-------------------
|
||||
|
||||
### New features
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
from __future__ import absolute_import
|
||||
from __future__ import unicode_literals
|
||||
|
||||
__version__ = '1.17.0-rc1'
|
||||
__version__ = '1.17.0'
|
||||
|
|
|
@ -121,7 +121,7 @@ def get_image_digest(service, allow_push=False):
|
|||
def push_image(service):
|
||||
try:
|
||||
digest = service.push()
|
||||
except:
|
||||
except Exception:
|
||||
log.error(
|
||||
"Failed to push image for service '{s.name}'. Please use an "
|
||||
"image tag that can be pushed to a Docker "
|
||||
|
|
|
@ -518,7 +518,7 @@ _docker_compose_up() {
|
|||
|
||||
case "$cur" in
|
||||
-*)
|
||||
COMPREPLY=( $( compgen -W "--abort-on-container-exit --build -d --exit-code-from --force-recreate --help --no-build --no-color --no-deps --no-recreate --remove-orphans --scale --timeout -t" -- "$cur" ) )
|
||||
COMPREPLY=( $( compgen -W "--abort-on-container-exit --build -d --exit-code-from --force-recreate --help --no-build --no-color --no-deps --no-recreate --no-start --remove-orphans --scale --timeout -t" -- "$cur" ) )
|
||||
;;
|
||||
*)
|
||||
__docker_compose_services_all
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
coverage==3.7.1
|
||||
flake8==3.5.0
|
||||
mock>=1.0.1
|
||||
pytest==2.7.2
|
||||
pytest-cov==2.1.0
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
|
||||
set -e
|
||||
|
||||
VERSION="1.17.0-rc1"
|
||||
VERSION="1.17.0"
|
||||
IMAGE="docker/compose:$VERSION"
|
||||
|
||||
|
||||
|
|
|
@ -851,7 +851,13 @@ class CLITestCase(DockerClientTestCase):
|
|||
volumes = self.project.volumes.volumes
|
||||
assert 'data' in volumes
|
||||
volume = volumes['data']
|
||||
assert volume.exists()
|
||||
|
||||
# The code below is a Swarm-compatible equivalent to volume.exists()
|
||||
remote_volumes = [
|
||||
v for v in self.client.volumes().get('Volumes', [])
|
||||
if v['Name'].split('/')[-1] == volume.full_name
|
||||
]
|
||||
assert len(remote_volumes) > 0
|
||||
|
||||
@v2_only()
|
||||
def test_up_no_ansi(self):
|
||||
|
|
|
@ -788,7 +788,7 @@ class ServiceTest(DockerClientTestCase):
|
|||
|
||||
net_container = self.client.create_container(
|
||||
'busybox', 'top', host_config=self.client.create_host_config(
|
||||
extra_hosts={'google.local': '8.8.8.8'}
|
||||
extra_hosts={'google.local': '127.0.0.1'}
|
||||
), name='composetest_build_network'
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue