Skip to content

Releases: earthly/earthly

v0.7.11

06 Jul 19:51
Compare
Choose a tag to compare

Added

  • global.org configuration value to set a default org for all earthly commands that require it.
  • earthly org select and earthly org unselect commands, as shortcuts to set a default organization in the earthly 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

05 Jul 20:19
f862451
Compare
Choose a tag to compare

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 the EARTHLY_ORG environment variable.
  • Buildkit has been updated to include upstream changes up to cdf28d6fff9583a0b173c62ac9a28d1626599d3b.

Fixed

  • Updated the podman auth provider to better understand podman auth.json locations. #3038
  • Fixed our aggregated authprovider ignoring the cloud authprovider when a project is set after the first creds lookup #3058

v0.7.9

22 Jun 18:38
cf170db
Compare
Choose a tag to compare

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 (use earthly 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

07 Jun 17:23
83add94
Compare
Choose a tag to compare

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 with VERSION --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

01 Jun 20:45
547fb64
Compare
Choose a tag to compare

Added

  • The new ARG EARTHLY_CI_RUNNER indicates whether the current build is executed in Earthly CI. Enable with VERSION --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

23 May 21:33
78d2f5b
Compare
Choose a tag to compare

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 the WITH DOCKER command under alpine 3.18 or greater.
  • Fixed context timeout value overflow when connecting to a remote buildkit instance.

v0.7.5

10 May 17:17
0857e35
Compare
Choose a tag to compare

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 with SAVE IMAGE --push <img>). #2923
  • Incorrect global ARG values when chaining multiple DO commands together. #2920
  • Build args autocompletion under artifact mode.

v0.7.4

12 Apr 20:32
a1c46ca
Compare
Choose a tag to compare

Changed

  • Updated the github ssh-rsa public key in the pre-populated buildkitd known_hosts entries.

v0.7.3

12 Apr 17:53
18656a2
Compare
Choose a tag to compare
v0.7.3 Pre-release
Pre-release

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.
    • ARGs inside of targets will no longer have their default value overridden by global ARGs.
    • A new command, LET, is available for declaring non-argument variables.
      • LET takes precedence over ARG, just like ARG takes precedence over ARG --global.
    • A new command, SET, is available for changing the value of variables declared with LET.
  • 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 includes ARGs in both summary and detail output, and ARTIFACTs and IMAGEs in its detail output.

Fixed

  • Fixed Could not detect digest for image warnings for when using WITH DOCKER --load which referenced an earthly target that
    included a FROM referencing an image following the docker.io/<user>/<img> naming scheme (rather than the docker.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

14 Mar 17:54
e6fed70
Compare
Choose a tag to compare

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 the VERSION --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 a FROM or COPY, followed by a BUILD. #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.