Skip to content

Commit def1e5a

Browse files
authored
Merge pull request #118 from magento-commerce/develop
MCLOUD-10863: Release Cloud Tools
2 parents 6067107 + 30d416c commit def1e5a

21 files changed

+508
-158
lines changed

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "magento/ece-tools",
33
"description": "Provides tools to build and deploy Magento 2 Enterprise Edition",
44
"type": "magento2-component",
5-
"version": "2002.1.14",
5+
"version": "2002.1.15",
66
"license": "OSL-3.0",
77
"repositories": {
88
"repo.magento.com": {

config/schema.error.yaml

+34-34
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# Critical errors
22
!php/const Magento\MagentoCloud\App\Error::BUILD_ENV_PHP_IS_NOT_WRITABLE:
3-
title: 'Cannot write to the `./app/etc/env.php` file'
4-
suggestion: 'Deployment script cannot make required changes to the `/app/etc/env.php` file. Check your filesystem permissions.'
3+
title: 'Can not write to the `./app/etc/env.php` file'
4+
suggestion: 'Deployment script can not make required changes to the `/app/etc/env.php` file. Check your filesystem permissions.'
55
stage: build
66
type: critical
77
!php/const Magento\MagentoCloud\App\Error::BUILD_CONFIG_NOT_DEFINED:
8-
title: 'Configuration isn''t defined in the `schema.yaml` file'
9-
suggestion: 'Configuration is not defined in the `./vendor/magento/ece-tools/config/schema.yaml` file. Check that the config variable name is correct, and that it is defined.'
8+
title: 'Configuration is not defined in the `schema.yaml` file'
9+
suggestion: 'Configuration is not defined in the `./vendor/magento/ece-tools/config/schema.yaml` file. Check that the config variable name is correct and defined.'
1010
stage: build
1111
type: critical
1212
!php/const Magento\MagentoCloud\App\Error::BUILD_CONFIG_PARSE_FAILED:
@@ -26,32 +26,32 @@
2626
type: critical
2727
!php/const Magento\MagentoCloud\App\Error::BUILD_CONFIG_PHP_IS_NOT_WRITABLE:
2828
step: refresh-modules
29-
title: 'Cannot write to the `./app/etc/config.php` file'
30-
suggestion: 'The deployment script cannot make required changes to the `/app/etc/config.php` file. Check your filesystem permissions.'
29+
title: 'Can not write to the `./app/etc/config.php` file'
30+
suggestion: 'The deployment script can not make required changes to the `/app/etc/config.php` file. Check your filesystem permissions.'
3131
stage: build
3232
type: critical
3333
!php/const Magento\MagentoCloud\App\Error::BUILD_CANT_READ_COMPOSER_JSON:
3434
step: validate-config
35-
title: 'Cannot read the `composer.json` file'
35+
title: 'Can not read the `composer.json` file'
3636
suggestion: 'Unable to read the `./composer.json` file. Check file permissions.'
3737
stage: build
3838
type: critical
3939
!php/const Magento\MagentoCloud\App\Error::BUILD_COMPOSER_MISSED_REQUIRED_AUTOLOAD:
4040
step: validate-config
41-
title: 'Composer.json is missing required autoload section'
41+
title: 'The `composer.json` file is missing required autoload section'
4242
suggestion: 'Required `autoload` section is missing from the `composer.json` file. Compare the autoload section to the `composer.json` file in the Cloud template, and add the missing configuration.'
4343
stage: build
4444
type: critical
4545
!php/const Magento\MagentoCloud\App\Error::BUILD_WRONG_CONFIGURATION_MAGENTO_ENV_YAML:
4646
step: validate-config
47-
title: 'The file `.magento.env.yaml` contains an option that is not declared in the schema, or an option configured with an invalid value or stage'
47+
title: 'The `.magento.env.yaml` file contains an option that is not declared in the schema, or an option configured with an invalid value or stage'
4848
suggestion: 'The `./.magento.env.yaml` file contains invalid configuration. Check the error log for detailed info.'
4949
stage: build
5050
type: critical
5151
!php/const Magento\MagentoCloud\App\Error::BUILD_MODULE_ENABLE_COMMAND_FAILED:
5252
step: refresh-modules
5353
title: 'Command failed: `/bin/magento module:enable --all`'
54-
suggestion: 'Try to run `composer update` locally. Then, commit and push the updated `composer.lock` file. Also check the `cloud.log` for more information. For more detailed command output, add the `VERBOSE_COMMANDS: ''-vvv''` option to the `.magento.env.yaml` file.'
54+
suggestion: 'Try to run `composer update` locally. Then, commit and push the updated `composer.lock` file. Also, check the `cloud.log` for more information. For more detailed command output, add the `VERBOSE_COMMANDS: ''-vvv''` option to the `.magento.env.yaml` file.'
5555
stage: build
5656
type: critical
5757
!php/const Magento\MagentoCloud\App\Error::BUILD_PATCH_APPLYING_FAILED:
@@ -62,7 +62,7 @@
6262
type: critical
6363
!php/const Magento\MagentoCloud\App\Error::BUILD_FILE_LOCAL_XML_IS_NOT_WRITABLE:
6464
step: set-report-dir-nesting-level
65-
title: 'Cannot write to the file `/pub/errors/local.xml`'
65+
title: 'Can not write to the file `/pub/errors/local.xml`'
6666
suggestion: ''
6767
stage: build
6868
type: critical
@@ -92,7 +92,7 @@
9292
type: critical
9393
!php/const Magento\MagentoCloud\App\Error::BUILD_UTILITY_NOT_FOUND:
9494
step: compress-static-content
95-
title: 'Required utility wasn''t found (timeout, bash)'
95+
title: 'Required utility was not found (timeout, bash)'
9696
suggestion: ''
9797
stage: build
9898
type: critical
@@ -132,7 +132,7 @@
132132
stage: build
133133
type: critical
134134
!php/const Magento\MagentoCloud\App\Error::BUILD_COMPOSER_PACKAGE_NOT_FOUND:
135-
title: 'Cannot find the Composer package'
135+
title: 'Can not find the Composer package'
136136
suggestion: 'If you installed the Adobe Commerce application version directly from the GitHub repository, verify that the `DEPLOYED_MAGENTO_VERSION_FROM_GIT` environment variable is configured.'
137137
stage: build
138138
type: critical
@@ -149,12 +149,12 @@
149149
stage: deploy
150150
type: critical
151151
!php/const Magento\MagentoCloud\App\Error::DEPLOY_ENV_PHP_IS_NOT_WRITABLE:
152-
title: 'Cannot write to the `./app/etc/env.php` file'
153-
suggestion: 'Deployment script cannot make required changes to the `/app/etc/env.php` file. Check your filesystem permissions.'
152+
title: 'Can not write to the `./app/etc/env.php` file'
153+
suggestion: 'Deployment script can not make required changes to the `/app/etc/env.php` file. Check your filesystem permissions.'
154154
stage: deploy
155155
type: critical
156156
!php/const Magento\MagentoCloud\App\Error::DEPLOY_CONFIG_NOT_DEFINED:
157-
title: 'Configuration isn''t defined in the `schema.yaml` file'
157+
title: 'Configuration is not defined in the `schema.yaml` file'
158158
suggestion: 'Configuration is not defined in the `./vendor/magento/ece-tools/config/schema.yaml` file. Check that the config variable name is correct, and that it is defined.'
159159
stage: deploy
160160
type: critical
@@ -175,7 +175,7 @@
175175
type: critical
176176
!php/const Magento\MagentoCloud\App\Error::DEPLOY_REDIS_CACHE_CLEAN_FAILED:
177177
title: 'Failed to clean the Redis cache'
178-
suggestion: 'Failed to clean the Redis cache. Check that the Redis cache configuration is correct and that the Redis service is available. See [Setup Redis service](https://devdocs.magento.com/cloud/project/services-redis.html).'
178+
suggestion: 'Failed to clean the Redis cache. Check that the Redis cache configuration is correct and that the Redis service is available. See [Setup Redis service](https://experienceleague.adobe.com/docs/commerce-cloud-service/user-guide/configure/service/redis.html).'
179179
step: 'pre-deploy: clean-redis-cache'
180180
stage: deploy
181181
type: critical
@@ -239,7 +239,7 @@
239239
stage: deploy
240240
type: critical
241241
!php/const Magento\MagentoCloud\App\Error::DEPLOY_UTILITY_NOT_FOUND:
242-
title: 'Required utility wasn''t found (timeout, bash)'
242+
title: 'Required utility was not found (timeout, bash)'
243243
suggestion: ''
244244
stage: deploy
245245
type: critical
@@ -257,8 +257,8 @@
257257
type: critical
258258
!php/const Magento\MagentoCloud\App\Error::DEPLOY_SCD_CANNOT_UPDATE_VERSION:
259259
step: 'deploy-static-content:generate'
260-
title: 'Cannot update the deployed version'
261-
suggestion: 'Cannot update the `./pub/static/deployed_version.txt` file. Check your filesystem permissions.'
260+
title: 'Can not update the deployed version'
261+
suggestion: 'Can not update the `./pub/static/deployed_version.txt` file. Check your filesystem permissions.'
262262
stage: deploy
263263
type: critical
264264
!php/const Magento\MagentoCloud\App\Error::DEPLOY_SCD_CLEAN_FAILED:
@@ -318,7 +318,7 @@
318318
!php/const Magento\MagentoCloud\App\Error::DEPLOY_CRYPT_KEY_IS_ABSENT:
319319
step: install-update
320320
title: 'The `crypt/key` key value does not exist in the `./app/etc/env.php` file or the `CRYPT_KEY` cloud environment variable'
321-
suggestion: "This error occurs if the `./app/etc/env.php` file is not present when Adobe Commerce deployment begins, or if the `crypt/key` value is undefined. If you migrated the database from another environment, retrieve the crypt key value from that environment. Then, add the value to the [CRYPT_KEY](https://devdocs.magento.com/cloud/env/variables-deploy.html#crypt_key) cloud environment variable in your current environment. See [Add the Magento encryption key](https://devdocs.magento.com/cloud/setup/first-time-setup-import-import.html#encryption-key). If you accidentally removed the `./app/etc/env.php` file, use the following command to restore it from the backup files created from a previous deployment: `./vendor/bin/ece-tools backup:restore` CLI command .\""
321+
suggestion: "This error occurs if the `./app/etc/env.php` file is not present when Adobe Commerce deployment begins, or if the `crypt/key` value is undefined. If you migrated the database from another environment, retrieve the crypt key value from that environment. Then, add the value to the [CRYPT_KEY](https://experienceleague.adobe.com/docs/commerce-cloud-service/user-guide/configure/env/stage/variables-deploy.html#crypt_key) cloud environment variable in your current environment. See [Adobe Commerce encryption key](https://experienceleague.adobe.com/docs/commerce-cloud-service/user-guide/develop/overview.html#gather-credentials). If you accidentally removed the `./app/etc/env.php` file, use the following command to restore it from the backup files created from a previous deployment: `./vendor/bin/ece-tools backup:restore` CLI command .\""
322322
stage: deploy
323323
type: critical
324324
!php/const Magento\MagentoCloud\App\Error::DEPLOY_ES_CANNOT_CONNECT:
@@ -327,8 +327,8 @@
327327
stage: deploy
328328
type: critical
329329
!php/const Magento\MagentoCloud\App\Error::DEPLOY_OS_CANNOT_CONNECT:
330-
title: 'Can not connect to the Opensearch service'
331-
suggestion: 'Check for valid Opensearch credentials and verify that the service is running'
330+
title: 'Can not connect to the OpenSearch service'
331+
suggestion: 'Check for valid OpenSearch credentials and verify that the service is running'
332332
stage: deploy
333333
type: critical
334334
!php/const Magento\MagentoCloud\App\Error::DEPLOY_WRONG_BRAINTREE_VARIABLE:
@@ -345,8 +345,8 @@
345345
type: critical
346346
!php/const Magento\MagentoCloud\App\Error::DEPLOY_OS_SERVICE_NOT_INSTALLED:
347347
step: validate-config
348-
title: 'Adobe Commerce and Magento Open Source 2.4.4 requires Opensearch or Elasticsearch service to be installed'
349-
suggestion: 'Install Opensearch service'
348+
title: 'Adobe Commerce and Magento Open Source 2.4.4 requires OpenSearch or Elasticsearch service to be installed'
349+
suggestion: 'Install OpenSearch service'
350350
stage: deploy
351351
type: critical
352352
!php/const Magento\MagentoCloud\App\Error::DEPLOY_WRONG_SEARCH_ENGINE:
@@ -369,11 +369,11 @@
369369
type: critical
370370
!php/const Magento\MagentoCloud\App\Error::PD_ENV_PHP_IS_NOT_WRITABLE:
371371
title: 'The `./app/etc/env.php` file is not writable'
372-
suggestion: 'Deployment script cannot make required changes to the `/app/etc/env.php` file. Check your filesystem permissions.'
372+
suggestion: 'Deployment script can not make required changes to the `/app/etc/env.php` file. Check your filesystem permissions.'
373373
stage: post-deploy
374374
type: critical
375375
!php/const Magento\MagentoCloud\App\Error::PD_CONFIG_NOT_DEFINED:
376-
title: 'Configuration isn''t defined in the `schema.yaml` file'
376+
title: 'Configuration is not defined in the `schema.yaml` file'
377377
suggestion: 'Configuration is not defined in the `./vendor/magento/ece-tools/config/schema.yaml` file. Check that the config variable name is correct, and that it is defined.'
378378
stage: post-deploy
379379
type: critical
@@ -394,7 +394,7 @@
394394
type: critical
395395
!php/const Magento\MagentoCloud\App\Error::PD_DURING_PAGE_WARM_UP:
396396
step: warm-up
397-
title: 'Failed to warm-up some pages'
397+
title: 'Failed to preload some warm-up pages'
398398
suggestion: ''
399399
stage: post-deploy
400400
type: critical
@@ -472,7 +472,7 @@
472472
step: validate-config
473473
type: warning
474474
!php/const Magento\MagentoCloud\App\Error::WARN_BALER_CANNOT_BE_USED:
475-
title: 'Baler JS bundling cannot be used'
475+
title: 'Baler JS bundling can not be used'
476476
stage: build
477477
step: run-baler
478478
type: warning
@@ -583,7 +583,7 @@
583583
type: warning
584584
!php/const Magento\MagentoCloud\App\Error::WARN_ENV_PHP_MISSED:
585585
title: 'Adobe Commerce installation completed, but the `app/etc/env.php` configuration file was missing or empty.'
586-
suggestion: 'Required data will be restored from environment configurations and from .magento.env.yaml file.'
586+
suggestion: 'Required data will be restored from environment configurations and from the .magento.env.yaml file.'
587587
stage: deploy
588588
step: install-update
589589
type: warning
@@ -647,7 +647,7 @@
647647
step: warm-up
648648
type: warning
649649
!php/const Magento\MagentoCloud\App\Error::WARN_CREATE_CONFIG_BACKUP_FAILED:
650-
title: 'Cannot create backup files'
650+
title: 'Can not create backup files'
651651
stage: post-deploy
652652
step: backup
653653
type: warning
@@ -656,14 +656,14 @@
656656
type: warning
657657
stage: general
658658
!php/const Magento\MagentoCloud\App\Error::WARN_OS_ES_SERVICES_BOTH_INSTALLED:
659-
title: 'Elasticsearch and Opensearch services are both installed at infrastructure layer. Adobe Commerce and Magento Open Source 2.4.4 and higher use Opensearch by default'
660-
suggestion: 'Consider removing the Elasticsearch or Opensearch service from the infrastructure layer to optimize resource usage.'
659+
title: 'Elasticsearch and OpenSearch services are both installed at infrastructure layer. Adobe Commerce and Magento Open Source 2.4.4 and later use OpenSearch by default'
660+
suggestion: 'Consider removing the Elasticsearch or OpenSearch service from the infrastructure layer to optimize resource usage.'
661661
stage: deploy
662662
step: validate-config
663663
type: warning
664664
!php/const Magento\MagentoCloud\App\Error::DEPLOY_MAGENTO_VERSION_DOES_NOT_SUPPORT_OS:
665665
step: validate-config
666666
title: 'Incorrect search engine'
667-
suggestion: 'This Adobe Commerce or Magento Open Source version does not support Opensearch. You must use versions 2.3.7-p3, 2.4.3-p2, or higher'
667+
suggestion: 'This Adobe Commerce or Magento Open Source version does not support OpenSearch. You must use versions 2.3.7-p3, 2.4.3-p2, or later'
668668
stage: deploy
669669
type: critical

config/schema.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,9 @@ variables:
5757
build:
5858
SCD_COMPRESSION_TIMEOUT: 900
5959
SCD_STRATEGY:
60-
description: Customize the deployment strategy for static content. The value "standard" will deploy all static view
61-
files for all packages, "quick" will minimize deployment time, and "compact" will conserve space on the server.
62-
Compact is not compatible with multi-threaded deployment and will set the value of `SCD_THREADS` to 1. The default
60+
description: Customize the deployment strategy for static content. The value "standard" deploys all static view
61+
files for all packages, "quick" minimizes deployment time, and "compact" conserves space on the server.
62+
Compact is not compatible with multi-threaded deployment and sets the value of `SCD_THREADS` to 1. The default
6363
value is "quick".
6464
type: string
6565
magento_version: '>=2.2.0'
@@ -218,7 +218,7 @@ variables:
218218
MIN_LOGGING_LEVEL:
219219
description: Use to override the minimum logging level for all output streams without making changes to the code.
220220
This helps to improve troubleshooting problems with deployment. For example, if your deployment fails,
221-
you can use this variable to increase the logging granularity globally. Doesn't affect log level for the file output.
221+
you can use this variable to increase the logging granularity globally. Does not affect log level for the file output.
222222
See Set up notifications—Log levels.
223223
type: string
224224
allowed:

0 commit comments

Comments
 (0)