Releases: earthly/earthly
Releases · earthly/earthly
v0.7.11
Added
global.org
configuration value to set a default org for allearthly
commands that require it.earthly org select
andearthly org unselect
commands, as shortcuts to set a default organization in theearthly
config file.
Changed
- Removed the default size in satellite launch (the default size is now determined by the backend when not provided) #3057
- Deprecated the satellite org configuration value. It uses the new global configuration value.
v0.7.10
Changed
- Removed the default size in satellite launch (the default size is now determined by the backend when not provided) #3057
- Earthly cloud organization auto-detection has been deprecated and should now be explicitly set with the
--org
flag or with theEARTHLY_ORG
environment variable. - Buildkit has been updated to include upstream changes up to cdf28d6fff9583a0b173c62ac9a28d1626599d3b.
Fixed
v0.7.9
Changed
- The command
docker-build
now also supports passing multiple platforms using a comma (e.g--platform linux/amd64,linux/arm64
) - Increased temporary lease duration of buildkit's history queue to prevent unknown history in blob errors under high cpu load. #3000
- Performing an
earthly account logout
will keep you logged out -- earthly will no longer attempt an auto-login via ssh-agent (useearthly account login
to log back in).
Fixed
- Fixed a bug in satellite update command which was incorrectly changing satellites to medium size.
- Fixed support for being authenticated with multiple registries when using the cloud-based
earthly registry
feature. #3010 - Fixed
WITH DOCKER
auto install script when using latest (bookworm) version.
Added
- Buildkit logs now include version and revision.
- Satellite name autocompletion
v0.7.8
Added
- Add a new experimental command
docker-build
to build a Dockerfile directly.
Changed
FROM DOCKERFILE
will use a.dockerignore
file when using a build context from the host system and both.earthlyignore
and.earthignore
do not exist. Enable withVERSION --use-docker-ignore 0.7
.
Fixed
- Fixed upstream race condition bug in buildkit, which resulted in
failed to solve: unknown blob sha256:<...> in history
errors. #3000
v0.7.7
Added
- The new ARG
EARTHLY_CI_RUNNER
indicates whether the current build is executed in Earthly CI. Enable withVERSION --earthly-ci-runner-arg 0.7
.
Changed
- Updated buildkit up to 60d134bf7 and fsutil up to 9e7a6df48576; this includes a buildkit fix for 401 Unauthorized errors. #2973
- Enabled
GIT_LFS_SKIP_SMUDGE=1
when pulling git repos (to avoid pulling in large files initially).
Fixed
- The earthly docker image incorrectly showed
dev-main
under the embedded buildkit version.
v0.7.6
Added
- Better error messages when git opperations fail.
- Added a
runc-ps
script under the earthly-buildkitd container to make it easier to see what processes are running.
Fixed
- The builtin 'docker compose' (rather than
docker-compose
script) is now used when using theWITH DOCKER
command under alpine 3.18 or greater. - Fixed context timeout value overflow when connecting to a remote buildkit instance.
v0.7.5
Changed
- Remote BuildKit will use TLS by default.
- Deprecation warning: Secret IDs naming scheme should follow the ARG naming scheme; i.e. a letter followed by alphanumeric characters or underscores. #2883
- Secrets take precedence over ARGs of the same name. #2931
Added
- Experimental support for performing a
git lfs pull --include=<path>
when referencing a remote target on the cli, when used with the new--git-lfs-pull-include
flag. #2992
Fixed
SAVE IMAGE <img>
was incorrectly pushed when earthly was run with the--push
cli flag (this restores the requirement that images that are pushed must be defined withSAVE IMAGE --push <img>
). #2923- Incorrect global ARG values when chaining multiple DO commands together. #2920
- Build args autocompletion under artifact mode.
v0.7.4
Changed
- Updated the github ssh-rsa public key in the pre-populated buildkitd known_hosts entries.
v0.7.3
NOTE: v0.7.3 was not fully released, e.g. there is no satellite support, use v0.7.4 instead.
Added
- A host of changes to variables under the
--arg-scope-and-set
feature flag:- Redeclaring an
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.- A new command,
LET
, is available for declaring non-argument variables.LET
takes precedence overARG
, just likeARG
takes precedence overARG --global
.
- A new command,
SET
, is available for changing the value of variables declared withLET
.
- Redeclaring an
- Introduced
--size
and--age
flags to the prune command, to allow better control.
Changed
- Updated buildkit with changes up to 3187d2d056de7e3f976ef62cd548499dc3472a7e.
- The
VERSION --git-branch
feature flag has been removed (EARTHLY_GIT_BRANCH
was always available in the previous version). - Improved earthly API connection timeout logic.
earthly doc
now includesARG
s in both summary and detail output, andARTIFACT
s andIMAGE
s in its detail output.
Fixed
- Fixed
Could not detect digest for image
warnings for when usingWITH DOCKER --load
which referenced an earthly target that
included aFROM
referencing an image following thedocker.io/<user>/<img>
naming scheme (rather than thedocker.io/library/<user>/<img>
scheme). - Fixed
COPY --if-exists
to work with earthly targets. #2541 - Intentional-indentation of comments is no longer removed by the doc command. #2747
SAVE ARTIFACT ... AS LOCAL ...
could not write to non-current directories upon failure of a TRY/FINALLY block. #2800
v0.7.2
Added
- Support for Rosetta translation environment (emulator) in buildkit as an alternative to QEMU. To enable, go to Docker Desktop -> Settings -> Features in development -> Check
Use Rosetta for x86/amd64 emulation on Apple Silicon
. - New ARG
EARTHLY_GIT_BRANCH
will contain the branch of the current git commit, this ARG must be enabled with theVERSION --git-branch
feature flag. #2735 - Verbose logging when git configurations perform a regex substitution.
Fixed
- SAVE IMAGE --push did not always work under
VERSION 0.7
, when image was refrenced by aFROM
orCOPY
, followed by aBUILD
. #2762
Changed
- Simplified error message when a RUN command fails with an exit code. #2742
- Improved warning messages when earthly cloud-based registry auth fails. #2783
- Deleting a project will prompt for confirmation, unless --force is specified.
- Updated buildkit with changes up to 4451e1be0e6889ffc56225e54f7e26bd6fdada54.