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

erp5testnode: Shorten instance partition paths

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Xavier Thompson requested to merge xavier_thompson/slapos:testnode_shorter_paths into master Jun 09, 2021
  • Overview 23
  • Commits 5
  • Pipelines 0
  • Changes 9

Rename some directories generated by erp5testnode to shorten the paths of the test partitions:

srv/testnode/abc/inst/test0-0 -> t/abc/i/0

This depends on modifications to the erp5.util testnode, see https://lab.nexedi.com/nexedi/erp5/merge_requests/1441.

In total this saves 20 chars, which, when also using __partition_reference__, happens to be exactly enough to test a Theia containing an ERP5 without hitting the socket path length limit.

Also: replace softwaretype recipe with switch-softwaretype, and adapt instance templates accordingly.

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