File tree 4 files changed +10
-11
lines changed
4 files changed +10
-11
lines changed Original file line number Diff line number Diff line change 1
- TEST_API_VERSION ?= 1.44
2
- TEST_ENGINE_VERSION ?= 25.0
1
+ TEST_API_VERSION ?= 1.45
2
+ TEST_ENGINE_VERSION ?= 26.1
3
3
4
4
ifeq ($(OS ) ,Windows_NT)
5
5
PLATFORM := Windows
Original file line number Diff line number Diff line change 2
2
3
3
from .version import __version__
4
4
5
- DEFAULT_DOCKER_API_VERSION = '1.44 '
5
+ DEFAULT_DOCKER_API_VERSION = '1.45 '
6
6
MINIMUM_DOCKER_API_VERSION = '1.24'
7
7
DEFAULT_TIMEOUT_SECONDS = 60
8
8
STREAM_HEADER_SIZE_BYTES = 8
Original file line number Diff line number Diff line change 1
1
# syntax=docker/dockerfile:1
2
2
3
- ARG API_VERSION=1.44
4
- ARG ENGINE_VERSION=25.0
3
+ ARG API_VERSION=1.45
4
+ ARG ENGINE_VERSION=26.1
5
5
6
6
FROM docker:${ENGINE_VERSION}-dind
7
7
Original file line number Diff line number Diff line change @@ -131,10 +131,9 @@ def test_run_with_networking_config(self):
131
131
assert 'NetworkSettings' in attrs
132
132
assert 'Networks' in attrs ['NetworkSettings' ]
133
133
assert list (attrs ['NetworkSettings' ]['Networks' ].keys ()) == [net_name ]
134
- # Expect Aliases to list 'test_alias' and the container's short-id.
135
- # In API version 1.45, the short-id will be removed.
134
+ # Aliases no longer include the container's short-id in API v1.45.
136
135
assert attrs ['NetworkSettings' ]['Networks' ][net_name ]['Aliases' ] \
137
- == [test_alias , attrs [ 'Id' ][: 12 ] ]
136
+ == [test_alias ]
138
137
assert attrs ['NetworkSettings' ]['Networks' ][net_name ]['DriverOpts' ] \
139
138
== test_driver_opt
140
139
@@ -191,9 +190,9 @@ def test_run_with_networking_config_only_undeclared_network(self):
191
190
assert 'NetworkSettings' in attrs
192
191
assert 'Networks' in attrs ['NetworkSettings' ]
193
192
assert list (attrs ['NetworkSettings' ]['Networks' ].keys ()) == [net_name ]
194
- # Aliases should include the container's short-id (but it will be removed
195
- # in API v1.45).
196
- assert attrs [ 'NetworkSettings' ][ 'Networks' ][ net_name ][ 'Aliases' ] == [ attrs [ "Id" ][: 12 ]]
193
+ # Aliases no longer include the container's short-id in API v1.45.
194
+ assert ( attrs [ 'NetworkSettings' ][ 'Networks' ][ net_name ][ 'Aliases' ]
195
+ is None )
197
196
assert (attrs ['NetworkSettings' ]['Networks' ][net_name ]['DriverOpts' ]
198
197
is None )
199
198
You can’t perform that action at this time.
0 commit comments