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
  • !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
Time tracking
Source branch: proxy_root_path_migrate
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7