Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
slapos slapos
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Labels
    • Labels
  • Merge requests 122
    • Merge requests 122
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Environments
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • nexedi
  • slaposslapos
  • Merge requests
  • !729

Merged
Created Apr 09, 2020 by Jérome Perrin@jeromeOwner

Simplify installation of recipe installing scripts

  • Overview 7
  • Commits 8
  • Pipelines 9
  • Changes 14

Several software use slapos command and expect this command to have networkcache support enabled, which is achieved in buildout by having slapos.libnetworkcache in the egg "working set" when generating the slapos script.

Introduce a dedicated section to install slapos command and use it in softwares which includes a slapos, testnode and slaprunner. Test softwares like slapos-sr-testing also need a slapos command, but they generate one with development version of slapos.core.

Before these changes, several software were installing slapos indirectly by installing extra-eggs from monitoring stack. The monitoring stack was also modified so that it uses a section with a prefix (monitor-eggs) and users of monitoring stacks were also modified to not use this extra-eggs part from monitoring stack, but install eggs through their own section.

Similar problem also existed with slapos.toolbox, which is installed by several softwares and stacks, for different reasons (because it contains lots of utilities), now that buildout detects parts installing the same path, only one parts can install the scripts. For this, define a section slapos-toolbox that software and stack should install, instead of listing the egg as eggs in a zc.recipe.egg section, because that would install the scripts again.

Edited Apr 15, 2020 by Jérome Perrin
Assignee
Assign to
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Source branch: fix/slapos-with-networkcache
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7