0.0
No commit activity in last 3 years
No release in over 3 years
Help with keeping multiple environments up to date.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.10
~> 10.0

Runtime

 Project Readme

DeployNanny

Some help with managing deploying multiple-apps and multiple-branches to multiple-environments.

Installation

Add this line to your application's Gemfile:

gem 'deploy_nanny'

And then execute:

$ bundle

Or install it yourself as:

$ gem install deploy_nanny

Usage

With an executable file called bin/babysit containing the following:

#!/usr/bin/env ruby

require "deploy_nanny"
require "yaml"

environments        = YAML.load_file("environments.yml")
deploy_instructions = YAML.load_file("deploy_instructions.yml")
nannyrc             = YAML.load_file(".nannyrc")

DeployNanny.babysit(
  github_account: "yourgithubname",
  nannyrc: nannyrc,
  environments: environments,
  deploy_instructions: deploy_instructions,
)

Create a .nannyrc to specify were all your apps are stored. This means you have to have every app nested in the same directory for Mrs. Doubtfire to work.

.nannyrc

apps_directory: "/Users/username/app_folder"
Options
-h, --help                       Here are all the options Deploy Nanny takes
-n, --no-deploy                  Do not auto-deploy out-of-date apps
-s, --sleep=SLEEP                Time to sleep between sweeps in minutes.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/deploy_nanny. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

License

The gem is available as open source under the terms of the MIT License.