|
@@ -30,14 +30,14 @@ return [
|
|
////////////////////////////////////////////////////////////////////
|
|
////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
// The default remote connection(s) to execute tasks on
|
|
// The default remote connection(s) to execute tasks on
|
|
- 'default' => ['production'],
|
|
|
|
|
|
+ 'default' => ['beta'],
|
|
|
|
|
|
// The various connections you defined
|
|
// The various connections you defined
|
|
// You can leave all of this empty or remove it entirely if you don't want
|
|
// You can leave all of this empty or remove it entirely if you don't want
|
|
// to track files with credentials : Rocketeer will prompt you for your credentials
|
|
// to track files with credentials : Rocketeer will prompt you for your credentials
|
|
// and store them locally
|
|
// and store them locally
|
|
'connections' => [
|
|
'connections' => [
|
|
- 'production' => [
|
|
|
|
|
|
+ 'beta' => [
|
|
'host' => '47.92.174.125:2345',
|
|
'host' => '47.92.174.125:2345',
|
|
'username' => 'root',
|
|
'username' => 'root',
|
|
'password' => '',
|
|
'password' => '',
|
|
@@ -46,6 +46,15 @@ return [
|
|
'agent' => '',
|
|
'agent' => '',
|
|
'db_role' => true,
|
|
'db_role' => true,
|
|
],
|
|
],
|
|
|
|
+ 'production' => [
|
|
|
|
+ 'host' => '47.92.30.243:2345',
|
|
|
|
+ 'username' => 'root',
|
|
|
|
+ 'password' => '',
|
|
|
|
+ 'key' => '/root/.ssh/id_rsa',
|
|
|
|
+ 'keyphrase' => '',
|
|
|
|
+ 'agent' => '',
|
|
|
|
+
|
|
|
|
+ ],
|
|
],
|
|
],
|
|
|
|
|
|
/*
|
|
/*
|
|
@@ -63,9 +72,9 @@ return [
|
|
// to the stage or connection currently in use.
|
|
// to the stage or connection currently in use.
|
|
// Per example :
|
|
// Per example :
|
|
// 'stages' => array(
|
|
// 'stages' => array(
|
|
- // 'staging' => array(
|
|
|
|
- // 'scm' => array('branch' => 'staging'),
|
|
|
|
- // ),
|
|
|
|
|
|
+ // 'staging' => array(
|
|
|
|
+ // 'scm' => array('branch' => 'staging'),
|
|
|
|
+ // ),
|
|
// 'production' => array(
|
|
// 'production' => array(
|
|
// 'scm' => array('branch' => 'master'),
|
|
// 'scm' => array('branch' => 'master'),
|
|
// ),
|
|
// ),
|
|
@@ -77,7 +86,16 @@ return [
|
|
// Stages configurations
|
|
// Stages configurations
|
|
'stages' => [],
|
|
'stages' => [],
|
|
// Connections configuration
|
|
// Connections configuration
|
|
- 'connections' => [],
|
|
|
|
|
|
+ 'connections' => [
|
|
|
|
+ 'production' => [
|
|
|
|
+ 'remote' => [
|
|
|
|
+ 'root_directory' => '/data/wwwroot/uptoyo/api'
|
|
|
|
+ ],
|
|
|
|
+ 'scm' => [
|
|
|
|
+ 'branch' => 'release'
|
|
|
|
+ ]
|
|
|
|
+ ]
|
|
|
|
+ ],
|
|
|
|
|
|
],
|
|
],
|
|
|
|
|