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

Don't compile previewctl on workspace-startup #11840

Merged
merged 1 commit into from
Aug 3, 2022
Merged

Don't compile previewctl on workspace-startup #11840

merged 1 commit into from
Aug 3, 2022

Conversation

meysholdt
Copy link
Member

Description

Improve workspace startup time by not compiling previewctl on workspace startup.

This PR removes the compile step for previewctl because it's already being added to the workspace here:

COPY dev-kubecdl--app/kubecdl dev-gpctl--app/gpctl dev-preview-previewctl--cli/previewctl /usr/bin/

Related Issue(s)

Fixes # https://gitpod.slack.com/archives/C01KGM9AW4W/p1659516801962049?thread_ts=1659513203.668999&cid=C01KGM9AW4W

How to test

see if previewctl is still available in workspaces.

Release Notes

NONE

Documentation

Werft options:

  • /werft with-preview

@github-actions
Copy link
Contributor

github-actions bot commented Aug 3, 2022

⚠️ Hey reviewer! BE CAREFUL ⚠️
Review the code before opening in your Gitpod. .gitpod.yml was changed and it might be harmful.

Copy link
Contributor

@ArthurSens ArthurSens left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixes # https://gitpod.slack.com/archives/C01KGM9AW4W/p1659516801962049?thread_ts=1659513203.668999&cid=C01KGM9AW4W

I doubt that this compilation takes all the CPU, but the change makes sense 🙂

@roboquat roboquat merged commit 5cd44fd into main Aug 3, 2022
@roboquat roboquat deleted the me/startup branch August 3, 2022 11:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants