Commit a7524e5b authored by Thomas Löffler's avatar Thomas Löffler
Browse files

Use new production server

parent 43f34f15
Pipeline #6157 passed with stages
in 4 minutes and 28 seconds
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: variables:
GIT_STRATEGY: "none" GIT_STRATEGY: "none"
GIT_SSL_NO_VERIFY: "true" GIT_SSL_NO_VERIFY: "true"
STAGE_PORT: 22200 STAGE_PORT: 22200
STAGE_HOST: "stage-v9.typo3.org" STAGE_HOST: "stage-v9.typo3.org"
PRODUCTION_PORT: 22193 PRODUCTION_PORT: 22201
PRODUCTION_HOST: "typo3.org" PRODUCTION_HOST: "v9.typo3.org"
DUMP_USER: "tthreeorgstage" 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" 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" PHP_EXECUTABLE: "/opt/php/php72/bin/php"
...@@ -2,8 +2,8 @@ ...@@ -2,8 +2,8 @@
namespace Deployer; namespace Deployer;
require_once '/composer/vendor/deployer/deployer/recipe/common.php'; require_once '/tmp/vendor/deployer/deployer/recipe/common.php';
require_once '/composer/vendor/deployer/recipes/rsync.php'; require_once '/tmp/vendor/deployer/recipes/recipe/rsync.php';
$sharedDirectories = [ $sharedDirectories = [
'private/fileadmin', 'private/fileadmin',
...@@ -20,7 +20,7 @@ $sharedFiles = [ ...@@ -20,7 +20,7 @@ $sharedFiles = [
set('shared_files', $sharedFiles); set('shared_files', $sharedFiles);
$writeableDirectories = [ $writeableDirectories = [
'public/typo3temp', 'public/typo3temp'
]; ];
set('writable_dirs', $writeableDirectories); set('writable_dirs', $writeableDirectories);
...@@ -46,13 +46,14 @@ set('rsync', [ ...@@ -46,13 +46,14 @@ set('rsync', [
'filter' => [], 'filter' => [],
'filter-file' => false, 'filter-file' => false,
'filter-perdir' => false, 'filter-perdir' => false,
'flags' => 'avz', 'flags' => 'az',
'options' => ['delete'], 'options' => ['delete'],
'timeout' => 300 'timeout' => 300
]); ]);
set('rsync_src', './'); set('rsync_src', './');
set('keep_releases', 10); 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/'); set('bin_folder', 'vendor/bin/');
task('typo3', function () { task('typo3', function () {
...@@ -74,5 +75,5 @@ task('deploy', [ ...@@ -74,5 +75,5 @@ task('deploy', [
'typo3', 'typo3',
'deploy:symlink', 'deploy:symlink',
'cache', 'cache',
'cleanup', 'cleanup'
]); ]);
master: master:
stage: production stage: production
host: typo3.org hostname: v9.typo3.org
port: 22193 port: 22201
user: tthreeorg user: tthreeorg
writable_mode: chmod
forward_agent: true forward_agent: true
deploy_path: ~/ci deploy_path: ~/ci
php: /opt/php/php70/bin/php
develop: develop:
stage: stage stage: stage
hostname: stage-v9.typo3.org
port: 22200 port: 22200
host: stage-v9.typo3.org
user: tthreeorgstage user: tthreeorgstage
writable_mode: chmod writable_mode: chmod
forward_agent: true forward_agent: true
deploy_path: ~/ci deploy_path: ~/ci
php: /opt/php/php72/bin/php
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment