github batect/batect 0.52.0

latest releases: 0.85.0, 0.84.0, 0.83.9...
4 years ago

Changes in this release:

  • New: tasks can now specify only prerequisites (without themselves running a container).

    This is useful for tasks that act as shortcuts to running a collection of other tasks, such as pre-commit checks, for example:

    tasks:
     pre-commit:
       prerequisites:
         - build
         - lint
         - unitTest
  • New: it's now possible to override the default log driver for a container with the log_driver configuration option.

  • New: the documentation now has an example of running a task with all output from containers being sent to Seq.

    Seq is a log aggregation and viewing tool that's perfect for browsing logs during local development. The technique showcased in the example can also equally be applied to other logging tools.

  • New: it's now possible to expose non-TCP ports from a container, such as UDP or SCTP ports.

    The documentation for ports has more details.

  • Fixed: the wrapper script will no longer fail to start batect if the JAVA_TOOL_OPTIONS environment variable is set (#464 - thanks to @hpcsc for the PR)

  • Fixed: batect will no longer fail to run on macOS if the GNU coreutils version of stty takes precedence over the system version of stty in PATH.

  • Fixed: a "Could not terminate all container I/O streaming threads" error will no longer be shown if a task running in interpolated output mode (--output all) is interrupted with Ctrl-C.

  • Changed: the readme and home page of the documentation have been updated, with more examples and links added to the readme.

  • Changed: error messages are now slightly easier to read in interpolated output mode (--output all), as the container name will only be printed next to the first line of the error message.

  • Changed: the error message shown when the requested task does not exist will now remind you that you can run ./batect --list-tasks to see all tasks, or run ./batect --help to get more help.

Getting started

First time using batect? Take a look at the getting started guide, or the many sample projects.

How to upgrade from previous versions

If you're already using batect, run ./batect --upgrade to upgrade automatically.

Don't miss a new batect release

NewReleases is sending notifications on new releases.