Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • S slapos.core
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Merge requests 29
    • Merge requests 29
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • nexedi
  • slapos.core
  • Merge requests
  • !280

Merged
Created Jan 25, 2021 by Xavier Thompson@xavier_thompsonOwner

slap/standalone: add slapos-node-auto service

  • Overview 8
  • Commits 1
  • Changes 1

Add a slapos-node-auto service in slap/standalone that launches slapos-node-software and slapos-node-instance in a loop once per minute, and slapos-node-report once per hour (every 60 iterations).

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

  • Step 1: Add this slapos-node-auto service to slap/standalone.
  • Step 2: Create a generic promise plugin to check the state of a service (in slapos.toolbox)
  • Step 3: Add an 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 Jan 29, 2021 by Xavier Thompson
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: standalone_node_auto
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7