File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
java/eu/xenit/gradle/testrunner Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 1515import org .gradle .testkit .runner .TaskOutcome ;
1616import org .gradle .util .GradleVersion ;
1717import org .hamcrest .Matchers ;
18- import org .junit .Ignore ;
1918import org .junit .Test ;
2019
2120/**
@@ -132,7 +131,6 @@ public void testIssue104() throws IOException {
132131 }
133132
134133 @ Test
135- @ Ignore ("Waiting for a fix for https://github.com/bmuschko/gradle-docker-plugin/issues/1158" )
136134 public void testIssue107 () throws IOException {
137135 testProjectFolder (REPRODUCTIONS .resolve ("issue-107" ), ":functionalTest" );
138136 }
Original file line number Diff line number Diff line change @@ -35,13 +35,14 @@ import com.bmuschko.gradle.docker.tasks.image.*
3535
3636task saveDockerImage (type : DockerSaveImage ) {
3737 dependsOn(buildDockerImage)
38- image = buildDockerImage. imageId
38+ images . add( buildDockerImage. imageId)
3939 destFile = project. layout. buildDirectory. file(" builtImage.tar" )
4040}
4141
4242task saveBaseDockerImage (type : DockerSaveImage ) {
43- image = dockerAlfresco. baseImage
43+ images . add( dockerAlfresco. baseImage)
4444 destFile = project. layout. buildDirectory. file(" originalImage.tar" )
45+ mustRunAfter(buildDockerImage) // because the build pulls the base image if it does not exist on disk yet
4546}
4647import java.util.stream.Collectors
4748import java.util.stream.Stream
You can’t perform that action at this time.
0 commit comments