Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
services
t3o sites
typo3.org
typo3.org
Commits
44d5118c
Commit
44d5118c
authored
May 04, 2020
by
Thomas Löffler
Browse files
Change order of deployment tasks and remove special case for old production
parent
83aa7370
Pipeline
#8869
passed with stages
in 6 minutes and 5 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci/deployer/deploy.php
View file @
44d5118c
...
...
@@ -63,14 +63,15 @@ task('solr_host', function () {
});
task
(
'typo3'
,
function
()
{
if
(
get
(
'stage'
)
===
'production'
)
{
set
(
'php'
,
'/opt/php/php72/bin/php'
);
}
run
(
'cd {{release_path}} && {{php}} {{bin_folder}}typo3cms install:generatepackagestates'
);
run
(
'cd {{release_path}} && {{php}} {{bin_folder}}typo3cms database:updateschema'
);
run
(
'cd {{release_path}} && {{php}} {{bin_folder}}typo3cms install:extensionsetupifpossible'
);
});
task
(
'typo3_cache'
,
function
()
{
run
(
'cd {{release_path}} && {{php}} {{bin_folder}}typo3cms cache:flush'
);
});
task
(
'cache'
,
function
()
{
run
(
'cd {{release_path}} && {{php}} {{bin_folder}}cachetool opcache:reset'
);
});
...
...
@@ -82,9 +83,10 @@ task('deploy', [
'rsync'
,
'deploy:shared'
,
'deploy:writable'
,
'solr_host'
,
'typo3'
,
'deploy:symlink'
,
'solr_host'
,
'typo3_cache'
,
'cache'
,
'cleanup'
]);
Write
Preview
Supports
Markdown
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