0.16.0
What's new
-
batect will now rewrite proxy variables such as
http_proxy
that refer tolocalhost
so that they work correctly from within a container. (Inside a container,localhost
refers to the container, not the host machine.) This makes using batect with tools such as Cntlm much easier.The documentation has been updated with further details.
Note that this is currently only supported on Mac-based hosts running Docker 17.06 or later, support for Linux hosts will be added in a future release. Check #10 for more details.
Thanks to @pameck for the original suggestion.
-
⚠️ Breaking change: usingstart
on a task, which has been deprecated since v0.13, has been removed. Usedependencies
instead, which behaves in exactly the same way. -
Once SchemaStore/schemastore#486 is merged, editors that support schemastore.org for YAML files will automatically provide code completion for
batect.yml
files. In particular:-
Visual Studio Code supports schemastore.org for YAML files with the YAML Support by Red Hat extension
-
JetBrains IDEs (such as IntelliJ, PyCharm and RubyMine) support schemastore.org for YAML files starting with the 2018.2 release
-
What's been fixed
- Loading a configuration file with the
containers
ortasks
field defined but no containers or tasks provided no longer results in a cryptic error message. (Thanks to @pameck for reporting and then fixing this issue.)
Getting started
First time using batect? Take a look at the getting started guide, or the Java or Ruby sample projects.
How to upgrade from previous versions
- If you're using batect 0.12 or newer, run
./batect --upgrade
to upgrade automatically. - If you're using an older version of batect, replace the
batect
script in your project with the one attached to this release. (Don't forget to make it executable withchmod +x batect
if need be.)