Skip to content

MVP of online IDE and terminal

Moved to https://gitlab.com/gitlab-org/gitlab-ce/issues/22864


Outdated

Step 1 of this IDE and terminal integration is just the terminal. We'll use Openshift for that for now. We need to link to the openshift console from our application.

  1. Connect to the terminal to access your review app docker container.
  2. Fix up any problems that are happening using the terminal UI.

From a frontend perspective let's use xterm.js to make a terminal-like application.

The integration will be:

  1. Upon load proper authentication and authorization tokens are provided to the client side JS.
  2. Client side JS will allow us to type commends into said terminal.
  3. Client side JS will make a direct connection to the docker container using said authentication and authorization tokens.
  4. Docker container will container a Ruby/ Node app to run a terminal command to it's file system. Make sure we exclude this app itself.
  5. Docker container get's the results of said command and returns a JSON response.
  6. Client side app gets the response and displays it on the terminal.
  7. We will be skipping the step to GitLab.com because it is unnecessary at the moment.

cc @awhildy @stanhu @DouweM @fatihacet @twk3 @sytses