Bugfixes:
- Fix maintenance page location and typos in
README.md
Enhancements:
- Add support for maintenance mode using the
turnout
gem.
Minor changes:
- Update reference data load to use the new rake task from
easy-reference
gem
Features:
- Clearer error message, by checking and raises an exception if you haven't added an ssh-key as an identity (
ssh-add -L
) since this is a pre-requisite for ssh-agent forwarding. - Support for using nginx - intended to be along with a stand-alone ruby application server.
Bugfixes:
- Using built-in
easy-reference
gem support now works with a custom bundler path if set.
Bugfixes:
bundle_without
was previously set incorrectly in the deploy.rb template, this has been removed from the template. Recommended to remove from your deploy.rb, but low impact.
Featues:
- Added support for multiple platform apache/passenger in the apache tasks. (apache path can now be set)
- Logrotate configuration is now run on each deploy. Previously was only hooked on deploy:start which may not always be run for passenger setups.
- Removed deploy.rb template comments re 'rvm-capistrano' deploying, as we don't primarily deploy off rvm.
- Links to further documentation on the github wiki added to the deploy.rb file
Bugfixes:
- Fix misplaced comments in the default
apache.conf
template that this library generates
New Features:
- Added support for rails asset caching in apache.conf template (provided expires module is enabled)
- Added links to further documentation on passenger VirtualHost patterns to the github wiki
Bugfixes:
- Backup gem requirements for rails 3.2.13 fixed: should be the same as the rails 4 ones, not earlier rails 3 releases
- Fixed
cap deploy:initial
for cases where the deploy stage name didn't match the rails_env name - Fixed backup template not pulling the environment specific hash out of database config
New Features:
- Tail the rails log of your remote servers (either streaming live or the last N lines)
cap tail:live_logs
+cap tail:recent logs
- Load the capistrano rails assetpipeline support by default (can be skipped via generator option)
- Apache/passenger config template now sets
PassengerMinInstances
and provides some disabled example tuning options - Specified license in the gemspec
Large rewrite of both templates, and generator code.
Major new feature is generation of backup config using the gems whenever
and backup
Enhancements:
- Now fixed to capistrano 2.13.5 - dependencies on external capistrano-ext and capistrano_colors are removed.
- Added annotation task to write branch name, git revision, time of deploy, and user to the application root as version.txt
- Removed messy optparse code, and let Thor handle option parsing
deploy.rb
template now displays all feature modules, with some optional ones commented outdeploy.rb
template is now updated with current deployment practices (including newrelic and bugsnag services)- Added generator to create backup configuration - for scheduling cron jobs to backup application data to S3
Bug Fixes:
deploy.rb
andstaging.rb
etc files are rendered correctly as templates, instead of copied over without rendering- use
deploy:create_symlink
instead of deprecateddeploy:symlink
Bug Fixes:
- Bugfix for previous niet role definition, variable should be delayed being evaluated
Enhancements:
- the server role for the niet tasks are now configurable via
set :niet_roles, [:job]
Enhancements:
- path to the binary apachectl command is now able to be configured via
set :apachectl_bin
- Added documentation to README.md for several of the optional features
Bug Fixes:
- raise exception if
cap niet:start
is run withoutcap niet:setup
being run first
Enhancements:
- include capistrano_colors by default
- apache:configure task now copies a folder stage/apache/* if present falling back to previous state/apache.conf
- added
easy/deployment/performance
optional require to track the times of deployments
Bug Fixes
deploy:reference
should use the rails_env, not the stage
Enhancements:
- Add
apache:configure_and_reload
capistrano task, which will configure the site, test the configuration & gracefully reload the Apache configuration
Enhancements:
- Add
apache:configtest
capistrano task
Bug Fixes:
- Spelling corrections