Skip to content

[ws-manager-mk2] Refactor workspace status conditions #16896

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

Merged
merged 2 commits into from
Mar 20, 2023

Conversation

Furisto
Copy link
Member

@Furisto Furisto commented Mar 17, 2023

Description

Refactor workspace status conditions to have less repetition.

Related Issue(s)

n.a.

Release Notes

None

Documentation

Build Options:

  • /werft with-werft
    Run the build with werft instead of GHA
  • leeway-no-cache
  • /werft no-test
    Run Leeway with --dont-test
Publish Options
  • /werft publish-to-npm
  • /werft publish-to-jb-marketplace
Installer Options
  • with-ee-license
  • with-dedicated-emulation
  • with-ws-manager-mk2
  • workspace-feature-flags
    Add desired feature flags to the end of the line above, space separated

Preview Environment Options:

  • /werft with-local-preview
    If enabled this will build install/preview
  • /werft with-preview
  • /werft with-large-vm
  • /werft with-gce-vm
    If enabled this will create the environment on GCE infra
  • /werft with-integration-tests=all
    Valid options are all, workspace, webapp, ide, jetbrains, vscode, ssh

@Furisto Furisto added team: workspace Issue belongs to the Workspace team feature: ws-manager-mk2 labels Mar 17, 2023
@Furisto Furisto self-assigned this Mar 17, 2023
@Furisto Furisto requested a review from a team March 17, 2023 10:48
@Furisto Furisto force-pushed the fo/refactor-conditions branch from 54cd43f to 07ac6c5 Compare March 17, 2023 10:53
@Furisto Furisto force-pushed the fo/refactor-conditions branch from 07ac6c5 to 6de449f Compare March 17, 2023 10:54
Copy link
Member

@WVerlaek WVerlaek left a comment

Choose a reason for hiding this comment

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

nice lgtm

Type: string(WorkspaceConditionFirstUserActivity),
LastTransitionTime: metav1.Now(),
Status: metav1.ConditionTrue,
Reason: "MarkActiveRequest",
Copy link
Member

Choose a reason for hiding this comment

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

maybe we should change the Reason now, as it might be called from other places than the MarkActive request handler

@Furisto Furisto changed the title [wsman-mk2] Refactor workspace status conditions [ws-manager-mk2] Refactor workspace status conditions Mar 17, 2023
@roboquat roboquat merged commit ace513a into main Mar 20, 2023
@roboquat roboquat deleted the fo/refactor-conditions branch March 20, 2023 10:10
@roboquat roboquat added deployed: workspace Workspace team change is running in production deployed Change is completely running in production labels Mar 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deployed: workspace Workspace team change is running in production deployed Change is completely running in production feature: ws-manager-mk2 release-note-none size/L team: workspace Issue belongs to the Workspace team
Projects
No open projects
Status: In Validation
Development

Successfully merging this pull request may close these issues.

3 participants