Kaydet (Commit) ccd79323 authored tarafından Joffrey F's avatar Joffrey F

Shift test matrix forward

Signed-off-by: 's avatarJoffrey F <joffrey@docker.com>
üst bc8ada2f
......@@ -5,7 +5,7 @@ def imageNamePy2
def imageNamePy3
def images = [:]
def dockerVersions = ["17.06.2-ce", "17.09.0-ce", "17.10.0-ce"]
def dockerVersions = ["17.06.2-ce", "17.12.0-ce", "18.01.0-ce"]
def buildImage = { name, buildargs, pyTag ->
img = docker.image(name)
......@@ -33,7 +33,7 @@ def buildImages = { ->
}
def getAPIVersion = { engineVersion ->
def versionMap = ['17.06': '1.30', '17.09': '1.32', '17.10': '1.33']
def versionMap = ['17.06': '1.30', '17.12': '1.35', '18.01': '1.35']
return versionMap[engineVersion.substring(0, 5)]
}
......
......@@ -41,8 +41,8 @@ integration-test: build
integration-test-py3: build-py3
docker run -t --rm -v /var/run/docker.sock:/var/run/docker.sock docker-sdk-python3 py.test tests/integration/${file}
TEST_API_VERSION ?= 1.33
TEST_ENGINE_VERSION ?= 17.10.0-ce
TEST_API_VERSION ?= 1.35
TEST_ENGINE_VERSION ?= 17.12.0-ce
.PHONY: integration-dind
integration-dind: integration-dind-py2 integration-dind-py3
......
......@@ -1096,11 +1096,13 @@ class ServiceTest(BaseAPIIntegrationTest):
)
task_tmpl = docker.types.TaskTemplate(container_spec)
net1 = self.client.create_network(
'dockerpytest_1', driver='overlay', ipam={'Driver': 'default'}
self.get_service_name(), driver='overlay',
ipam={'Driver': 'default'}
)
self.tmp_networks.append(net1['Id'])
net2 = self.client.create_network(
'dockerpytest_2', driver='overlay', ipam={'Driver': 'default'}
self.get_service_name(), driver='overlay',
ipam={'Driver': 'default'}
)
self.tmp_networks.append(net2['Id'])
name = self.get_service_name()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment