Releases: Tapad/sbt-docker-compose
New Features
-
Added a new Task "variablesForSubstitutionTask" that allows for code to be executed at runtime to determine what variables to substitute. If both "variablesForSubstitution" and "variablesForSubstitutionTask" are defined then the final set of variables to use will be a combination of both.
-
Upgraded to ScalaTest 3.0.1
Bug Fixes
Bug Fixes
- Added support to dockerComposeTest for when "coursier" is being used for dependency management
- Updated sort order in output table to be consistent across executions
Command Line Tab Completion
Support added for command line Tab completion of plugin arguments.
New Features + Bug Fix
- Bugfix to handle quoted container names.
- Added 'dockerComposeRestart' command to quickly restart instances without having to do a 'dockerComposeStop' followed by a 'dockerComposeStart'.
- Added a new '-useStaticPorts' flag that avoids using dynamically assigned ports when possible. This is useful when debugging locally.
@edward720 Thanks for your contributions!
Docker Compose File Feature Support and Bug Fix
This release adds support for:
- Spaces in the classpath
- Relative volume paths in docker-compose yml
- Environment Variable substitution support in docker-compose yml
Thanks @seglo @tobym and @edward720 for your contributions!
docker-compose 'env_file' support + fixes
This release includes:
- Support for the docker-compose 'env_file' field.
- Ability to read docker-compose version information. For the moment this allows the '-f' option to be output on supported versions when showing how to tail the output logs.
- Bug fix where the proper running instance was not being selected for 'dockerComposeTest' execution when multiple instances were deemed to be running.
- Updates to examples to use latest sbt-docker and sbt-native-packager plugins (which includes support for docker v1.12 when it is released)
New Features
There are two new features in this release:
- Support for Port ranges in the Docker Compose yml definition file.
- Running Docker Compose instance information is now also available in the JVM System Properties during dockerComposeTest execution.
Pass Docker ContainerId Info to ScalaTest's
The Container Id of each running service is now available for use in your ScalaTest test cases via the configMap.
Bug Fix to Properly Find Host with Compose 2.0 on Linux
When running with the docker-compose 2.0 on Linux the host address for the container needs to be retrieved from the newly created network instead of from the higher level location used in docker-compose 1.0.