Skip to content

nakhli/semaphore-demo-ruby-rails

 
 

Repository files navigation

Semaphore demo CI/CD pipeline using Ruby on Rails

This is an example application and CI/CD pipeline showing how to run a Ruby on Rails project on Semaphore 2.0.

Local application setup

Ruby version is specified in .ruby-version. We recommend using rbenv.

Database engine is Postgres.

bundle install --path .bundle
bundle exec rake db:setup

(optionally)
bundle exec rails s

Then run code scanning and automated tests as per .semaphore/semaphore.yml.

CI/CD on Semaphore

If you're new to Semaphore, feel free to fork this repository and use it to create a project.

The CI pipeline will look like this:

CI pipeline on Semaphore

You can follow along with this project by reading the documentation. Or jump straight into .semaphore/semaphore.yml.

You can extend the CI pipeline with Continuous Delivery by implementing a promotion. Refer to Semaphore documentation for additional deployment examples.

License

Copyright (c) 2020 Rendered Text

Distributed under the MIT License. See the file LICENSE.md.

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 81.8%
  • HTML 13.7%
  • JavaScript 2.8%
  • CSS 1.7%