All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Docket can pass options to
docker-compose pullif you setDOCKET_PULL_OPTS.
- Docket now sets the working directory of Docker containers that use
run go testormount go sourcesto be the package's source code directory, which more closely matches whatgo testdoes.
dktpropagates stdin so thatdocker-composeprompts work.
- Examples in
testdataare tutorials for how to use docket as well as test cases for the test suite, which is fairly exhaustive (over 90% coverage). - Docket automatically mounts your Go sources into services with the right
labels (
"run go test"and"mount go sources"). - Docket now supports both
GOPATHmode and module-aware mode. dktis a new tool which wrapsdocker-composeso you can more easily interact with your docket setup.
- "Configs" have been replaced by "Modes".
- Use
DOCKET_MODEinstead ofGO_DOCKET_CONFIG. - docket determines which Docker Compose files to use by matching filenames based on the mode.
docket.Runno longer takes aConfigMap.docket.RunPrefixallows you to override the default prefix (docket).- Labels on Docker Compose services
show docket where to bind-mount Go sources and where to run
go test.
- Use
docket.Context.ExposedPort()was renamed toPublishedPort().- The prefix for environment variables is now
DOCKET_instead ofGO_DOCKET_.
0.1.0 - 2018-07-23
First working version of the library.