Skip to content

Commit

Permalink
Temporarily deploy to blue
Browse files Browse the repository at this point in the history
  • Loading branch information
mlandauer committed Jul 29, 2024
1 parent fa4434f commit ee4af07
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
12 changes: 7 additions & 5 deletions config/deploy.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# config valid for current version and patch releases of Capistrano
lock "~> 3.17.1"
lock "~> 3.19.1"

set :application, "planningalerts"
set :repo_url, "https://github.com/openaustralia/planningalerts.git"
Expand Down Expand Up @@ -56,10 +56,12 @@
},
# Uncomment the following lines (and set the value) if you want to only deploy to blue or green
# The default is to deploy to both blue AND green
# {
# name: "tag:BlueGreen",
# values: ["blue"]
# },
# Temporarily only deploy to blue (for ruby 3.3)
# TODO: Comment the four lines below back out
{
name: "tag:BlueGreen",
values: ["blue"]
},
{
name: 'instance-state-name',
values: ['running']
Expand Down
1 change: 1 addition & 0 deletions config/deploy/production.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
aws_ec2_register

set :deploy_to, "/srv/www/production"
set :branch, "upgrade-to-ruby-3.3"

0 comments on commit ee4af07

Please sign in to comment.