Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • slapos slapos
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Merge requests 129
    • Merge requests 129
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • nexedinexedi
  • slaposslapos
  • Merge requests
  • !895

WIP: software/theia: Add autorun option [redirected to https://lab.nexedi.com/nexedi/slapos/merge_requests/888]

  • Review changes

  • Download
  • Patches
  • Plain diff
Closed Xavier Thompson requested to merge xavier_thompson/slapos:theia_node_auto into master Jan 27, 2021
  • Overview 9
  • Commits 1
  • Pipelines 0
  • Changes 5

This is step 3 of a 3-step plan to add an "autorun" feature to theia (See discussion in https://lab.nexedi.com/nexedi/slapos/merge_requests/888):

  • Step 1: Add a slapos-node-auto service to slap/standalone: See https://lab.nexedi.com/nexedi/slapos.core/merge_requests/280
  • Step 2: Create a generic promise plugin to check the state of a service: See https://lab.nexedi.com/nexedi/slapos.toolbox/merge_requests/90
  • 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 Feb 05, 2021 by Xavier Thompson
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: theia_node_auto
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7