No commit activity in last 3 years
No release in over 3 years
Racecar integration for Capistrano
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0

Runtime

 Project Readme

Gem Version

Capistrano::Racecar

Sidekiq integration for Capistrano

Installation

gem 'capistrano-racecar', group: :development

And then execute:

$ bundle

Usage

# Capfile
 
require 'capistrano/racecar'

install_plugin Capistrano::Racecar

Configurable options, shown here with defaults:

set_if_empty :racecar_task_path, 'config/racecar_task.yml'
set_if_empty :racecar_role, :app
set_if_empty :racecar_user, :system
set_if_empty :racecar_ctl, 'bundle exec racecarctl'
set_if_empty :racecar_pid_path, "#{fetch(:deploy_to)}/shared/tmp/pids"

Bundler

If you'd like to prepend bundle exec to your racecar calls, modify the SSHKit command maps in your deploy.rb file:

SSHKit.config.command_map[:sidekiq] = "bundle exec sidekiq"
SSHKit.config.command_map[:sidekiqctl] = "bundle exec sidekiqctl"

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request