Commit cc3affb7 authored by Thomas Löffler's avatar Thomas Löffler

Switch back to deployer v4

parent 7ce43ba7
Pipeline #3217 failed with stages
in 2 minutes and 58 seconds
......@@ -58,7 +58,7 @@ layout:
.deploy-template: &deploy_template
stage: deploy
image:
name: "torvitas/deployer:5-alpine"
name: "torvitas/deployer:4.0.0-alpine"
entrypoint: [""]
before_script:
- mkdir -p /root/.ssh/
......
......@@ -6,8 +6,6 @@ require_once '/composer/vendor/deployer/deployer/recipe/common.php';
require_once '/composer/vendor/deployer/recipes/rsync.php';
require_once '/composer/vendor/deployer/recipes/cachetool.php';
set('ssh_multiplexing', true);
$sharedDirectories = [
'html/fileadmin',
'html/uploads',
......@@ -53,17 +51,14 @@ set('rsync', [
]);
set('rsync_src', './');
set('keep_releases', 10);
inventory('./.gitlab-ci/deployer/servers.yml');
serverList('./.gitlab-ci/deployer/servers.yml');
task('typo3', function() {
run('cd {{release_path}} && /opt/php/php70/bin/php bin/typo3cms install:extensionsetupifpossible');
});
host('production')->set('cachetool', '/var/run/php7-fpm-extensions.sock');
host('stage')->set('cachetool', '/var/run/php7-fpm-extensionsstage.sock');
task('opcache', function() {
});
server('production')->set('cachetool', '/var/run/php7-fpm-extensions.sock');
server('stage')->set('cachetool', '/var/run/php7-fpm-extensionsstage.sock');
task('deploy', [
'deploy:prepare',
......
Markdown is supported
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