mirror of
https://github.com/hauke68/Magallanes.git
synced 2026-09-04 08:28:57 +02:00
Adds general.yml parameter "ssh_needs_tty" which appends "-t" to the ssh
command
Adds deployment parameter "rsync: { copy: yes }" which copies the prior
release then rsync's (to increase speed)
This commit is contained in:
@@ -73,13 +73,15 @@ class InitCommand extends AbstractCommand
|
||||
'%notificationEnabled%',
|
||||
'%loggingEnabled%',
|
||||
'%maxlogs%',
|
||||
'%ssh_needs_tty%',
|
||||
),
|
||||
array(
|
||||
$projectName,
|
||||
$notificationEmail,
|
||||
$notificationEnabled,
|
||||
'true',
|
||||
30
|
||||
30,
|
||||
'false'
|
||||
),
|
||||
$this->getGeneralConfigTemplate()
|
||||
);
|
||||
@@ -98,8 +100,9 @@ class InitCommand extends AbstractCommand
|
||||
. 'email: %notificationEmail%' . PHP_EOL
|
||||
. 'notifications: %notificationEnabled%' . PHP_EOL
|
||||
. 'logging: %loggingEnabled%' . PHP_EOL
|
||||
. 'maxlogs: %maxlogs%' . PHP_EOL;
|
||||
. 'maxlogs: %maxlogs%' . PHP_EOL
|
||||
. 'ssh_needs_tty: %ssh_needs_tty%' . PHP_EOL;
|
||||
|
||||
return $template;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user