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 test
ormount go sources
to be the package's source code directory, which more closely matches whatgo test
does.
Fixed
dkt
propagates stdin so thatdocker-compose
prompts work.
v0.2.0
Added
- Examples in
testdata
are 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
GOPATH
mode and module-aware mode. dkt
is a new tool which wrapsdocker-compose
so you can more easily interact with your docket setup.
Changed
- "Configs" have been replaced by "Modes".
- Use
DOCKET_MODE
instead ofGO_DOCKET_CONFIG
. - docket determines which Docker Compose files to use by matching filenames based on the mode.
docket.Run
no longer takes aConfigMap
.docket.RunPrefix
allows 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_
.