Skip to content

WIP: software/theia: Add autorun option [redirected to !888]

Xavier Thompson requested to merge xavier_thompson/slapos:theia_node_auto into master

This is step 3 of a 3-step plan to add an "autorun" feature to theia (See discussion in !888 (merged)):

  • Step 1: Add a slapos-node-auto service to slap/standalone: See slapos.core!280 (merged)
  • Step 2: Create a generic promise plugin to check the state of a service: See slapos.toolbox!90 (merged)
  • Step 3: Add this autorun option to software/theia with 3 possible values:
    • running: buildout starts slapos-node-auto and a promise is used to check that it is running
    • stopped: buildout stops slapos-node-auto and a promise is used to check that it is stopped
    • undefined: buildout leaves slapos-node-auto as is, the promise is always fulfilled.
Edited by Xavier Thompson

Merge request reports