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

helloworld: Service restructuring + Ruby version

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Kirill Smelkov requested to merge kirr/slapos:y/helloweb into master Oct 30, 2015
  • Overview 11
  • Commits 5
  • Pipelines 0
  • Changes

For upcoming GitLab SR we need Ruby support.

We have minimal Ruby support in the form of Ruby component and rubygemsrecipe recipe to install gems. However a lot of top-level software/services in Ruby world is not released as gem and have to be installed / worked with via Bundler, and for this way we do not have an example.

Let's add such example in the form of extending helloworld SR to also say hello to the web in both Python and Ruby via simple Ruby program which is deployed via Bundler.

For this to happen, we need to make some preparatory changes first:

  • move helloweb program(s) to own repository.
  • modernize instance code and convert it to jinja2 to allow control structures.
  • prepare instance infrastructure to support several helloweb program kinds.

and only then show how to do Ruby stuff via Bundler.

To me the effect of software/helloworld refactoring is good even without Ruby part, just to improve reference material about showing how to do.

@jerome, @kazuhiko, @rafael, @alain.takoudjou please have a look.

Thanks beforehand,
Kirill

P.S. this is also the basis for next merge request with Go support and helloweb-go.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: y/helloweb
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7