Skip to content

Preview: Improve cache-hit of dev/preview:build #13767

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

Closed
mads-hartmann opened this issue Oct 11, 2022 · 0 comments · Fixed by #14156
Closed

Preview: Improve cache-hit of dev/preview:build #13767

mads-hartmann opened this issue Oct 11, 2022 · 0 comments · Fixed by #14156
Assignees

Comments

@mads-hartmann
Copy link
Contributor

mads-hartmann commented Oct 11, 2022

Currently the "cache hits" for leeway build in a Workspace is not the same as in Werft - leeway wants to build a lot more packages when executed in a Gitpod workspace

Screenshot of Leeway plan in Werft

Image

Screenshot of Leeway plan in Gitpod workspace

Image

To reproduce, run the following from a branch in a workspace

gcloud auth login --no-launch-browser
time leeway build -Dversion=test -DSEGMENT_IO_TOKEN="" --dry-run

I suspect it's due to missing build argument or other differences between how leeway is invoked in Werft vs. workspaces. Find the right leeway invocation and update dev/preview:build to use that invocation.


This is a follow up from when working on https://github.com/gitpod-io/ops/issues/5766

@mads-hartmann mads-hartmann self-assigned this Oct 11, 2022
@mads-hartmann mads-hartmann changed the title Improve cache-hit of dev/preview:build Preview: Improve cache-hit of dev/preview:build Oct 24, 2022
Repository owner moved this from In Progress to Done in ☁️ DevX by 🚚 Delivery and Operations Experience Team Oct 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging a pull request may close this issue.

1 participant