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 31
    • Merge requests 31
  • 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
  • !308

Merged
Created Jun 04, 2021 by Xavier Thompson@xavier_thompsonOwner

slap/standalone: Enable slapos node format

  • Overview 15
  • Commits 2
  • Changes 3

Enable slapos node format in StandaloneSlapOS configuration:

  • add a slapformat-definition.cfg file
  • add a [slapformat] section in slapos.cfg referencing slapformat-definition.cfg

Formatting in standalone is handled by StandaloneSlapOS.format() in an independent way that doesn't require these configuration files.

Now, calling StandaloneSlapOS.format() also updates these configuration files so that subsequent calls to slapos node format should produce the same outcome.

In the future, StandaloneSlapOS.format() and slapos node format could be further unified by making StandaloneSlapOS.format() call slapos node format as part of its implementation.

Also, fix a spurious slapos node format warning.

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