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
  • !288

Merged
Created Mar 31, 2021 by Xavier Thompson@xavier_thompsonOwner

slapproxy: Add local software release path

  • Overview 42
  • Commits 5
  • Changes 10

Include a local software release root path concept in slapproxy to ease adapting the local SR urls when restoring a backup'd slapproxy in a different computer, e.g. for resilience.

The local_software_release_root parameter is a path that can be passed via slapos.cfg:

[slapproxy]
local_software_release_root = <path>

or via the command line using:

slapos proxy start --local-software-release-root <path>

When slapproxy starts, it updates all local URLs that are subpaths of the previous local software release root path to be subpaths of the new one:

<previous-root-path>/<subpath>  --->  <new-root-path>/<subpath>

The default root path is /. This means that by default slapproxy behaves the same as before.

Edited Apr 29, 2021 by Xavier Thompson
Assignee
Assign to
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Source branch: proxy_root_path_migrate
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7