File tree Expand file tree Collapse file tree 4 files changed +6
-5
lines changed
Test/Unit/Process/PostDeploy Expand file tree Collapse file tree 4 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -256,7 +256,6 @@ function () {
256
256
$ this ->container ->make (DeployProcess \DeployStaticContent::class),
257
257
$ this ->container ->make (DeployProcess \CompressStaticContent::class),
258
258
$ this ->container ->make (DeployProcess \DisableGoogleAnalytics::class),
259
- $ this ->container ->make (DeployProcess \EnableCron::class),
260
259
261
260
/**
262
261
* This process runs processes if only post_deploy hook is not configured.
@@ -270,6 +269,7 @@ function () {
270
269
->give (function () {
271
270
return $ this ->container ->makeWith (ProcessComposite::class, [
272
271
'processes ' => [
272
+ $ this ->container ->make (PostDeployProcess \EnableCron::class),
273
273
$ this ->container ->make (PostDeployProcess \Backup::class),
274
274
$ this ->container ->make (PostDeployProcess \CleanCache::class),
275
275
],
@@ -376,6 +376,7 @@ function () {
376
376
],
377
377
],
378
378
]),
379
+ $ this ->container ->make (PostDeployProcess \EnableCron::class),
379
380
$ this ->container ->make (PostDeployProcess \Backup::class),
380
381
$ this ->container ->make (PostDeployProcess \CleanCache::class),
381
382
$ this ->container ->make (PostDeployProcess \WarmUp::class),
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ public function execute()
51
51
{
52
52
if ($ this ->hookChecker ->isPostDeployHookEnabled ()) {
53
53
$ this ->logger ->info (
54
- 'Post-deploy hook enabled. Cache cleaning and pre-warming operations ' .
54
+ 'Post-deploy hook enabled. Cron enabling, cache cleaning and pre-warming operations ' .
55
55
'are postponed to post-deploy stage. '
56
56
);
57
57
Original file line number Diff line number Diff line change 3
3
* Copyright © Magento, Inc. All rights reserved.
4
4
* See COPYING.txt for license details.
5
5
*/
6
- namespace Magento \MagentoCloud \Process \Deploy ;
6
+ namespace Magento \MagentoCloud \Process \PostDeploy ;
7
7
8
8
use Magento \MagentoCloud \Config \Deploy \Reader ;
9
9
use Magento \MagentoCloud \Config \Deploy \Writer ;
Original file line number Diff line number Diff line change 3
3
* Copyright © Magento, Inc. All rights reserved.
4
4
* See COPYING.txt for license details.
5
5
*/
6
- namespace Magento \MagentoCloud \Test \Unit \Process \Deploy ;
6
+ namespace Magento \MagentoCloud \Test \Unit \Process \PostDeploy ;
7
7
8
8
use Magento \MagentoCloud \Config \Deploy \Reader ;
9
9
use Magento \MagentoCloud \Config \Deploy \Writer ;
10
- use Magento \MagentoCloud \Process \Deploy \EnableCron ;
10
+ use Magento \MagentoCloud \Process \PostDeploy \EnableCron ;
11
11
use Psr \Log \LoggerInterface ;
12
12
use PHPUnit \Framework \TestCase ;
13
13
use PHPUnit \Framework \MockObject \MockObject ;
You can’t perform that action at this time.
0 commit comments