turn on octopus in staging
This commit is contained in:
parent
69b8dff382
commit
1a8b60cc98
|
@ -120,9 +120,10 @@ module Travis::Api
|
|||
Travis::Amqp.config = Travis.config.amqp
|
||||
Travis::Database.connect
|
||||
|
||||
if Travis.env == 'production'
|
||||
if Travis.env == 'production' || Travis.env == 'staging'
|
||||
::Octopus.setup do |config|
|
||||
config.shards = { :follower => Travis.config.database_follower }
|
||||
config.environments = ['production', 'staging']
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user