sbt-docker-compose
sbt-docker-compose copied to clipboard
sbt-docker-compose plugin provides ultimate solution for running integration tests against docker containers with health checking support.
I would like to create a new test configuration I consider distinct from integration tests, say `ServiceTest`: ```scala # build.sbt val ServiceTest = Configuration.of("ServiceTest", "servicetest").extend(IntegrationTest) lazy val root = (project...
expected behavior: `sbt dockerComposeTest --no-ansi it:testOnly "*MyClass" --force-recreate` should run only the class given. seen behavior: this just tries to run the entire test suite If I add a container_name...
While running tests from sbt, I start receiving log messages from the Actor after some time: ``` [INFO] [04/08/2019 14:06:38.335] [sbt-docker-compose-b0243dab-c9d4-4dd8-9467-ef5a05572a14-akka.actor.default-dispatcher-7] [akka://sbt-docker-compose-b0243dab-c9d4-4dd8-9467-ef5a05572a14/user/$b] Message [com.github.ehsanyou.sbt.docker.compose.HealthCheckActor$Protocol$ReturnTo] from Actor[akka://sbt-docker-compose-b0243dab-c9d4-4dd8-9467-ef5a05572a14/user/$b#-1605624210] to Actor[akka://sbt-docker-compose-b0243dab-c9d4-4dd8-9467-ef5a05572a14/user/$b#-1605624210] was not...
While the plugin can be found in maven central. the jar file and pom are not available. 1.0.0 is there http://search.maven.org/#artifactdetails%7Ccom.github.ehsanyou%7Csbt-docker-compose%7C1.1.0%7Cjar Example : http://repo1.maven.org/maven2/com/github/ehsanyou/sbt-docker-compose_2.12_1.0/1.0.0/sbt-docker-compose-1.0.0.pom http://repo1.maven.org/maven2/com/github/ehsanyou/sbt-docker-compose_2.12_1.0/1.1.0/sbt-docker-compose-1.1.0.pom As a workaround one can...
When I just add the plugin and type `dock` and `TAB`, I get ``` java.lang.RuntimeException: ./ ./ dockerComposeIgnore is undefined. at scala.sys.package$.error(package.scala:27) at sbt.Extracted.$anonfun$getOrError$1(Extracted.scala:119) at scala.Option.getOrElse(Option.scala:121) at sbt.Extracted.getOrError(Extracted.scala:119) at sbt.Extracted.getOrError(Extracted.scala:124)...
This PR adds environment variable support to the `test` and `up` commands. Environment variables then can be used as substitutions in the `docker-compose.yml` file: https://docs.docker.com/compose/compose-file/#variable-substitution
Incrementing the docker client version
This plugin currently uses version 8.9.0 of com.spotify:docker-client This version does not honor the -Dhttp.nonProxyHosts setting as described in this ticket https://github.com/spotify/docker-client/issues/978 Would it be possible to update this dependency...
Fix for https://github.com/ehsanyou/sbt-docker-compose/issues/5