Skip to content

Commit

Permalink
Upgrade docker-compose-rule to 0.33.0 (#9)
Browse files Browse the repository at this point in the history
* Upgrade docker-compose-rule to 0.33.0

* Use updated artifact name

* Remove uses of deprecated shutdown strategies
  • Loading branch information
ashrayjain authored and SerialVelocity committed May 16, 2018
1 parent bf30ca7 commit e8c0486
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Expand Up @@ -63,7 +63,7 @@ sourceCompatibility = 1.8
targetCompatibility = 1.8

dependencies {
compile group: 'com.palantir.docker.compose', name: 'docker-compose-rule'
compile group: 'com.palantir.docker.compose', name: 'docker-compose-rule-junit4'
compile group: 'junit', name: 'junit'
compile group: 'net.amygdalum', name: 'xrayinterface'
compile group: 'one.util', name: 'streamex'
Expand Down
2 changes: 0 additions & 2 deletions src/main/java/com/palantir/docker/proxy/DockerProxyRule.java
Expand Up @@ -9,7 +9,6 @@
import com.google.common.io.Resources;
import com.palantir.docker.compose.DockerComposeRule;
import com.palantir.docker.compose.configuration.ProjectName;
import com.palantir.docker.compose.configuration.ShutdownStrategy;
import com.palantir.docker.compose.connection.Container;
import com.palantir.docker.compose.connection.DockerMachine;
import com.palantir.docker.compose.execution.DockerExecutable;
Expand Down Expand Up @@ -49,7 +48,6 @@ public DockerProxyRule(
.file(getDockerComposeFile(this.dockerContainerInfo.getNetworkName()).getPath())
.waitingForService("proxy", Container::areAllPortsOpen)
.saveLogsTo(LogDirectory.circleAwareLogDirectory(logDirectory))
.shutdownStrategy(ShutdownStrategy.AGGRESSIVE_WITH_NETWORK_CLEANUP)
.retryAttempts(0)
.build();
}
Expand Down
Expand Up @@ -4,7 +4,6 @@
package com.palantir.docker.proxy;

import com.palantir.docker.compose.DockerComposeRule;
import com.palantir.docker.compose.configuration.ShutdownStrategy;
import com.palantir.docker.compose.connection.Container;
import com.palantir.docker.compose.logging.LogDirectory;
import java.io.IOException;
Expand All @@ -19,7 +18,6 @@ public class DockerProxyRuleTest {
.file("src/test/resources/DockerProxyRuleTest-services.yml")
.saveLogsTo(LogDirectory.circleAwareLogDirectory(DockerProxyRuleTest.class))
.waitingForService("webserver", Container::areAllPortsOpen)
.shutdownStrategy(ShutdownStrategy.AGGRESSIVE_WITH_NETWORK_CLEANUP)
.build();

@Test
Expand Down
2 changes: 1 addition & 1 deletion versions.props
@@ -1,4 +1,4 @@
com.palantir.docker.compose:docker-compose-rule = 0.28.1
com.palantir.docker.compose:docker-compose-rule-junit4 = 0.33.0
junit:junit = 4.12
net.amygdalum:xrayinterface = 0.3.0
one.util:streamex = 0.6.3
Expand Down

0 comments on commit e8c0486

Please sign in to comment.