chore(deps): update dependency earthly/earthly to v0.8.4 #53
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v0.7.22
->v0.8.4
Release Notes
earthly/earthly (earthly/earthly)
v0.8.4
Compare Source
Added
dockerd-wrapper.sh
script, which is used to implementWITH DOCKER
, will execute/usr/share/earthly/dockerd-wrapper-pre-script
, if present, prior to starting theinner dockerd process. This can be used to configure options that depend on the host's kernel at run-time.
BUILD
commands withBUILD --auto-skip
. #3581Changed
rm
requires a--force
flag if it's running. This should help protect users from accidental deletes.Fixed
CACHE --id $MY_ARG
was not using the assigned value of$MY_ARG
.Additional Info
v0.8.3
Compare Source
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. #3752earthly account login --token
was leading to partially created auth config files. #3761Additional Info
v0.8.2
Compare Source
Added
--force
flag to thesatellite update
command, which forces a satellite to sleep before starting the update process. This may forcibly kill ongoing builds currently running on the satellite.Changed
This logic can expressed as
min(55%, max(10%, 20GB))
.earthly sat update <satellite-name>
.Fixed
--interative
and--ci
. #3746Additional Info
v0.8.1
Compare Source
Added
--disable-remote-registry-proxy
cli flag, which can be used to disable the remote registry proxy, which is used by earthly when performing aSAVE IMAGE
command with a satellite / remote buildkit instance. This will cause earthly to use the slower tar-based loading of docker images. #3736
Additional Info
v0.8.0
Compare Source
This version promotes a number of features that have been previously in Experimental and Beta status. To make use of
the features in this version you need to declare
VERSION 0.8
at the top of your Earthfile.Migrating from 0.7
If you are using Earthly 0.7, follow the following steps to migrate:
VERSION 0.5
, upgrade those Earthfiles toVERSION 0.6
orVERSION 0.7
.VERSION 0.6
andVERSION 0.7
Earthfiles (butVERSION 0.5
support has been dropped).VERSION 0.8
. It is ok to have a mix ofVERSION 0.6
,VERSION 0.7
andVERSION 0.8
Earthfiles in the same project. Earthly handles that gracefully. See changes below for information on backwards incompatible changes when migrating fromVERSION 0.7
toVERSION 0.8
.This process helps manage the backward breaking changes with minimal disruption.
Summary
Declaring
VERSION 0.8
is equivalent toFor more information on the individual Earthfile feature flags see the Earthfile version-specific features page.
It should be noted that some of these features break backwards compatibility. See below.
Changed
ARG
in the same scope as a previous declaration is now an error.ARG
s inside of targets will no longer have their default value overridden by globalARG
s.CACHE ...
in a target will no longer be copied to children targets when referenced via aFROM +...
; to persist the contents of the cache, it is now required to use theCACHE --persist ...
flag.COMMAND
keyword has been renamed toFUNCTION
.Added
LET
- Allows declaring a local variable. This command works similarly toARG
except that it cannot be overridden from the CLI.LET
variables are allowed to shadowARG
variables, which allows you to promote anARG
to a local variable so that it may be used withSET
.SET
- a new command that allows changing the value of variables declared withLET
.RUN --network=none
allows running a command without network access..dockerignore
files are now used inFROM DOCKERFILE
targets.DO --pass-args
,BUILD --pass-args
etc allow passing all build arguments to external Earthfiles.CACHE --id=...
andRUN --mount type=cache,id=...
allows setting a custom cache mount ID, thus allowing sharing cache mounts globally across different targets.BUILD ./services/*+test
which would call./services/foo+test
, and./services/bar+test
(assuming two services foo and bar, both having atest
target in their respective Earthfile) #3582.Removed
VERSION 0.5
is now obsolete. DeclaringVERSION 0.5
is no longer supported, and will now raise an error.Fixed
WITH DOCKER
).$()
) and single quoted strings.\#
, were failing to parse when used inside shell expressions. Example:$(echo "a#b#c" | cut -f2 -d\#)
#3475#
, were failing to parse when used inside single-quoted strings: Example:'this is a # string'
#1280ARG
shell expressions were being incorrectly preprocessed. Example:$(echo "\"")
became$(echo """)
#3131--pass-args
feature was not passing active arguments which were set via a default value.SAVE ARTIFACT --if-exists
was not saving files based on a wildcard glob pattern. #1679BUILD
was not expanding--platform
argument values.Additional Info
v0.7.23
Compare Source
Added
COPY
destination includes a tilde (~). Related to #1789.-i
flag to debug the build when a RUN command fails.start-interval
flag toHEALTHCHECK
command for dockerfile parity #3409.ssh_command
config option which can be used to override the ssh command that is used bygit
when connecting to an ssh-based repository. Thanks to @weaversam8 for the contribution!Fixed
COMMAND
instead ofFUNCTION
keyword.VERSION 0.0
is a valid Earthfile version.Changed
--overwrite
flag should be used.Additional Info
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.