-
Notifications
You must be signed in to change notification settings - Fork 1.3k
[e2e] Support and fixes for mk2 e2e tests #16990
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
Conversation
@@ -1050,7 +1057,7 @@ func watchStopWorkspaceAndFindSnapshot(t *testing.T, ctx context.Context, instan | |||
if lastStatus.Conditions.HeadlessTaskFailed != "" { | |||
return "", nil, errors.New("unexpected HeadlessTaskFailed condition") | |||
} | |||
if lastStatus == nil || lastStatus.Conditions == nil || lastStatus.Conditions.VolumeSnapshot == nil { |
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.
VolumeSnapshot
isn't set in mk2
for var in WITH_WS_MANAGER_MK2 WITH_DEDICATED_EMU WITH_EE_LICENSE ANALYTICS WORKSPACE_FEATURE_FLAGS; do | ||
for var in WSMANAGER_MK2 WITH_DEDICATED_EMU WITH_EE_LICENSE ANALYTICS WORKSPACE_FEATURE_FLAGS; do | ||
input_var="INPUT_${var}" | ||
if [[ -n "${!input_var:-}" ]];then | ||
export GITPOD_${var}=${!input_var} |
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.
deploy-gitpod.sh
is expecting GITPOD_WSMANAGER_MK2
@@ -366,7 +366,8 @@ func (wsm *WorkspaceManagerServer) StopWorkspace(ctx context.Context, req *wsman | |||
ws.Status.SetCondition(workspacev1.NewWorkspaceConditionStoppedByRequest(gracePeriod.String())) | |||
return nil | |||
}) | |||
if err != nil { | |||
// Ignore NotFound errors, workspace has already been stopped. | |||
if err != nil && status.Code(err) != codes.NotFound { |
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.
now matches mk1's behaviour
/hold |
/unhold |
/hold still blocking! ugh. |
6e4069f
to
f386dfe
Compare
f386dfe
to
0bac28a
Compare
Tide is yielding this error. 🤔 @vulkoingim @mads-hartmann , any ideas? Restarting tide did not help. Rebasing with main. 🤷 |
😅 |
Description
WS_MANAGER_MK2=true
env varRelated Issue(s)
How to test
WS_MANAGER_MK2=true
Release Notes
Documentation
Build Options:
Run the build with werft instead of GHA
Run Leeway with
--dont-test
Publish Options
Installer Options
Add desired feature flags to the end of the line above, space separated
Preview Environment Options:
If enabled this will build
install/preview
If enabled this will create the environment on GCE infra
Valid options are
all
,workspace
,webapp
,ide
,jetbrains
,vscode
,ssh