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

Merged
Created Mar 26, 2021 by Jérome Perrin@jeromeOwner

software/cloudooo: use slapos.cookbook:switch-softwaretype

  • Overview 6
  • Commits 1
  • Pipelines 1
  • Changes 2

Porting to switch-softwaretype involves:

  • use recipe slapos.cookbook:switch-softwaretype instead of slapos.cookbook:softwaretype
  • don't render software type profiles, only use cloudooo-dynamic-template:rendered instead of ${cloudooo-dynamic-template:rendered}, the profile will be rendered later.
  • have a RootSoftwareInstance default alias
  • have a part reading parameters using slapos.cookbook:slapconfiguration named slap-configuration. This is what slapos.cookbook:switch-softwaretype expects. Here we renamed the existing part.

At the same time, remove slap-connection that was added as backward compatibility, slapos.core supports this since commit 0fbed0d1 (Migrate slap_connection to slap-connection, and use variables names separated with '-'., 2012-09-18) that was part of release 0.29

Assignee
Assign to
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Source branch: fix/cloudooo-switch-softwaretype
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7