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

[RN] To start JetBrains IDEs, use `post-start` rather than overrideing the entrypoint

XMLWordPrintable

    • False
    • None
    • False
    • Release Notes
    • The release note is documented in https://issues.redhat.com/browse/CRW-4194.
    • Rejected

      Synced from eclipse/che issue

      https://github.com/eclipse/che/issues/22034

      Is your enhancement related to a problem? Please describe

      The editor command overrides the tooling container entrypoint:

      • if the user had specified the container command in his devfile
      • if the tooling container had a specific entrypoint + command
        This blocks services as kubedock (to support docker run) to be run at startup in tooling containers.

      Describe the solution you'd like

      The solution is the same as the one provided for VS Code, remove the command in the editor container and a an init-che-code-command among the devfile commands associated to a post-start event:

      (...)
        commands: 
            - id: init-che-code-command
              exec: 
                component: che-code-runtime-description
                commandLine: 'nohup /checode/entrypoint-volume.sh > /checode/entrypoint-logs.txt 2>&1 &'
        events: 
            postStart: 
              - init-che-code-command
      

            rhn-ecs-pkovar Petr Kovar (Inactive)
            jiralint.codeready Bot Codeready
            Maksym Musienko Maksym Musienko
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: