├── .gitignore ├── .rspec ├── .ruby-gemset ├── .ruby-version ├── CHANGELOG.md ├── Gemfile ├── Gemfile.lock ├── LICENSE.txt ├── README.md ├── Rakefile ├── cap_blue_green_deploy.gemspec ├── docs ├── 1.server_clean.png ├── 2.deploy_setup.png ├── 3.1.releases.three_deploys.png ├── 3.2.three_deploys.png ├── 4.1.releases.deploy_blue_green_live.png ├── 4.2.deploy_blue_green_live.png ├── 5.1.releases.two_deploy.png ├── 5.2.two_deploy.png ├── 6.1.releases.deploy_blue_green_live.png ├── 6.2.deploy_blue_green_live.png ├── 7.1.releases.deploy_blue_green_rollback.png ├── 7.2.deploy_blue_green_rollback.png ├── 8.1.releases.one_deploy.png ├── 8.2.one_deploy.png ├── 9.1.deploy_blue_green_live.png ├── architecture.png └── custom_variables.png ├── lib ├── cap_blue_green_deploy.rb └── cap_blue_green_deploy │ ├── init.rb │ ├── tasks.rb │ ├── tasks │ ├── cleanup.rb │ ├── common.rb │ ├── deploy.rb │ ├── live.rb │ └── rollback.rb │ └── version.rb └── spec ├── lib └── cap_blue_green_deploy │ ├── init_spec.rb │ ├── tasks │ ├── cleanup_spec.rb │ ├── common_spec.rb │ ├── deploy_spec.rb │ ├── live_spec.rb │ └── rollback_spec.rb │ └── tasks_spec.rb └── spec_helper.rb /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rafaelbiriba/cap_blue_green_deploy/HEAD/.gitignore -------------------------------------------------------------------------------- /.rspec: -------------------------------------------------------------------------------- 1 | --color 2 | --require spec_helper 3 | -------------------------------------------------------------------------------- /.ruby-gemset: -------------------------------------------------------------------------------- 1 | cap_blue_green_deploy 2 | -------------------------------------------------------------------------------- /.ruby-version: -------------------------------------------------------------------------------- 1 | ruby-2.1.2 2 | -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rafaelbiriba/cap_blue_green_deploy/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rafaelbiriba/cap_blue_green_deploy/HEAD/Gemfile -------------------------------------------------------------------------------- /Gemfile.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rafaelbiriba/cap_blue_green_deploy/HEAD/Gemfile.lock -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rafaelbiriba/cap_blue_green_deploy/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rafaelbiriba/cap_blue_green_deploy/HEAD/README.md -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rafaelbiriba/cap_blue_green_deploy/HEAD/Rakefile -------------------------------------------------------------------------------- /cap_blue_green_deploy.gemspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rafaelbiriba/cap_blue_green_deploy/HEAD/cap_blue_green_deploy.gemspec -------------------------------------------------------------------------------- /docs/1.server_clean.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rafaelbiriba/cap_blue_green_deploy/HEAD/docs/1.server_clean.png -------------------------------------------------------------------------------- /docs/2.deploy_setup.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rafaelbiriba/cap_blue_green_deploy/HEAD/docs/2.deploy_setup.png -------------------------------------------------------------------------------- /docs/3.1.releases.three_deploys.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rafaelbiriba/cap_blue_green_deploy/HEAD/docs/3.1.releases.three_deploys.png -------------------------------------------------------------------------------- /docs/3.2.three_deploys.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rafaelbiriba/cap_blue_green_deploy/HEAD/docs/3.2.three_deploys.png -------------------------------------------------------------------------------- /docs/4.1.releases.deploy_blue_green_live.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rafaelbiriba/cap_blue_green_deploy/HEAD/docs/4.1.releases.deploy_blue_green_live.png -------------------------------------------------------------------------------- /docs/4.2.deploy_blue_green_live.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rafaelbiriba/cap_blue_green_deploy/HEAD/docs/4.2.deploy_blue_green_live.png -------------------------------------------------------------------------------- /docs/5.1.releases.two_deploy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rafaelbiriba/cap_blue_green_deploy/HEAD/docs/5.1.releases.two_deploy.png -------------------------------------------------------------------------------- /docs/5.2.two_deploy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rafaelbiriba/cap_blue_green_deploy/HEAD/docs/5.2.two_deploy.png -------------------------------------------------------------------------------- /docs/6.1.releases.deploy_blue_green_live.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rafaelbiriba/cap_blue_green_deploy/HEAD/docs/6.1.releases.deploy_blue_green_live.png -------------------------------------------------------------------------------- /docs/6.2.deploy_blue_green_live.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rafaelbiriba/cap_blue_green_deploy/HEAD/docs/6.2.deploy_blue_green_live.png -------------------------------------------------------------------------------- /docs/7.1.releases.deploy_blue_green_rollback.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rafaelbiriba/cap_blue_green_deploy/HEAD/docs/7.1.releases.deploy_blue_green_rollback.png -------------------------------------------------------------------------------- /docs/7.2.deploy_blue_green_rollback.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rafaelbiriba/cap_blue_green_deploy/HEAD/docs/7.2.deploy_blue_green_rollback.png -------------------------------------------------------------------------------- /docs/8.1.releases.one_deploy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rafaelbiriba/cap_blue_green_deploy/HEAD/docs/8.1.releases.one_deploy.png -------------------------------------------------------------------------------- /docs/8.2.one_deploy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rafaelbiriba/cap_blue_green_deploy/HEAD/docs/8.2.one_deploy.png -------------------------------------------------------------------------------- /docs/9.1.deploy_blue_green_live.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rafaelbiriba/cap_blue_green_deploy/HEAD/docs/9.1.deploy_blue_green_live.png -------------------------------------------------------------------------------- /docs/architecture.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rafaelbiriba/cap_blue_green_deploy/HEAD/docs/architecture.png -------------------------------------------------------------------------------- /docs/custom_variables.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rafaelbiriba/cap_blue_green_deploy/HEAD/docs/custom_variables.png -------------------------------------------------------------------------------- /lib/cap_blue_green_deploy.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rafaelbiriba/cap_blue_green_deploy/HEAD/lib/cap_blue_green_deploy.rb -------------------------------------------------------------------------------- /lib/cap_blue_green_deploy/init.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rafaelbiriba/cap_blue_green_deploy/HEAD/lib/cap_blue_green_deploy/init.rb -------------------------------------------------------------------------------- /lib/cap_blue_green_deploy/tasks.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rafaelbiriba/cap_blue_green_deploy/HEAD/lib/cap_blue_green_deploy/tasks.rb -------------------------------------------------------------------------------- /lib/cap_blue_green_deploy/tasks/cleanup.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rafaelbiriba/cap_blue_green_deploy/HEAD/lib/cap_blue_green_deploy/tasks/cleanup.rb -------------------------------------------------------------------------------- /lib/cap_blue_green_deploy/tasks/common.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rafaelbiriba/cap_blue_green_deploy/HEAD/lib/cap_blue_green_deploy/tasks/common.rb -------------------------------------------------------------------------------- /lib/cap_blue_green_deploy/tasks/deploy.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rafaelbiriba/cap_blue_green_deploy/HEAD/lib/cap_blue_green_deploy/tasks/deploy.rb -------------------------------------------------------------------------------- /lib/cap_blue_green_deploy/tasks/live.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rafaelbiriba/cap_blue_green_deploy/HEAD/lib/cap_blue_green_deploy/tasks/live.rb -------------------------------------------------------------------------------- /lib/cap_blue_green_deploy/tasks/rollback.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rafaelbiriba/cap_blue_green_deploy/HEAD/lib/cap_blue_green_deploy/tasks/rollback.rb -------------------------------------------------------------------------------- /lib/cap_blue_green_deploy/version.rb: -------------------------------------------------------------------------------- 1 | module CapBlueGreenDeploy 2 | VERSION = "1.1.3" 3 | end 4 | -------------------------------------------------------------------------------- /spec/lib/cap_blue_green_deploy/init_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rafaelbiriba/cap_blue_green_deploy/HEAD/spec/lib/cap_blue_green_deploy/init_spec.rb -------------------------------------------------------------------------------- /spec/lib/cap_blue_green_deploy/tasks/cleanup_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rafaelbiriba/cap_blue_green_deploy/HEAD/spec/lib/cap_blue_green_deploy/tasks/cleanup_spec.rb -------------------------------------------------------------------------------- /spec/lib/cap_blue_green_deploy/tasks/common_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rafaelbiriba/cap_blue_green_deploy/HEAD/spec/lib/cap_blue_green_deploy/tasks/common_spec.rb -------------------------------------------------------------------------------- /spec/lib/cap_blue_green_deploy/tasks/deploy_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rafaelbiriba/cap_blue_green_deploy/HEAD/spec/lib/cap_blue_green_deploy/tasks/deploy_spec.rb -------------------------------------------------------------------------------- /spec/lib/cap_blue_green_deploy/tasks/live_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rafaelbiriba/cap_blue_green_deploy/HEAD/spec/lib/cap_blue_green_deploy/tasks/live_spec.rb -------------------------------------------------------------------------------- /spec/lib/cap_blue_green_deploy/tasks/rollback_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rafaelbiriba/cap_blue_green_deploy/HEAD/spec/lib/cap_blue_green_deploy/tasks/rollback_spec.rb -------------------------------------------------------------------------------- /spec/lib/cap_blue_green_deploy/tasks_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rafaelbiriba/cap_blue_green_deploy/HEAD/spec/lib/cap_blue_green_deploy/tasks_spec.rb -------------------------------------------------------------------------------- /spec/spec_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rafaelbiriba/cap_blue_green_deploy/HEAD/spec/spec_helper.rb --------------------------------------------------------------------------------