What's new
There are two major changes in this release:
-
⚠️ Breaking change: The command line interface has been simplified (with the aim of reducing typing for the most common task, running a task):
./batect run the-task
is now./batect the-task
(run
is not required and no longer allowed)./batect version
is now./batect --version
./batect help
is now./batect --help
(--help
was always available, buthelp
is not available any more)./batect tasks
is now./batect --list-tasks
- the
--no-colors
option is now--no-color
for consistency (and yes, it uses the US spelling) - the
--disable-update-notification
option is now--no-update-notification
for consistency
-
⚠️ Potentially breaking change: batect now tries to help you deal with proxy servers where it can:
- during image builds, it will pass the
http_proxy
,https_proxy
,ftp_proxy
andno_proxy
environment variables as build arguments, making them available as environment variables to commands that run as part of the build - when running a container, it will pass the same environment variables through to the container, unless these are overridden in your configuration file
- note that this does not apply to image pulls - this must be configured separately
- there's more information in the new documentation about handling proxies
- during image builds, it will pass the
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
Already using batect? To install this update, simply replace the batect
script in your project with the one attached to this release. (Don't forget to make it executable with chmod +x batect
if need be.)