Releases: bloomberg/docket
Releases · bloomberg/docket
v0.4.0
v0.3.0
Changed
- 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.
Fixed
dktpropagates stdin so thatdocker-composeprompts work.
v0.2.0
Added
- 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.
Changed
- "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_.