E

Prevent Caching Failures in CI Runs

Summary

The user is seeking a way to prevent Earthly from caching failures during CI runs, as it leads to unclear output on subsequent runs. They suggest either disabling caching for failures or providing the cached output of failed targets to improve debugging.

Status
open
Tags
    Source
    #earthly
      s

      sakurainds

      9/24/2024

      Is there a way to get earthly to NOT cache failures? In CI its frustrating when you get a CI run fail, and then subsequent runs of the same target give terse output not indicating why the target fails. I would like either Earthly to specifically not cache failures, or alternatively output the "cached" output of a failed target. Would make debugging CI runs so much easier.