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

Autoskip is not working with target globbing #4046

Open
idodod opened this issue Apr 22, 2024 · 0 comments
Open

Autoskip is not working with target globbing #4046

idodod opened this issue Apr 22, 2024 · 0 comments
Labels
type:bug Something isn't working

Comments

@idodod
Copy link
Contributor

idodod commented Apr 22, 2024

What went wrong?

when trying to use autoskip on a target that uses globbing (e.g. BUILD ./libs/*+mocks), I get an error:

Error: auto-skip is unable to calculate hash for +update-mocks-for-renovate: No Earthfile nor build.earth file found for target ./libs/*+mocks

What should have happened?

I think Autoskip should be able to calculate a hash based on all the targets that match the globbing pattern and consider the a change in case the globbing pattern happens to match more or less targets than in the previous execution

What earthly version?

v0.8.8

Buildkit Logs

No response

Other Helpful Information

This problem applies to both BUILD & COPY when used with globbing.

@idodod idodod added the type:bug Something isn't working label Apr 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug Something isn't working
Projects
Status: No status
Development

No branches or pull requests

1 participant