Skip to content

Commit

Permalink
Merge pull request #2759 from StefanScherer/ubuntu-2004
Browse files Browse the repository at this point in the history
Update CI to ubuntu-2004
  • Loading branch information
aiordache committed Feb 9, 2021
2 parents da32a2f + 9e00746 commit a653052
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def buildImage = { name, buildargs, pyTag ->
}

def buildImages = { ->
wrappedNode(label: "amd64 && ubuntu-1804 && overlay2", cleanWorkspace: true) {
wrappedNode(label: "amd64 && ubuntu-2004 && overlay2", cleanWorkspace: true) {
stage("build image") {
checkout(scm)

Expand All @@ -36,7 +36,7 @@ def buildImages = { ->

def getDockerVersions = { ->
def dockerVersions = ["19.03.12"]
wrappedNode(label: "amd64 && ubuntu-1804 && overlay2") {
wrappedNode(label: "amd64 && ubuntu-2004 && overlay2") {
def result = sh(script: """docker run --rm \\
--entrypoint=python \\
${imageNamePy3} \\
Expand Down Expand Up @@ -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}") {
checkout(scm)
def dindContainerName = "dpy-dind-\$BUILD_NUMBER-\$EXECUTOR_NUMBER-${pythonVersion}-${dockerVersion}"
Expand Down

0 comments on commit a653052

Please sign in to comment.