mirror of https://github.com/docker/docker-py.git
				
				
				
			Update CI to ubuntu-2004
Signed-off-by: Stefan Scherer <stefan.scherer@docker.com>
This commit is contained in:
		
							parent
							
								
									da32a2f1a2
								
							
						
					
					
						commit
						9e007469ef
					
				|  | @ -18,7 +18,7 @@ def buildImage = { name, buildargs, pyTag -> | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| def buildImages = { -> | def buildImages = { -> | ||||||
|   wrappedNode(label: "amd64 && ubuntu-1804 && overlay2", cleanWorkspace: true) { |   wrappedNode(label: "amd64 && ubuntu-2004 && overlay2", cleanWorkspace: true) { | ||||||
|     stage("build image") { |     stage("build image") { | ||||||
|       checkout(scm) |       checkout(scm) | ||||||
| 
 | 
 | ||||||
|  | @ -36,7 +36,7 @@ def buildImages = { -> | ||||||
| 
 | 
 | ||||||
| def getDockerVersions = { -> | def getDockerVersions = { -> | ||||||
|   def dockerVersions = ["19.03.12"] |   def dockerVersions = ["19.03.12"] | ||||||
|   wrappedNode(label: "amd64 && ubuntu-1804 && overlay2") { |   wrappedNode(label: "amd64 && ubuntu-2004 && overlay2") { | ||||||
|     def result = sh(script: """docker run --rm \\ |     def result = sh(script: """docker run --rm \\ | ||||||
|         --entrypoint=python \\ |         --entrypoint=python \\ | ||||||
|         ${imageNamePy3} \\ |         ${imageNamePy3} \\ | ||||||
|  | @ -77,7 +77,7 @@ def runTests = { Map settings -> | ||||||
|   } |   } | ||||||
| 
 | 
 | ||||||
|   { -> |   { -> | ||||||
|     wrappedNode(label: "amd64 && ubuntu-1804 && overlay2", cleanWorkspace: true) { |     wrappedNode(label: "amd64 && ubuntu-2004 && overlay2", cleanWorkspace: true) { | ||||||
|       stage("test python=${pythonVersion} / docker=${dockerVersion}") { |       stage("test python=${pythonVersion} / docker=${dockerVersion}") { | ||||||
|         checkout(scm) |         checkout(scm) | ||||||
|         def dindContainerName = "dpy-dind-\$BUILD_NUMBER-\$EXECUTOR_NUMBER-${pythonVersion}-${dockerVersion}" |         def dindContainerName = "dpy-dind-\$BUILD_NUMBER-\$EXECUTOR_NUMBER-${pythonVersion}-${dockerVersion}" | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue