Skip to content
GitLab
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
a7524e5b
Commit
a7524e5b
authored
Feb 11, 2019
by
Thomas Löffler
Browse files
Use new production server
parent
43f34f15
Pipeline
#6157
passed with stages
in 4 minutes and 28 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
a7524e5b
include
:
'
https://git-t3o.typo3.org/t3o/t3olayout/raw/master/Configuration/GitLab/t3o-builds.yml'
include
:
-
project
:
'
t3o/t3olayout'
ref
:
master
file
:
'
/Configuration/GitLab/t3o-builds.yml'
variables
:
GIT_STRATEGY
:
"
none"
GIT_SSL_NO_VERIFY
:
"
true"
STAGE_PORT
:
22200
STAGE_HOST
:
"
stage-v9.typo3.org"
PRODUCTION_PORT
:
22
193
PRODUCTION_HOST
:
"
typo3.org"
PRODUCTION_PORT
:
22
201
PRODUCTION_HOST
:
"
v9.
typo3.org"
DUMP_USER
:
"
tthreeorgstage"
DUMP_EXCLUDE_TABLES_LIST
:
"
be_groups,be_sessions,be_users,cf_cache_hash,cf_cache_hash_tags,cf_cache_imagesizes,cf_cache_imagesizes_tags,cf_cache_news_category,cf_cache_news_category_tags,cf_cache_pages,cf_cache_pages_tags,cf_cache_pagesection,cf_cache_pagesection_tags,cf_cache_rootline,cf_cache_rootline_tags,cf_extbase_datamapfactory_datamap,cf_extbase_datamapfactory_datamap_tags,cf_extbase_object,cf_extbase_object_tags,cf_extbase_reflection,cf_extbase_reflection_tags,cf_tx_solr,cf_tx_solr_configuration,cf_tx_solr_configuration_tags,cf_tx_solr_tags,fe_groups,fe_sessions,fe_users,sys_domain,sys_log,tx_solr_cache,tx_solr_cache_tags"
PHP_EXECUTABLE
:
"
/opt/php/php72/bin/php"
.gitlab-ci/deployer/deploy.php
View file @
a7524e5b
...
...
@@ -2,8 +2,8 @@
namespace
Deployer
;
require_once
'/
composer
/vendor/deployer/deployer/recipe/common.php'
;
require_once
'/
composer
/vendor/deployer/recipes/rsync.php'
;
require_once
'/
tmp
/vendor/deployer/deployer/recipe/common.php'
;
require_once
'/
tmp
/vendor/deployer/recipes/
recipe/
rsync.php'
;
$sharedDirectories
=
[
'private/fileadmin'
,
...
...
@@ -20,7 +20,7 @@ $sharedFiles = [
set
(
'shared_files'
,
$sharedFiles
);
$writeableDirectories
=
[
'public/typo3temp'
,
'public/typo3temp'
];
set
(
'writable_dirs'
,
$writeableDirectories
);
...
...
@@ -46,13 +46,14 @@ set('rsync', [
'filter'
=>
[],
'filter-file'
=>
false
,
'filter-perdir'
=>
false
,
'flags'
=>
'a
v
z'
,
'flags'
=>
'az'
,
'options'
=>
[
'delete'
],
'timeout'
=>
300
]);
set
(
'rsync_src'
,
'./'
);
set
(
'keep_releases'
,
10
);
serverList
(
'.gitlab-ci/deployer/servers.yml'
);
inventory
(
'./.gitlab-ci/deployer/servers.yml'
);
set
(
'php'
,
'/opt/php/php72/bin/php'
);
set
(
'bin_folder'
,
'vendor/bin/'
);
task
(
'typo3'
,
function
()
{
...
...
@@ -74,5 +75,5 @@ task('deploy', [
'typo3'
,
'deploy:symlink'
,
'cache'
,
'cleanup'
,
'cleanup'
]);
.gitlab-ci/deployer/servers.yml
View file @
a7524e5b
master
:
stage
:
production
host
:
typo3.org
port
:
22
193
host
name
:
v9.
typo3.org
port
:
22
201
user
:
tthreeorg
writable_mode
:
chmod
forward_agent
:
true
deploy_path
:
~/ci
php
:
/opt/php/php70/bin/php
develop
:
stage
:
stage
hostname
:
stage-v9.typo3.org
port
:
22200
host
:
stage-v9.typo3.org
user
:
tthreeorgstage
writable_mode
:
chmod
forward_agent
:
true
deploy_path
:
~/ci
php
:
/opt/php/php72/bin/php
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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