Uploaded image for project: 'Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces) '
  1. Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces)
  2. CRW-10045

Fix PredefinedNamespace test to use Dev Spaces VS Code Editor image

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False

      PredefinedNamespace test should use the latest Dev Spaces VS Code Editor image

      Solution

      Update the test to override the che-code-injector container image after the devfile context is generated. The image is now set to the Dev Spaces VS Code Editor:
      quay.io/redhat-user-workloads/devspaces-tenant/devspaces/code-rhel9:latest
       
      Changes

      • After generateDevfileContext() is called, iterate through devWorkspaceTemplates and update the che-code-injector component image to use the Dev Spaces editor image
      • This ensures the workspace uses the correct editor image for Dev Spaces environments

              sskoryk Serhii Skoryk
              sskoryk Serhii Skoryk
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: