-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Build hygiene: Ensure that no packages compute their hash based on files that we .gitignore #14157
Comments
This is breaking some workflows for developers, so worth prioritising now that people are using |
A suggestion from Chris:
I think this would be great way to tackle the problem.
|
Cross-posting a temporary workaround for visibility until this gets properly resolved, see relevant discussion (internal).
|
I created gitpod-io/leeway#140 to extend leeway to make it easier to find files in |
Some Leeway packages include files that we have in .gitignore in their source declarations, which means that the hash of the package is different in a Gitpod Workspace (due to builds performed as part of our prebuilds I believe) than in our Werft builds.
A temporary solution has been implemented in #14156 but we should fix the package definitions properly.
To see what packages needs out attention: Start a new workspace, modify
dev/preview/workflow/preview/build.sh
by removinggit clean -dfX
and adding--dry-run
to the leeway invocation.The text was updated successfully, but these errors were encountered: