Skip to content

Commit

Permalink
Update test engine versions in Jenkinsfile
Browse files Browse the repository at this point in the history
Signed-off-by: Joffrey F <joffrey@docker.com>

Conflicts:
	Jenkinsfile
  • Loading branch information
shin- committed Nov 7, 2017
1 parent 3bad051 commit 65ba043
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ def imageNamePy2
def imageNamePy3
def images = [:]

def dockerVersions = ["1.13.1", "17.04.0-ce", "17.05.0-ce", "17.06.0-ce", "17.07.0-ce-rc3"]
def dockerVersions = ["17.06.2-ce", "17.09.0-ce", "17.10.0-ce"]

def buildImage = { name, buildargs, pyTag ->
img = docker.image(name)
Expand Down Expand Up @@ -33,7 +33,7 @@ def buildImages = { ->
}

def getAPIVersion = { engineVersion ->
def versionMap = ['1.13.': '1.26', '17.04': '1.27', '17.05': '1.29', '17.06': '1.30', '17.07': '1.31']
def versionMap = ['17.06': '1.30', '17.09': '1.32', '17.10': '1.33']
return versionMap[engineVersion.substring(0, 5)]
}

Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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.30
TEST_ENGINE_VERSION ?= 17.06.0-ce
TEST_API_VERSION ?= 1.33
TEST_ENGINE_VERSION ?= 17.10.0-ce

.PHONY: integration-dind
integration-dind: build build-py3
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/api_build_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ def test_build_container_with_target(self):
pass

info = self.client.inspect_image('build1')
self.assertEqual(info['Config']['OnBuild'], [])
assert not info['Config']['OnBuild']

@requires_api_version('1.25')
def test_build_with_network_mode(self):
Expand Down

0 comments on commit 65ba043

Please sign in to comment.