Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
S slapos.core
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Labels
    • Labels
  • Merge requests 26
    • Merge requests 26
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Environments
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Members
    • Members
  • 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
None
Milestone
None
Assign milestone
Time tracking
Source branch: slapformat_in_standalone
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7