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

slapgrid: Add --force-stop option

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Xavier Thompson requested to merge xavier_thompson/slapos.core:slapgrid_no_supervisord into master May 12, 2021
  • Overview 48
  • Commits 1
  • Pipelines 0
  • Changes 3

Add a --force-stop option to instance processing, as in: slapos node instance --force-stop

This option affects how started partition are processed:

  • buildout is processed normally
  • the timestamp is ignored and not updated
  • the services are stopped instead of started
  • no promises are run
  • no report is sent to master

This is useful when we want to do as much work as possible in advance (run buildout, create configuration files, etc), without actually starting the instance, e.g. for resilient clones.

Edited Jun 11, 2021 by Xavier Thompson
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: slapgrid_no_supervisord
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7