Skip to content

Releases: bloomberg/docket

v0.4.0

10 Jul 22:24
Compare
Choose a tag to compare

Added

  • Docket can pass options to docker-compose pull if you set DOCKET_PULL_OPTS.

v0.3.0

10 Jul 22:22
Compare
Choose a tag to compare

Changed

  • Docket now sets the working directory of Docker containers that use run go test or mount go sources to be the package's source code directory, which more closely matches what go test does.

Fixed

  • dkt propagates stdin so that docker-compose prompts work.

v0.2.0

10 Jul 22:21
af34e0e
Compare
Choose a tag to compare

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 wraps docker-compose so you can more easily interact with your docket setup.

Changed

  • "Configs" have been replaced by "Modes".
    • Use DOCKET_MODE instead of GO_DOCKET_CONFIG.
    • docket determines which Docker Compose files to use by matching filenames based on the mode.
    • docket.Run no longer takes a ConfigMap.
    • 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.
  • docket.Context.ExposedPort() was renamed to PublishedPort().
  • The prefix for environment variables is now DOCKET_ instead of GO_DOCKET_.

v0.1.0

10 Jul 22:17
13f9ae3
Compare
Choose a tag to compare

First working version of the library.