This article describe how to run RSpec on wercker for Rails 5 application.
🏈 Preparation
Sign up / Log in to wercker
Add application
Registration repository
Configure Access
🐡 Adding wercker.yml to your project
Please add wercker.yml
to your project root. Official document is as follows:
box: ruby:2.3.1 |
🍄 Add your environment variables
Please set environment variables to application environment variable on wercker.
SLACK_URL https://webhook.slack.com/xxx |
🐠 Run CI on wercker
After adding wercker.yml
and git commit & git push
, you can run your CI scrpit on wercker!
🗽 Appendix: Deploy to Elasticbeanstalk
If you want to deploy by wercker, please use following configuration:
deploy: |
If you want to know more detail please read hotakasaito/elastic-beanstalk-deploy.
🎉 Special Thanks
- How to use new wercker to deploy to Heroku
- Deploy to Heroku from wercker
- Quickstart: Compose and Rails
- wercker with capistrano in JP
- http://qiita.com/hotakasaito/…
🖥 Recommended VPS Service
VULTR provides high performance cloud compute environment for you.
Vultr has 15 data-centers strategically placed around the globe, you can use a VPS with 512 MB memory for just $ 2.5 / month ($ 0.004 / hour).
In addition, Vultr is up to 4 times faster than the competition, so please check it => Check Benchmark Results!!