Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
services
t3o sites
typo3.org
typo3.org
Commits
fb9db84d
Commit
fb9db84d
authored
Apr 27, 2017
by
Thorsten Griebenow
Browse files
Merge branch 'remove-surf' into 'develop'
[TASK] Remove surf See merge request
!18
parents
3523263f
54fe6440
Pipeline
#394
passed with stages
in 1 minute and 31 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.surf/Development.php
deleted
100644 → 0
View file @
3523263f
<?php
/** @var $deployment TYPO3\Surf\Domain\Model\Deployment "injected" into this script from Surf */
$baseUrl
=
'https://vpro0100.proserver.punkt.de/'
;
$deploymentPath
=
'/var/www/surf'
;
$node
=
new
TYPO3\Surf\Domain\Model\Node
(
'development'
);
$node
->
setHostname
(
'vpro0100.proserver.punkt.de'
)
->
setOption
(
'username'
,
'proserver'
);
$application
=
new
TYPO3\Surf\Application\TYPO3\CMS
(
'typo3.org'
);
$application
->
setOption
(
'applicationWebDirectory'
,
'html'
)
->
setOption
(
'TYPO3\\Surf\\Task\\TYPO3\\CMS\\SymlinkDataTask[webDirectory]'
,
'html'
)
->
setOption
(
'TYPO3\\Surf\\Task\\TYPO3\\CMS\\SetUpExtensionsTask[scriptFileName]'
,
'bin/typo3cms'
)
->
setOption
(
'TYPO3\\Surf\\Task\\TYPO3\\CMS\\FlushCachesTask[scriptFileName]'
,
'bin/typo3cms'
)
->
setOption
(
'keepReleases'
,
3
)
->
setOption
(
'composerCommandPath'
,
'composer'
)
->
setOption
(
'updateMethod'
,
null
)
->
setOption
(
'packageMethod'
,
null
)
->
setOption
(
'baseUrl'
,
$baseUrl
)
->
setContext
(
'Development'
)
->
setDeploymentPath
(
$deploymentPath
)
->
addNode
(
$node
);
$deployment
->
addApplication
(
$application
);
$deployment
->
onInitialize
(
function
()
use
(
$deployment
)
{
$deployment
->
getWorkflow
()
->
setTaskOptions
(
'TYPO3\\Surf\\Task\\Generic\\CreateSymlinksTask'
,
[
'symlinks'
=>
[
'html/sql'
=>
'../../../shared/Sql'
]])
->
removeTask
(
'TYPO3\\Surf\\Task\\TYPO3\\CMS\\CreatePackageStatesTask'
)
->
defineTask
(
'pt:DeleteDirectoriesTask'
,
'TYPO3\\Surf\\Task\\ShellTask'
,
[
'command'
=>
'rm -rf {releasePath}/html/fileadmin {releasePath}/html/uploads'
])
->
beforeTask
(
'TYPO3\\Surf\\Task\\TYPO3\\CMS\\SymlinkDataTask'
,
'pt:DeleteDirectoriesTask'
)
->
defineTask
(
'pt:RestartPhpFpmTask'
,
'TYPO3\\Surf\\Task\\ShellTask'
,
[
'command'
=>
'sudo /usr/local/etc/rc.d/php-fpm restart'
])
->
forStage
(
'cleanup'
,
'TYPO3\\Surf\\Task\\Generic\\CreateSymlinksTask'
)
->
forStage
(
'cleanup'
,
'pt:RestartPhpFpmTask'
);
});
surf.phar
deleted
100644 → 0
View file @
3523263f
File deleted
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment