Super simple build framework with fast, repeatable builds and an instantly familiar syntax – like Dockerfile and Makefile had a baby.
WITH DOCKER
would fail with EARTHLY_DOCKERD_CACHE_DATA: parameter not set
when using an older version of the earthly in combination with a satellite running v0.8.10.--github-annotations
flag or GITHUB_ACTIONS=true env. #2189
--oidc
flag to RUN
command which allows authentication to AWS via OIDC. Enable with the VERSION --run-with-aws-oidc
feature flag. #3804
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 the VERSION --docker-cache
feature flag. #3399
SAVE IMAGE --without-earthly-labels
feature, which will prevent any dev.earthly.*
labels from being saved to the image. Enable with the VERSION --allow-without-earthly-labels
feature flag. Thanks to @3manuek for the contribution!WITH DOCKER
load time calculation. #3485
RUN
on a satellite which reached the max execution time limit.<path>:<line>:<col>
rather than <path> line <line>:<col>
.IF
, FOR
, etc.BUILD --auto-skip
was recording failed steps as complete, which would lead to them being skipped on subsequent runs. #4054
COPY ./services/*+artifact/* .
which would invoke COPY
for ./services/foo+artifact
, and ./services/bar+artifact
(assuming two services foo and bar, both having a artifact
target in their respective Earthfile). Enable with the VERSION --wildcard-copy
feature flag. #3966.ARG
s - EARTHLY_GIT_AUTHOR_EMAIL
and EARTHLY_GIT_AUTHOR_NAME
will contain the author email and author name respectively. Enable with the VERSION --git-author-email-name-args
feature flag.--raw-output
flag available on RUN
that outputs line without target name. Enable with VERSION --raw-output
. #3713
EARTHLY_GIT_AUTHOR
built-in ARG
will now contain both name and email, when enabled with the VERSION --git-author-email-name-args
feature flag. Previously it only contained the email. #3822
LET
/SET
commands block parallel commands such as BUILD
until the former are processed, similar to the behavior of ARG
. #3997
LET
/SET
commands were not properly handled with the use of Auto-skip. #3996
--exec-stats-summary=<path>
cli flag, which will display a summary of memory and cpu stats when earthly exits.--debug
mode.earthly --remote-cache
flag). #3714 and #3868
+base
target's ARGs were not accounted for when calculating the cache. #3895
--aws
flag to RUN
command which makes AWS environment variables or ~/.aws available. Enable with the VERSION --run-with-aws
feature flag. #3803
--allow-privileged
flag to FROM DOCKERFILE
command. Enable with the VERSION --allow-privileged-from-dockerfile
feature flag. Thanks to @dustyhorizon for the contribution! #3706
BUILD
's are invoked from a relative directory (e.g., an Earthfile
containing BUILD ./*+test
invoked with earthly ./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
BUILD
flag arguments and wildcard targets #3862
BUILD --auto-skip
was silently ignored when the feature flag (VERSION --build-auto-skip
) was missing #3870
COPY --if-exists
would fail if the non-existing directory includes a wildcard. #3875
UDC
to FUNCTION
in hint when a secret is not found.dockerd-wrapper.sh
script, which is used to implement WITH 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.BUILD
commands with BUILD --auto-skip
; this feature can be enabled with VERSION --build-auto-skip 0.8
. #3581
rm
requires a --force
flag if it's running. This should help protect users from accidental deletes.CACHE --id $MY_ARG
was not using the assigned value of $MY_ARG
.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
earthly account login --token
was leading to partially created auth config files. 3761
--force
flag to the satellite update
command, which forces a satellite to sleep before starting the update process. This may forcibly kill ongoing builds currently running on the satellite.min(55%, max(10%, 20GB))
.earthly sat update <satellite-name>
.--interative
and --ci
. 3746