Skip to content

Commit

Permalink
Refs #3 - Move branchs configuration to correct place
Browse files Browse the repository at this point in the history
  • Loading branch information
zac23or committed Nov 1, 2016
1 parent 136be3e commit a8cc8f0
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions lib/tasks/integrate.rake
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,6 @@ task promote_staging_to_production: [
]

namespace :integration do
BRANCH_DEVELOPMENT = ENV['INTEGRATE_BRANCH_DEVELOPMENT'] || 'master'
BRANCH_STAGING = ENV['INTEGRATE_BRANCH_STAGING'] || 'staging'
BRANCH_PRODUCTION = ENV['INTEGRATE_BRANCH_PRODUCTION'] || 'production'

task :set_production_as_deploy_env do
ENV['APP_ENV'] ||= 'production'
Expand All @@ -70,6 +67,10 @@ namespace :integration do
USER = `whoami`.chomp
APP_ENV = ENV['APP_ENV'] || 'staging'
APP = "#{PROJECT}-#{APP_ENV}"

BRANCH_DEVELOPMENT = ENV['INTEGRATE_BRANCH_DEVELOPMENT'] || 'master'
BRANCH_STAGING = ENV['INTEGRATE_BRANCH_STAGING'] || 'staging'
BRANCH_PRODUCTION = ENV['INTEGRATE_BRANCH_PRODUCTION'] || 'production'
end

task test: 'integration:test:prepare' do
Expand Down

0 comments on commit a8cc8f0

Please sign in to comment.