-
Notifications
You must be signed in to change notification settings - Fork 1.3k
[build] update leeway #19114
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] update leeway #19114
Conversation
e759747 to
75a0f44
Compare
ed2bd5c to
c2e0fa6
Compare
|
New dependencies detected. Learn more about Socket for GitHub ↗︎
|
|
|
geropl
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
✔️
| workspaceLocation: gitpod/gitpod-ws.code-workspace | ||
| checkoutLocation: gitpod | ||
| ports: | ||
| - port: 1337 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
only formatting changes 👇
|
/unhold |
Description
This change updates the development container to use the latest version of leeway, which gained support for caching when using
leeway exec.It makes use of this in our root
yarn buildscript, so that rerunning this script (as we do on every workspace start) no longer takes 80 secs, but more like 4sec.This change also moves the leeway cache below
/workspaceSummary generated by Copilot
🤖[deprecated] Generated by Copilot at e759747
This pull request optimizes the Gitpod development environment and workflow by using the
--cache-keyoption of leeway for Java and yarn build tasks. It also removes unused code related toHostContextProviderfrom thegitpod-server-impl.tsfile.Related Issue(s)
Fixes #
How to test
Start a workspace on this PR and try yarn build in the root folder.
Documentation
Preview status
gitpod:summary
Build Options
Build
Run the build with werft instead of GHA
Run Leeway with
--dont-testPublish
Installer
Add desired feature flags to the end of the line above, space separated
Preview Environment / Integration Tests
If enabled this will build
install/previewIf enabled this will create the environment on GCE infra
Saves cost. Untick this only if you're really sure you need a non-preemtible machine.
Valid options are
all,workspace,webapp,ide,jetbrains,vscode,ssh. If enabled,with-previewandwith-large-vmwill be enabled./hold