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 123
    • Merge requests 123
  • 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
  • !23

Merged
Created Oct 30, 2015 by Kirill Smelkov@kirrOwner

helloworld: Service restructuring + Ruby version

  • Overview 11
  • Commits 5
  • 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
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Source branch: y/helloweb
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7