Skip to content

Latest commit

 

History

History
45 lines (28 loc) · 1.42 KB

README.md

File metadata and controls

45 lines (28 loc) · 1.42 KB

Semaphore demo CI/CD pipeline using Ruby on Rails

Build Status

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) 2021 Rendered Text

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