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

Use cachetool from composer and change order of deploying tasks

parent 267364b2
Pipeline #4515 passed with stages
in 14 minutes and 1 second
......@@ -53,13 +53,17 @@ set('rsync', [
set('rsync_src', './');
set('keep_releases', 10);
serverList('./.gitlab-ci/deployer/servers.yml');
set('php', '/opt/php/php70/bin/php');
task('typo3', function() {
run('cd {{release_path}} && /opt/php/php70/bin/php bin/typo3cms install:generatepackagestates');
run('cd {{release_path}} && /opt/php/php70/bin/php bin/typo3cms install:extensionsetupifpossible');
run('cd {{release_path}} && {{php}} bin/typo3cms install:generatepackagestates');
run('cd {{release_path}} && {{php}} bin/typo3cms install:extensionsetupifpossible');
});
task('cache', function () {
run('cd {{release_path}} && {{php}} bin/cachetool');
});
set('bin/php', '/opt/php/php70/bin/php');
task('deploy', [
'deploy:prepare',
......@@ -68,8 +72,8 @@ task('deploy', [
'rsync',
'deploy:shared',
'deploy:writable',
'typo3',
'deploy:symlink',
'cachetool:clear:opcache',
'cleanup',
'typo3'
'cache',
'cleanup'
]);
......@@ -4,8 +4,44 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
"This file is @generated automatically"
],
"content-hash": "976b51dada61ac79bcf16e39e555d0cb",
"content-hash": "0187f3cb8d239363a83cf75066ad993a",
"packages": [
{
"name": "adoy/fastcgi-client",
"version": "1.0.0",
"source": {
"type": "git",
"url": "https://github.com/adoy/PHP-FastCGI-Client.git",
"reference": "ae8234f0781b6d97e909e45d8a425b9f9bd120bb"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/adoy/PHP-FastCGI-Client/zipball/ae8234f0781b6d97e909e45d8a425b9f9bd120bb",
"reference": "ae8234f0781b6d97e909e45d8a425b9f9bd120bb",
"shasum": ""
},
"type": "library",
"autoload": {
"psr-0": {
"Adoy\\FastCGI\\": "src"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Pierrick Charron",
"email": "pierrick@adoy.net"
}
],
"description": "Client for communication with a FastCGI (FCGI) application using the FastCGI protocol.",
"keywords": [
"fastcgi"
],
"time": "2015-05-20T15:36:05+00:00"
},
{
"name": "apache-solr-for-typo3/solr",
"version": "7.5.0",
......@@ -715,6 +751,65 @@
],
"time": "2014-09-09T13:34:57+00:00"
},
{
"name": "gordalina/cachetool",
"version": "3.2.1",
"source": {
"type": "git",
"url": "https://github.com/gordalina/cachetool.git",
"reference": "a8bed42d6763b465861b5f93c82e9206d1bdc729"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/gordalina/cachetool/zipball/a8bed42d6763b465861b5f93c82e9206d1bdc729",
"reference": "a8bed42d6763b465861b5f93c82e9206d1bdc729",
"shasum": ""
},
"require": {
"adoy/fastcgi-client": "~1.0",
"monolog/monolog": "~1.1",
"php": ">=5.5.9",
"psr/log": "~1.0",
"symfony/console": "~3.0",
"symfony/dependency-injection": "~3.0",
"symfony/finder": "~3.0",
"symfony/process": "~3.0",
"symfony/yaml": "~3.0"
},
"require-dev": {
"herrera-io/phar-update": "~2.0",
"phpunit/phpunit": "4.8.*"
},
"bin": [
"bin/cachetool"
],
"type": "library",
"autoload": {
"psr-0": {
"CacheTool": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "gordalina",
"email": "samuel.gordalina@gmail.com"
}
],
"description": "Manage your opcode & apc through the cli",
"keywords": [
"Opcache",
"apc",
"cache",
"fastcgi",
"fpm",
"opcode"
],
"time": "2018-05-22T02:09:28+00:00"
},
{
"name": "gridelementsteam/gridelements",
"version": "8.2.1",
......@@ -1078,6 +1173,84 @@
],
"time": "2017-12-13T13:52:52+00:00"
},
{
"name": "monolog/monolog",
"version": "1.23.0",
"source": {
"type": "git",
"url": "https://github.com/Seldaek/monolog.git",
"reference": "fd8c787753b3a2ad11bc60c063cff1358a32a3b4"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/Seldaek/monolog/zipball/fd8c787753b3a2ad11bc60c063cff1358a32a3b4",
"reference": "fd8c787753b3a2ad11bc60c063cff1358a32a3b4",
"shasum": ""
},
"require": {
"php": ">=5.3.0",
"psr/log": "~1.0"
},
"provide": {
"psr/log-implementation": "1.0.0"
},
"require-dev": {
"aws/aws-sdk-php": "^2.4.9 || ^3.0",
"doctrine/couchdb": "~1.0@dev",
"graylog2/gelf-php": "~1.0",
"jakub-onderka/php-parallel-lint": "0.9",
"php-amqplib/php-amqplib": "~2.4",
"php-console/php-console": "^3.1.3",
"phpunit/phpunit": "~4.5",
"phpunit/phpunit-mock-objects": "2.3.0",
"ruflin/elastica": ">=0.90 <3.0",
"sentry/sentry": "^0.13",
"swiftmailer/swiftmailer": "^5.3|^6.0"
},
"suggest": {
"aws/aws-sdk-php": "Allow sending log messages to AWS services like DynamoDB",
"doctrine/couchdb": "Allow sending log messages to a CouchDB server",
"ext-amqp": "Allow sending log messages to an AMQP server (1.0+ required)",
"ext-mongo": "Allow sending log messages to a MongoDB server",
"graylog2/gelf-php": "Allow sending log messages to a GrayLog2 server",
"mongodb/mongodb": "Allow sending log messages to a MongoDB server via PHP Driver",
"php-amqplib/php-amqplib": "Allow sending log messages to an AMQP server using php-amqplib",
"php-console/php-console": "Allow sending log messages to Google Chrome",
"rollbar/rollbar": "Allow sending log messages to Rollbar",
"ruflin/elastica": "Allow sending log messages to an Elastic Search server",
"sentry/sentry": "Allow sending log messages to a Sentry server"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "2.0.x-dev"
}
},
"autoload": {
"psr-4": {
"Monolog\\": "src/Monolog"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Jordi Boggiano",
"email": "j.boggiano@seld.be",
"homepage": "http://seld.be"
}
],
"description": "Sends your logs to files, sockets, inboxes, databases and various web services",
"homepage": "http://github.com/Seldaek/monolog",
"keywords": [
"log",
"logging",
"psr-3"
],
"time": "2017-06-19T01:22:40+00:00"
},
{
"name": "mso/idna-convert",
"version": "v1.1.0",
......@@ -1178,6 +1351,55 @@
],
"time": "2017-09-02T17:10:46+00:00"
},
{
"name": "psr/container",
"version": "1.0.0",
"source": {
"type": "git",
"url": "https://github.com/php-fig/container.git",
"reference": "b7ce3b176482dbbc1245ebf52b181af44c2cf55f"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/php-fig/container/zipball/b7ce3b176482dbbc1245ebf52b181af44c2cf55f",
"reference": "b7ce3b176482dbbc1245ebf52b181af44c2cf55f",
"shasum": ""
},
"require": {
"php": ">=5.3.0"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "1.0.x-dev"
}
},
"autoload": {
"psr-4": {
"Psr\\Container\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "PHP-FIG",
"homepage": "http://www.php-fig.org/"
}
],
"description": "Common Container Interface (PHP FIG PSR-11)",
"homepage": "https://github.com/php-fig/container",
"keywords": [
"PSR-11",
"container",
"container-interface",
"container-interop",
"psr"
],
"time": "2017-02-14T16:28:37+00:00"
},
{
"name": "psr/http-message",
"version": "1.0.1",
......@@ -1454,6 +1676,77 @@
"homepage": "https://symfony.com",
"time": "2018-05-16T14:03:39+00:00"
},
{
"name": "symfony/dependency-injection",
"version": "v3.4.11",
"source": {
"type": "git",
"url": "https://github.com/symfony/dependency-injection.git",
"reference": "8a4672aca8db6d807905d695799ea7d83c8e5bba"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/dependency-injection/zipball/8a4672aca8db6d807905d695799ea7d83c8e5bba",
"reference": "8a4672aca8db6d807905d695799ea7d83c8e5bba",
"shasum": ""
},
"require": {
"php": "^5.5.9|>=7.0.8",
"psr/container": "^1.0"
},
"conflict": {
"symfony/config": "<3.3.7",
"symfony/finder": "<3.3",
"symfony/proxy-manager-bridge": "<3.4",
"symfony/yaml": "<3.4"
},
"provide": {
"psr/container-implementation": "1.0"
},
"require-dev": {
"symfony/config": "~3.3|~4.0",
"symfony/expression-language": "~2.8|~3.0|~4.0",
"symfony/yaml": "~3.4|~4.0"
},
"suggest": {
"symfony/config": "",
"symfony/expression-language": "For using expressions in service container configuration",
"symfony/finder": "For using double-star glob patterns or when GLOB_BRACE portability is required",
"symfony/proxy-manager-bridge": "Generate service proxies to lazy load them",
"symfony/yaml": ""
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "3.4-dev"
}
},
"autoload": {
"psr-4": {
"Symfony\\Component\\DependencyInjection\\": ""
},
"exclude-from-classmap": [
"/Tests/"
]
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Fabien Potencier",
"email": "fabien@symfony.com"
},
{
"name": "Symfony Community",
"homepage": "https://symfony.com/contributors"
}
],
"description": "Symfony DependencyInjection Component",
"homepage": "https://symfony.com",
"time": "2018-05-25T11:57:15+00:00"
},
{
"name": "symfony/finder",
"version": "v3.4.11",
......
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