Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proposal: RUN --no-cache #585

Closed
vladaionescu opened this issue Dec 5, 2020 · 2 comments · Fixed by #739
Closed

Proposal: RUN --no-cache #585

vladaionescu opened this issue Dec 5, 2020 · 2 comments · Fixed by #739
Labels
help:feedback-requested Issue requests feedback type:proposal A proposal for a new feature

Comments

@vladaionescu
Copy link
Member

vladaionescu commented Dec 5, 2020

Introduce a new flag for the RUN command which instructs the Earthly to never use cache for it.

RUN --no-cache ...

Use-cases:

  • Temporarily add this flag in the Earthfile to debug flaky tests
  • Otherwise, use in situations where the command needs to actually run every time (eg refresh some credentials)
@vladaionescu vladaionescu added the type:proposal A proposal for a new feature label Dec 5, 2020
@vladaionescu vladaionescu added the help:feedback-requested Issue requests feedback label Dec 5, 2020
@JensRantil
Copy link
Contributor

Could you maybe share why this would be useful in the description?

@vladaionescu
Copy link
Member Author

Done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help:feedback-requested Issue requests feedback type:proposal A proposal for a new feature
Projects
No open projects
Development

Successfully merging a pull request may close this issue.

2 participants