Latest commit f00f151 Mar 24, 2017 @toobulkeh toobulkeh committed with iwz Schedule Heroku Backups and Capture backup of existing staging databa…
…se for Review Apps (#826)

* Capture backup of existing staging database

When a PR Review environment is created, the latest backup is currently used. If no backups exist, or if the backup is old and outdated, recent data used for testing may not exist.

This forcibly creates a backup right before migration -- leading to the most recent data.

Another way to solve this would be to automatically add `pg:backups:schedule` on all staging environments on original app scaffolding, but that would be up to 24 hours difference.

* Added #set_heroku_backup_schedule
* Added backup schedule to creation of Heroku apps
* Delegated backup schedule to Heroku Adapter
* Update
Failed to load latest commit information.
dotfiles Generate `rack_mini_profiler` Feb 1, 2016
Gemfile.erb Remove rails_stdout_logging gem (#818) Jan 13, 2017
Procfile Replace Unicorn with Puma Jul 28, 2015 Use Heroku Local (Forego) instead of Foreman Nov 13, 2015
_analytics.html.erb Update Segment snippet to 4.0.0 Feb 9, 2017
_css_overrides.html.erb Update CSS override Mar 22, 2016
_flashes.html.erb Swap flash id for a class May 7, 2015
_javascript.html.erb Use latest thoughtbot/guides, styles Jul 8, 2014
action_mailer.rb Add ActionMailer spec support file May 20, 2014
app.json.erb WEB_CONCURRENCY isn't required in app.json Jun 25, 2016
application.scss Update Bourbon to v5.0.0.beta.3 and Bitters to v1.3 Mar 10, 2016
bin_deploy Return heroku run exit code status Apr 1, 2016
bin_setup Introduce Heroku Pipelines support Dec 30, 2015
bin_setup_review_app.erb Schedule Heroku Backups and Capture backup of existing staging databa… Mar 24, 2017
browserslist Drop support for IE 9, IE 10 and iOS 7 Mar 11, 2016
bundler_audit.rake Use bundle-audit rake task from the gem Mar 14, 2017
capybara_webkit.rb Fix deprecation warning from capybara-webkit Oct 23, 2015
circle.yml.erb Change SimpleCov output dir while run in CircleCI Mar 6, 2016
config_locales_en.yml.erb Evaluates Ruby on generating `en.yml` locale file Oct 23, 2014
database_cleaner_rspec.rb Use new hash syntax Mar 2, 2015
dev.rake Rename development data concept to avoid db/seeds confusion Jul 28, 2015
errors.rb update errors template to match hound style guide Dec 30, 2015
factories.rb Generate empty spec/factories.rb file Oct 16, 2015
factory_girl_rspec.rb Remove before(:suite) block May 27, 2014
flashes_helper.rb Only display user-facing flashes Apr 8, 2015
hound.yml Remove CoffeeScript and add babel Mar 3, 2016
i18n.rb Improve Errors for Invalid I18n Keys in Specs Dec 18, 2015
json_encoding.rb Change JSON time format Nov 23, 2014
postgresql_database.yml.erb Remove database host config for Linux support Mar 3, 2016
puma.rb Reduce number of Puma processes and threads Oct 21, 2015
rack_mini_profiler.rb Generate `rack_mini_profiler` Feb 1, 2016
rails_helper.rb Remove `RAILS_ENV` declarations Mar 4, 2016
secrets.yml Use latest thoughtbot/guides, styles Jul 8, 2014
shoulda_matchers_config_rspec.rb Provide Shoulda Matchers config Oct 7, 2015
smtp.rb Drop staging environment file Apr 10, 2016
spec_helper.rb Change SimpleCov output dir while run in CircleCI Mar 6, 2016
suspenders_gitignore Ignore `.env.local` instead of `.env` Nov 20, 2015
suspenders_layout.html.erb.erb Update the viewport meta tag May 22, 2016