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

[ws-scheduler] Set supervisor ref for ghosts #6718

Merged
merged 1 commit into from
Nov 16, 2021

Conversation

corneliusludmann
Copy link
Contributor

Description

This PR set the supervisor ref in the StartWorkspaceSpec for ghost workspaces.

This PR also updates the IDE image of the ghost workspaces to code stable instead of Theia.

How to test

Make sure that ghost workspaces start. You could also decode the imageSpec annotation.

Issues

Also part of #6512

Release Notes

NONE

@roboquat roboquat added release-note-none team: workspace Issue belongs to the Workspace team size/S labels Nov 15, 2021
@@ -291,7 +292,8 @@ func (wspd *WorkspaceManagerPrescaleDriver) startGhostWorkspaces(ctx context.Con
},
DeprecatedIdeImage: wspd.Config.IDEImage,
IdeImage: &api.IDEImage{
WebRef: wspd.Config.IDEImage,
WebRef: wspd.Config.IDEImage,
SupervisorRef: wspd.Config.SupervisorImage,
Copy link
Contributor

Choose a reason for hiding this comment

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

please add the corresponding entry in the installer

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done ✔️

@codecov
Copy link

codecov bot commented Nov 16, 2021

Codecov Report

Merging #6718 (ec159aa) into main (c009480) will decrease coverage by 12.87%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##             main   #6718       +/-   ##
==========================================
- Coverage   19.04%   6.16%   -12.88%     
==========================================
  Files           2      12       +10     
  Lines         168    1086      +918     
==========================================
+ Hits           32      67       +35     
- Misses        134    1018      +884     
+ Partials        2       1        -1     
Flag Coverage Δ
components-local-app-app-linux-amd64 ?
components-local-app-app-linux-arm64 ?
components-local-app-app-windows-386 ?
components-local-app-app-windows-amd64 ?
installer-raw-app 6.16% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
components/local-app/pkg/auth/auth.go
components/local-app/pkg/auth/pkce.go
...staller/pkg/components/ws-manager/networkpolicy.go 0.00% <0.00%> (ø)
installer/pkg/components/ws-manager/role.go 0.00% <0.00%> (ø)
installer/pkg/common/objects.go 0.00% <0.00%> (ø)
installer/pkg/components/ws-manager/tlssecret.go 0.00% <0.00%> (ø)
installer/pkg/common/render.go 0.00% <0.00%> (ø)
installer/pkg/components/ws-manager/configmap.go 29.71% <0.00%> (ø)
...components/ws-manager/unpriviledged-rolebinding.go 0.00% <0.00%> (ø)
installer/pkg/common/display.go 0.00% <0.00%> (ø)
... and 4 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5dafe5c...ec159aa. Read the comment docs.

@csweichel
Copy link
Contributor

/lgtm

@roboquat
Copy link
Contributor

LGTM label has been added.

Git tree hash: 51da10b824ec85ca56c2ea8bf756241d77a76908

@roboquat
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: csweichel

Associated issue: #6512

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@roboquat roboquat merged commit 16a23fd into main Nov 16, 2021
@roboquat roboquat deleted the clu/supervisor-image-ghosts branch November 16, 2021 16:29
@roboquat roboquat added deployed: workspace Workspace team change is running in production deployed Change is completely running in production labels Nov 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved deployed: workspace Workspace team change is running in production deployed Change is completely running in production release-note-none size/S team: workspace Issue belongs to the Workspace team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants