0.0
No commit activity in last 3 years
No release in over 3 years
Symlink your configs in a single execution of run when deploying with Capistrano
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 2.12.0
 Project Readme

symlink_fast

symlink_fast is a Capistrano plugin for doing post-deploy symlinking of your yaml files in a single run cycle rather than iterating over each config file individually.

On large deployments with a large number of configs, this can save significant overhead to the deploy time.

Installation

gem install symlink_fast

to install normally, or put the following in your Gemfile:

gem 'symlink_fast'

Example Usage

In your capistrano recipe:

require "symlink_fast/capistrano"

set :symlink_configs, [ :database, :redis, :aws ]

SymlinkFast will add a post-deploy hook to symlink your config files.

All files must live in #{deploy_to}/shared/config and each item in the configs array is assumed to be the basename of each config file. For example, :aws will symlink the aws.yml file and so on.

Author

Spike Grobstein
spikegrobstein@mac.com
https://github.com/spikegrobstein

License

MIT License