Releases: earthly/earthly
Releases · earthly/earthly
v0.6.25
v0.6.24
Added
- The new
earthly org invite
command now has the ability to invite multiple email addresses at once. - Experimental support for
TRY/FINALLY
, which allows saving artifacts upon failure. #988, #587.
Not that this is only a partial implementation, and only accepts a single RUN command in theTRY
, and onlySAVE ARTIFACT
commands in theFINALLY
block. - Ability to enable specific satellite features via cli flags, e.g. the new experimental sleep feature can be enabled with
earthly satellite launch --feature-flags satellite-sleep my-satellite
.
Changed
- Bootstraping zsh autocompletion will first attempt to install under
/usr/local/share/zsh/site-functions
, and will now
fallback to/usr/share/zsh/site-functions
. - The earthly preview org command has been promoted to GA, and is now available under earthly org.
earthly sat select
with no arguments now prints the current satellite and the usage text.- The interactive debugger now connects over the buildkit session connection rather than an unencrypted tcp connection; this makes it possible
to use the interactive debugger with remote buildkit instances.
Fixed
- Fixed Earthly failing when using a remote docker host from a machine with an incompatible architecture. #1895
- Earthly will no longer race with itself when starting up buildkit. #2194
- The error reported when failing to initiate a connection to buildkit has been reworded to account for the remote buildkit/satellite case too.
- Errors related to parsing
VERSION
feature flags will no longer be displayed during auto-completion.
v0.6.23
Fixed
- Using
--remote-cache
on a target that contains onlyBUILD
instructions caused a hang. #1945 - Fixed WAIT/END related bug which prevent
WITH DOCKER --load
from building referenced target. - Images and artifacts which are output (or pushed), are now displayed in the final earthly output.
ssh: parse error in message type 27
error when using OpenSSH 8.9; fixed by upstream in golang/go#51689.
Changed
- Removed warning stating that
WAIT/END code is experimental and may be incomplete
-- it is still experimental; however, it now has a higher degree
of test-coverage. It can be enabled withVERSION --wait-block 0.6
. - A warning is now displayed during exporting a multi-platform image to the local host if no platform is found that matches the host's platform type.
- Reduced verbosity of
To enable pushing use earthly --push
message.
v0.6.22
Added
--cache-from
earthly flag, which allows defining multiple ordered caches. #1693- WAIT/END support for saving artifacts to local host.
- WAIT/END support for
RUN --push
commands.
Fixed
- Updated
EXPOSE
parsing to accept (and ignore) host IP prefix, as well as expose udp ports; this should be fully-compatible with dockerfile's format. #1986 - The earthly-buildkit container is now only initialized when required.
Changed
- The earthly-buildkit container is now only initialized when required.
v0.6.21
Added
EARTHLY_LOCALLY
builtin arg which is set totrue
orfalse
when executing locally or within a container, respectively. This ARG must be enabled with
theVERSION --earthly-locally-arg
feature flag.
Fixed
- Fixed an incompatibility with older versions of remote BuildKits and Satellites, which was resulting in Earthly crashing.
- Fixed
WITH DOCKER
not loading correctly when the image name contained a port number underVERSION --use-registry-for-with-docker
. #2071 - Race condition in WAIT / END block, which prevented waiting on some BUILD commands.
Changed
- Added a deprecation warning for secrets using a
+secrets/
prefix. Support for this prefix will be removed in a future release. - per-file stat transfers are now logged when running under
--debug
mode.
v0.6.20
Changed
- Updated buildkit to include changes up to 12cfc87450c8d4fc31c8c0a09981e4c3fb3e4d9f
Added
- Adding support for saving artifact from
--interactive-keep
. #1980 - New
EARTHLY_PUSH
builtin arg, which is set totrue
when earthly is run with the--push
flag, and the argument
is referenced under the direct target, or a target which is indirectly referenced via aBUILD
command; otherwise
it will be set tofalse
. The value mimics when aRUN --push
command is executed. This feature must be enabled with
VERSION --wait-block 0.6
.
Fixed
- Fixed
context.Canceled
being reported as the error in some builds instead of the root cause. #1991 - Improved cache use of
WITH DOCKER
command. - The
earthly/earthly
docker image is now also built for arm64 (in addition to amd64).
v0.6.19
Fixed
- Fixed retagging of images that are made available via the
WITH DOCKER
command when the--use-registry-for-with-docker
feature is enabled. - Fixed a bug where
earthly --version
would display unknown on some versions of Windows.
v0.6.18
v0.6.17
Added
- Additional debug information for failure during dind cleanup.
v0.6.16
Changed
- Custom
secret_provider
is now called with user's env variables. - Additional args can be passed to
secret_provider
, e.g.secret_provider: my-password-manager --db=$HOME/path/to/secrets.db
- Local registry is enabled by default in the earthly-buildkit container.