E

Issue with Earthfile auto-skip flag

Summary

The user has a repository with multiple Earthly projects and a main Earthfile that uses the --auto-skip flag to optimize testing and deployment. They have encountered an issue where deleting a file does not trigger the --auto-skip flag to recognize it as a change, causing the test and deploy steps to be skipped. They are looking for a workaround for this problem and are also interested in seeing the Earthfile setup if it is available as a public repository or a public-facing shallow copy.

Status
open
Tags
  • Auto-skip
  • Deployment
  • Support Need
  • Bug Report
  • Developer Help
  • Developer
  • --auto-skip flag
  • Testing
  • Earthly Issues
  • Earthfile
Source
#earthly
    e

    exographicskip44

    11/13/2024

    I'm new to earthly so not sure about the issue itself.

    However, I'd be interested to see your earthfile setup if it's a public repo or you don't mind making a public-facing shallow copy :pray:

    s

    sebastian.ellegaard

    11/13/2024

    Feel free to ask questions, if you need more information about my situation :)

    s

    sebastian.ellegaard

    11/13/2024

    Hello, I have a repo with a lot of different Earthly projects. I have a main Earthfile that tests and deploys all of them, but with the --auto-skip flag on every one of them to save time. I have noticed that when I delete a file as the only change in a project, the --auto-skip flag doesn't recognise it as a change and skips both the test and deploy step. Is there a workaround for this?