Skip to content

Commit

Permalink
Improve containerd compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
gesellix committed Dec 20, 2023
1 parent 52f396d commit a761ae4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ class DockerContainerIntegrationSpec extends Specification {
then:
ClientException ex = thrown()
ex.statusCode == 404
ex.toString() =~ /.*manifest for gesellix\/testimage:unknown not found.*/
ex.toString() =~ /.* (docker.io\/)?gesellix\/testimage:unknown:? not found.*/
}

def expectManifestNotFound(def content) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ class DockerImageIntegrationSpec extends Specification {

then:
notThrown(Exception)
infos.last().error.contains(" missing/image")
infos.last().error.matches(".*(docker.io/)?missing/image.*")
}

def "build image with custom Dockerfile"() {
Expand Down Expand Up @@ -396,7 +396,7 @@ class DockerImageIntegrationSpec extends Specification {
then:
!infos.empty
infos.find { it.status.contains("digest") || it.status.contains("aux") }.status =~ "sha256:\\w+"
infos.find { it.status?.contains("digest") || it.status?.contains("aux") }.status =~ "sha256:\\w+"
// pushResult.content.last().aux.Digest =~ "sha256:\\w+"
cleanup:
Expand Down

0 comments on commit a761ae4

Please sign in to comment.