Releases: earthly/earthly
Releases · earthly/earthly
v0.8.12
Added
- An experimental modification of the buildkit scheduler, which attempts to solve the
inconsistent graph state
error, which can be enabled locally withearthly --ticktock ...
.
Changed
- The BYOC (bring your own cloud) commands have been updated to reflect server-side API changes.
Fixed
- The
--buildkit-container-name
flag was incorrectly being ignored when--no-buildkit-update
was set.
Additional Info
- This release includes changes to buildkit
v0.8.11
Added
- Support for using HTTP(S) proxies when connecting to satellites.
Fixed
- Backwards compatability issue where
WITH DOCKER
would fail withEARTHLY_DOCKERD_CACHE_DATA: parameter not set
when using an older version of the earthly in combination with a satellite running v0.8.10.
Additional Info
- This release includes changes to buildkit
v0.8.10
Added
- New Github Actions Workflow commands integration
--github-annotations
flag or GITHUB_ACTIONS=true env. #2189 - Added a new
--oidc
flag toRUN
command which allows authentication to AWS via OIDC. Enable with theVERSION --run-with-aws-oidc
feature flag. #3804 - Experimental
WITH DOCKER --cache-id=<key>
feature, which will cache the contents of the docker data root, resulting in faster--load
and--pull
execution. Enabled with theVERSION --docker-cache
feature flag. #3399 - New
SAVE IMAGE --without-earthly-labels
feature, which will prevent anydev.earthly.*
labels from being saved to the image. Enable with theVERSION --allow-without-earthly-labels
feature flag. Thanks to @3manuek for the contribution!
Fixed
WITH DOCKER
load time calculation. #3485- The earthly cli was not correctly setting the exit status on failures when executing a
RUN
on a satellite which reached the max execution time limit. - Self-hosted satellite connection issue.
Changed
- Earthly will now use source link format when displaying errors, e.g.
<path>:<line>:<col>
rather than<path> line <line>:<col>
. - Improved error messages for cases where a shell is required to run a command such as
IF
,FOR
, etc. - Earthly will now show a warning when earthly anonymously connects to a registry (which increases the chance of being rate-limited).
Additional Info
- This release includes changes to buildkit
v0.8.9
v0.8.8
Added
- New experimental wildcard-based copy, e.g.
COPY ./services/*+artifact/* .
which would invokeCOPY
for./services/foo+artifact
, and./services/bar+artifact
(assuming two services foo and bar, both having aartifact
target in their respective Earthfile). Enable with theVERSION --wildcard-copy
feature flag. #3966. - New built-in
ARG
s -EARTHLY_GIT_AUTHOR_EMAIL
andEARTHLY_GIT_AUTHOR_NAME
will contain the author email and author name respectively. Enable with theVERSION --git-author-email-name-args
feature flag. - New
--raw-output
flag available onRUN
that outputs line without target name. Enable withVERSION --raw-output
. #3713
Changed
EARTHLY_GIT_AUTHOR
built-inARG
will now contain both name and email, when enabled with theVERSION --git-author-email-name-args
feature flag. Previously it only contained the email. #3822
Fixed
- Make
LET
/SET
commands block parallel commands such asBUILD
until the former are processed, similar to the behavior ofARG
. #3997 LET
/SET
commands were not properly handled with the use of Auto-skip. #3996
Additional Info
- This release has no changes to buildkit
v0.8.7
Added
- Warning log when resolving remote references using a git image that doesn't match Buildkit's architecture.
- New experimental
--exec-stats-summary=<path>
cli flag, which will display a summary of memory and cpu stats when earthly exits. - A notice is now displayed when unnecessary feature flags are set (but already enabled by default by the VERSION number). Thanks to @danqixu for the contribution! #3641
- A warning is displayed if the local buildkit image architecture does not match the host architecture. #3937
Fixed
- Warning logs during HTTP retries are only displayed in
--debug
mode. - The HOST command will now expand variables. Thanks to @pbecotte for the contribution! #1743
- runc has been updated to 1.1.12 in the buildkit fork
Additional Info
- This release includes changes to buildkit
v0.8.6
Added
- Ability to set arbitrary attributes which certain registries require to support explicit remote caching (via the
earthly --remote-cache
flag). #3714 and #3868
Fixed
- Fixed an issue in Auto-skip where a
+base
target's ARGs were not accounted for when calculating the cache. #3895
Additional Info
- This release has no changes to buildkit
v0.8.5
Added
- Added
--aws
flag toRUN
command which makes AWS environment variables or ~/.aws available. Enable with theVERSION --run-with-aws
feature flag. #3803 - Added
--allow-privileged
flag toFROM DOCKERFILE
command. Enable with theVERSION --allow-privileged-from-dockerfile
feature flag. Thanks to @dustyhorizon for the contribution! #3706
Fixed
- Fixes an issue where wildcard
BUILD
's are invoked from a relative directory (e.g., anEarthfile
containingBUILD ./*+test
invoked withearthly ./rel-dir+target
). #3840 --pass-args
will no longer pass builtin args, which would result in `value cannot be specified for built-in build arge errors. #3775- Fixes a parsing issue with
BUILD
flag arguments and wildcard targets #3862 BUILD --auto-skip
was silently ignored when the feature flag (VERSION --build-auto-skip
) was missing #3870- Fix an issue where
COPY --if-exists
would fail if the non-existing directory includes a wildcard. #3875 - Fixes an issue with passing the correct org value to Logstream which resulted in missing logs in the web builds view (https://cloud.earthly.dev/your-org/builds).
- Rename
UDC
toFUNCTION
in hint when a secret is not found.
Additional Info
- This release includes changes to buildkit
v0.8.4
Added
- The internal
dockerd-wrapper.sh
script, which is used to implementWITH DOCKER
, will execute/usr/share/earthly/dockerd-wrapper-pre-script
, if present, prior to starting the
inner dockerd process. This can be used to configure options that depend on the host's kernel at run-time. - Auto-skip can now be used directly on
BUILD
commands withBUILD --auto-skip
; this feature can be enabled withVERSION --build-auto-skip 0.8
. #3581
Changed
- Satellite
rm
requires a--force
flag if it's running. This should help protect users from accidental deletes.
Fixed
- Fixes an issue with the registry proxy (used for faster image & artifact exporting) on Docker Desktop for Windows/WSL. #3769
- Fixes a problem with cache IDs not being expanded. For example:
CACHE --id $MY_ARG
was not using the assigned value of$MY_ARG
.
Additional Info
- This release includes changes to buildkit
v0.8.3
Fixed
EARTHLY_GIT_REFS
was incorrectly returning all references which contained the commit rather than pointed to the current commit. This also increases performance of looking up the branches. #3752- Fixes an issue where
earthly account login --token
was leading to partially created auth config files. 3761
Additional Info
- This release includes changes to buildkit