Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

Commit e0ad03d

Browse files
authored
Merge branch '2.4.1-develop' into kh_gift-message-order
2 parents 133a09a + 4784a5f commit e0ad03d

File tree

85 files changed

+4762
-547
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

85 files changed

+4762
-547
lines changed

.ruby-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
ruby-2.6.5
1+
ruby-2.6.6

Gemfile.lock

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ GEM
153153
unicode-display_width (1.7.0)
154154
verbal_expressions (0.1.5)
155155
wdm (0.1.1)
156-
whatsup_github (0.1.1)
156+
whatsup_github (0.2.0)
157157
netrc (~> 0.10)
158158
octokit (~> 4.14)
159159
thor (~> 0.20)
@@ -163,6 +163,7 @@ PLATFORMS
163163
ruby
164164
x86-mswin32
165165
x86_64-darwin-18
166+
x86_64-darwin-19
166167

167168
DEPENDENCIES
168169
devdocs!
Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
1+
# Error message suggestions
2+
3+
# Magento Cloud error labels and suggested solutions to include in Cloud error reference table
4+
5+
# ENV_PHP_IS_NOT_WRITEABLE applies to errors 102 and 202
6+
7+
ENV_PHP_IS_NOT_WRITABLE: "Deployment script cannot make required changes to the `/app/etc/env.php` file. Check your filesystem permissions."
8+
9+
# CONFIG_NOT_DEFINED applies to errors 103 and 203
10+
11+
CONFIG_NOT_DEFINED: "Configuration isn't defined in the `./vendor/magento/ece-tools/config/schema.yaml` file. Check that the config variable name is correct, and that it defined."
12+
13+
# CONFIG_PARSE_FAILED applies to 4, 104, 204
14+
CONFIG_PARSE_FAILED: "The `./.magento.env.yaml` file format is invalid. Use a YAML parser to check the syntax and fix any errors."
15+
16+
# CONFIG_UNABLE_TO_READ applies to 5, 105, 205
17+
CONFIG_UNABLE_TO_READ: "Unable to read the `./.magento.env.yaml` file. Check file permissions."
18+
19+
CONFIG_PHP_IS_NOT_WRITABLE: "Deployment script cannot make required changes to the `/app/etc/config.php` file. Check your filesystem permissions."
20+
21+
CANT_READ_COMPOSER_JSON: "Unable to read the `./composer.json` file. Check file permissions."
22+
23+
COMPOSER_MISSED_REQUIRED_AUTOLOAD: "Required `autoload` section is missing from the `composer.json` file. Compare the autoload section from the Magento `composer.json` file template, and add the missing configuration."
24+
25+
WRONG_CONFIGURATION_MAGENTO_ENV_YAML: "The `./.magento.env.yaml` file contains invalid configuration. Check the error log for detailed info."
26+
27+
COMPOSER_DUMP_AUTOLOAD_FAILED: "The `composer dump-autoload` command failed. Check the `cloud.log` for more information."
28+
29+
BALER_NOT_FOUND: "Check the `SCD_USE_BALER` environment variable to verify that the Baler module is configured and enabled for JS bundling. If you don't need the Baler module, set `SCD_USE_BALER: false`."
30+
31+
#The UTILITY_NOT_FOUND_ACTION applies to the following errors:
32+
# BUILD_UTILITY_NOT_FOUND = 18
33+
# DEPLOY_UTILITY_NOT_FOUND = 118
34+
35+
UTILITY_NOT_FOUND_ACTION: "One of required utilities was not found on server. Check the `cloud.log` for more information and install required utility."
36+
37+
# The CHECK_CLOUD_LOG_ACTION applies to the following errors:
38+
# SCD_COMPRESSION_FAILED = 20, 120
39+
# SCD_COPYING_FAILED = 21
40+
41+
CHECK_CLOUD_LOG_ACTION: "Check the `cloud.log` for more information."
42+
43+
WRITABLE_DIRECTORY_COPYING_FAILED: "Failed to copy writable directories into the `./init` folder. Check your filesystem permissions."
44+
45+
CLEAN_INIT_PUB_STATIC_FAILED: "Failed to clean `./init/pub/static` folder. Check your filesystem permissions."
46+
47+
COMPOSER_PACKAGE_NOT_FOUND: "If you installed the Magento application version directly from the Magento git repository, verify that the `DEPLOYED_MAGENTO_VERSION_FROM_GIT` environment variable is configured."
48+
49+
WRONG_CACHE_CONFIGURATION: "Cache configuration is missing required parameters `server` or `port`. Check the `cloud.log` for more information."
50+
51+
REDIS_CACHE_CLEAN_FAILED: "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/project-conf-files_services-redis.html)."
52+
53+
WRONG_CONFIGURATION_DB: "Check that the the `DATABASE_CONFIGURATION` environment variable is configured correctly."
54+
55+
WRONG_CONFIGURATION_SESSION: "Check that the `SESSION_CONFIGURATION` environment variable is configured correctly. The configuration must contain at least the `save` parameter."
56+
57+
WRONG_CONFIGURATION_SEARCH: "Check that the `SEARCH_CONFIGURATION` environment variable is configured correctly.. The configuration must contain at least the `engine` parameter."
58+
59+
WRONG_CONFIGURATION_RESOURCE: "Check that the `RESOURCE_CONFIGURATION` environment variable is configured correctly. The configuration must contain at least `connection` parameter."
60+
61+
ELASTIC_SUITE_WITHOUT_ES: "ElasticSuite is installed, but the Elasticsearch service is not available. Check that the `SEARCH_CONFIGURATION` environment variable is configured correctly, and verify that the Elasticsearch service is available."
62+
63+
ELASTIC_SUITE_WRONG_ENGINE: "ElasticSuite is installed but another search engine is configured. Update the `SEARCH_CONFIGURATION` environment variable to enable Elasticsearch and verify the Elasticsearch service configuration in the `services.yaml` file."
64+
65+
#The INSTALL_UPGRADE_ACTION applies to the following errors:
66+
# INSTALL_COMMAND_FAILED - 116
67+
# UPGRADE_COMMAND_FAILED - 126
68+
69+
INSTALL_UPGRADE_ACTION: "Check the `cloud.log` and `install_upgrade.log` for more information. Add `VERBOSE_COMMANDS: '-vvv'` into `.magento.env.yaml` for more detailed command output."
70+
71+
SCD_UNABLE_UPDATE_VERSION: "Cannot update `./pub/static/deployed_version.txt` file. Check your filesystem permissions."
72+
73+
VIEW_PREPROCESSED_CLEAN_FAILED: "Unable to clean the `./var/view_preprocessed` folder. Check your filesystem permissions."
74+
75+
FILE_CREDENTIALS_EMAIL_NOT_WRITABLE: "Failed to update the `/var/credentials_email.txt` file. Check your filesystem permissions."
76+
77+
#The CLOUD_LOG_VERBOSE_ACTION applies to the following errors:
78+
79+
# MODULE_ENABLE_COMMAND_FAILED - 11
80+
# SCD_FAILED - 19, 119,
81+
# MAINTENANCE_MODE_ENABLING_FAILED - 108,
82+
# CONFIG_IMPORT_COMMAND_FAILED- 117
83+
# SPLIT_DB_COMMAND_FAILED - 123
84+
# CACHE_FLUSH_COMMAND_FAILED - 127, 227
85+
86+
CLOUD_LOG_VERBOSE_ACTION: "Check the `cloud.log` for more information. Add `VERBOSE_COMMANDS: '-vvv'` into `.magento.env.yaml` for more detailed command output."
87+
88+
CACHE_ENABLE_FAILED: "Command `php ./bin/magento cache:enable` runs only when Magento was installed but `./app/etc/env.php` file was absent or empty at the beginning of the deployment. Check the `cloud.log` for more information. Add `VERBOSE_COMMANDS: '-vvv'` into `.magento.env.yaml` for more detailed command output."

src/_data/main-nav.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@
5151
url: /cloud/docker/docker-mftf.html
5252
versionless: true
5353

54-
- label: ECE-Tools testing
55-
url: /cloud/docker/docker-development-testing.html
54+
- label: Magento Cloud code testing
55+
url: /cloud/docker/docker-test-magecloud-pkg-code.html
5656
versionless: true
5757

5858
- label: Setup

src/_data/toc/cloud-guide.yml

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,10 @@ pages:
5757
url: /cloud/env/environments-ssh.html
5858
versionless: true
5959

60+
- label: PrivateLink
61+
url: /cloud/project/privatelink-service.html
62+
versionless: true
63+
6064
- label: New Relic
6165
url: /cloud/project/new-relic.html
6266
versionless: true
@@ -137,6 +141,10 @@ pages:
137141
url: /cloud/docker/docker-manage-database.html
138142
versionless: true
139143

144+
- label: Enable split database solution
145+
url: /cloud/docker/docker-split-db.html
146+
versionless: true
147+
140148
- label: Manage cron jobs
141149
url: /cloud/docker/docker-manage-cron-jobs.html
142150
versionless: true
@@ -145,6 +153,10 @@ pages:
145153
url: /cloud/docker/docker-extend.html
146154
versionless: true
147155

156+
- label: Add Blackfire.io service
157+
url: /cloud/docker/docker-config-blackfire-io.html
158+
versionless: true
159+
148160
- label: Launch Docker
149161
children:
150162
- label: Developer mode
@@ -158,11 +170,11 @@ pages:
158170
- label: Functional Testing
159171
children:
160172
- label: Magento application testing
161-
url: /cloud/docker/docker-mftf.html
173+
url: /cloud/docker/docker-test-app-mftf.html
162174
versionless: true
163175

164-
- label: ECE-Tools testing
165-
url: /cloud/docker/docker-development-testing.html
176+
- label: Magento Cloud code testing
177+
url: /cloud/docker/docker-test-magecloud-pkg-code.html
166178
versionless: true
167179

168180
- label: Docker quick reference
@@ -491,6 +503,10 @@ pages:
491503
url: /cloud/live/stage-prod-test.html
492504
versionless: true
493505

506+
- label: Error log message reference
507+
url: /cloud/reference/error-codes.html
508+
versionless: true
509+
494510
- label: Site launch
495511
url: /cloud/live/live.html
496512
versionless: true
@@ -507,6 +523,7 @@ pages:
507523
url: /cloud/trouble/trouble.html
508524
versionless: true
509525
children:
526+
510527
- label: Troubleshoot deployment
511528
url: /cloud/trouble/troubleshoot-deployment.html
512529
versionless: true

src/_data/toc/rest-api.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@ pages:
1212
children:
1313

1414
- label: Admin REST endpoints
15-
url: /redoc/2.3/admin-rest-api.html
15+
url: https://magento.redoc.ly/
1616
versionless: true
1717

1818
- label: Customer REST endpoints
19-
url: /redoc/2.3/customer-rest-api.html
19+
url: https://magento.redoc.ly/
2020
versionless: true
2121

2222
- label: Guest REST endpoints
23-
url: /redoc/2.3/guest-rest-api.html
23+
url: https://magento.redoc.ly/
2424
versionless: true
2525

2626
- label: Asynchronous Admin REST endpoints

src/_data/var.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,21 @@ mbi: Magento Business Intelligence
2121
# Cloud product name variables
2222

2323
ece: Magento Commerce Cloud
24+
ece-release-date: June 25, 2020
2425
csuite: Magento Commerce Cloud Suite
2526
ct: ece-tools
27+
ct-repo: magento/ece-tools
28+
ct-release: 2002.1.1
2629
mcp-prod: Magento Cloud Patches
27-
mcp: magento-cloud-patches
28-
mcd: magento-cloud-docker
30+
mcp-package: magento/magento-cloud-patches
31+
mcp-release: 1.0.5
32+
mcd-package: magento/magento-cloud-docker
2933
mcd-prod: Magento Cloud Docker
34+
mcd-release: 1.1.0
3035
mcc-prod: Magento Cloud Components
31-
mcc: magento-cloud-components
36+
mcc-package: magento/magento-cloud-components
37+
mcc-release: 1.0.5
38+
3239

3340
# TIP: Use the following syntax to use a variable in the documentation source: {{site.data.var.xx}} where xx
3441
# is the variable value.

src/_data/whats-new.yml

Lines changed: 104 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,105 @@ description:
44
We exclude from this list proofreading, spelling checks, and all minor updates.
55
link: /whats-new.html
66
thread: /whatsnew-feed.xml
7-
updated: Mon Jun 15 09:55:11 2020
7+
updated: Wed Jun 25 15:26:35 2020
88
entries:
9+
- description: Added [Magento Cloud Patches v 1.0.5 Release Notes](https://devdocs.magento.com/cloud/release-notes/mcc-release-notes.html).
10+
versions: 2.x
11+
type: Major Update
12+
date: June 25, 2020
13+
link: https://github.com/magento/devdocs/pull/7411
14+
- description: Added [Magento Cloud Components v 1.0.4 Release Notes]( https://devdocs.magento.com/cloud/release-notes/mcc-release-notes.html).
15+
versions: 2.x
16+
type: Major Update
17+
date: June 25, 2020
18+
link: https://github.com/magento/devdocs/pull/7412
19+
- description: Added an [Error message reference for ece-tools]( https://devdocs.magento.com/cloud/reference/error-codes.html)
20+
with error listing and suggested actions to resolve build and deploy issues.
21+
versions: 2.x
22+
type: Major update
23+
date: June 25, 2020
24+
link: https://github.com/magento/devdocs/pull/7327
25+
- description: Added the `wizard:split-db-state` command to the [Smart wizards]( https://devdocs.magento.com/cloud/deploy/smart-wizards.html)
26+
topic in the _Cloud Guide_.
27+
versions: 2.x
28+
type: Technical
29+
date: June 25, 2020
30+
link: https://github.com/magento/devdocs/pull/7322
31+
- description: Updated the [Deploy variables](https://devdocs.magento.com/cloud/env/variables-deploy.html) topic in the _Cloud Guide_
32+
to add the `REDIS_BACKEND` environment variable to configure the Redis backend model for Redis cache for Magento 2.3.5 and later.
33+
versions: 2.x
34+
type: Technical
35+
date: June 25, 2020
36+
link: https://github.com/magento/devdocs/pull/7194
37+
- description: Updated the [Import URL Rewrites](https://devdocs.magento.com/cloud/configure/import-url-rewrites.html)
38+
topic with guidance about checking the PHP file upload limit to prevent errors
39+
when uploading a large file for importing URL rewrites.
40+
versions: 2.x
41+
type: Technical
42+
date: June 25, 2020
43+
link: https://github.com/magento/devdocs/pull/7196
44+
- description: Added instructions to complete functional testing for Magento Cloud packages in the Docker environment.
45+
See [Magento Cloud code testing](https://cloud/docker/docker-test-magecloud-pkg-code.html).
46+
versions: 2.x
47+
type: Technical
48+
date: June 25, 2020
49+
link: https://github.com/magento/devdocs/pull/7019
50+
- description: Added instructions for using the Magento Baler extension
51+
to bundle javascript content during the Magento Cloud build process. See [Static
52+
content deployment](https://devdocs.magento.com/cloud/deploy/static-content-deployment.html).
53+
versions: 2.x
54+
type: Technical
55+
date: June 25, 2020
56+
link: https://github.com/magento/devdocs/pull/6944
57+
- description: Added information about the [Cloud error log](https://devdocs.magento.com/cloud/project/log-locations.html)
58+
(`var/log/Cloud.error.log`) which contains all error and warning messages from the latest deployment of the Cloud environment.
59+
versions: 2.x
60+
type: Technical
61+
date: June 25, 2020
62+
link: https://github.com/magento/devdocs/pull/7372
63+
- description: Updated the [Xdebug configuration instructions]( https://devdocs.magento.com/cloud/docker/docker-development-debug.html)
64+
for Magento Cloud Docker, which now requires using the `--with-xdedug` option
65+
to build a container to handle Xdebug requests instead of adding the Xdebug configuration
66+
to the `.magento.app.yaml` file.
67+
versions: 2.x
68+
type: New topic
69+
date: June 25, 2020
70+
link: https://github.com/magento/devdocs/pull/7321
71+
- description: Added basic instructions for configuring and using Blackfire.io for
72+
performance testing in a Magento Cloud Docker environment. See [Add Blackfire.io
73+
to Magento Cloud Docker](https://devdocs.magento.com/cloud/docker/docker-config-blackfire-io.html).
74+
versions: 2.x
75+
type: New Topic
76+
date: June 25, 2020
77+
link: https://github.com/magento/devdocs/pull/7335
78+
- description: Added an example using the `--no-varnish` option to skip Varnish container
79+
installation when building a Magento Cloud Docker environment. See the [Varnish
80+
container](https://devdocs.magento.com/cloud/docker/docker-containers-service.html#varnish-container)
81+
topic in the _Cloud Guide_.
82+
versions: 2.x
83+
type: Technical
84+
date: June 25, 2020
85+
link: https://github.com/magento/devdocs/pull/7294
86+
- description: Documented the new `es-en-var` option to customize the Elasticsearch
87+
container configuration when building the Docker Compose file for a Magento Cloud
88+
Docker environment. See [Elasticsearch container](https://devdocs.magento.com/cloud/docker/docker-containers-service.html#elasticsearch-container).
89+
versions: 2.x
90+
type: Technical
91+
date: June 25, 2020
92+
link: https://github.com/magento/devdocs/pull/7282
93+
- description: Added instructions for running Docker on a custom host and port. See
94+
[Docker configuration](https://devdocs.magento.com/cloud/docker/docker-config.html) topic in the _Cloud Guide_.
95+
versions: 2.x
96+
type: Technical
97+
date: June 25, 2020
98+
link: https://github.com/magento/devdocs/pull/6977
99+
- description: Added information about the default Varnish container configuration
100+
to the [Docker services containers](https://devdocs.magento.com/cloud/docker/docker-containers-service.html)
101+
topic in the _Cloud Guide_.
102+
versions: 2.x
103+
type: Technical
104+
date: June 25, 2020
105+
link: https://github.com/magento/devdocs/pull/6618
9106
- description: Added two new REST endpoints that add support for the Inventory Management
10107
[In-store Pickup](https://devdocs.magento.com/guides/v2.4/rest/modules/inventory/in-store-pickup.html)
11108
feature.
@@ -170,9 +267,9 @@ entries:
170267
date: May 19, 2020
171268
link: https://github.com/magento/devdocs/pull/7211
172269
- description: Updated the [Extend Docker](https://devdocs.magento.com/cloud/docker/docker-extend.html) topic
173-
to include instructions for adding a new version of an existing service (elasticsearch,
270+
to include instructions for adding a new version of an existing service (elasticsearch,
174271
php, nginx, tls, varnish) to Magento Cloud Docker.
175-
versions: ''
272+
versions: Major update
176273
type: Technical
177274
date: May 18, 2020
178275
link: https://github.com/magento/devdocs/pull/7190
@@ -202,14 +299,14 @@ entries:
202299
link: https://github.com/magento/devdocs/pull/7199
203300
- description: Added Release Notes and updated Merchant Documentation for the Amazon
204301
Sales Channel 4.1.0 release.
205-
versions: ''
302+
versions: 2.x
206303
type: Major Update
207304
date: May 11, 2020
208305
link: https://github.com/magento/devdocs/pull/7193
209306
- description: Added [Bypass Fastly](https://devdocs.magento.com/cloud/cdn/fastly-vcl-bypass-to-origin.html)
210307
topic with instructions for creating a custom VCL snippet to bypass Fastly on
211308
requests from a specific IP address, URL, or URL pattern.
212-
versions: ''
309+
versions: Major update
213310
type: New Topic
214311
date: May 7, 2020
215312
link: https://github.com/magento/devdocs/pull/7159
@@ -803,7 +900,7 @@ entries:
803900
date: February 5, 2020
804901
link: https://github.com/magento/devdocs/pull/6394
805902
- description: Added a section about [vendor bundled extensions (VBEs)](https://devdocs.magento.com/extensions/vendor/).
806-
versions: ''
903+
versions: Major update
807904
type: New topic
808905
date: February 5, 2020
809906
link: https://github.com/magento/devdocs/pull/6521
@@ -5770,3 +5867,4 @@ entries:
57705867
versions: 2.x
57715868
type: New
57725869
date: Oct 7 2016
5870+

src/_includes/browsers/supported-browsers-24.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
Storefront and Admin:
22

3+
* Microsoft Edge, latest–1
34
* Firefox latest, latest–1 (any operating system)
45
* Chrome latest, latest–1 (any operating system)
56
* Safari latest, latest–1 (Mac OS only)

src/_includes/cloud/backup-db.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,4 @@ To back up your Staging or Production environment database before deploying:
3131
vendor/bin/ece-tools db-dump
3232
```
3333

34-
- The dump operation creates a `dump-<timestamp>.sql.gz` archive file in your remote project directory. See [Snapshot and backup management]({{ site.baseurl }}/cloud/project/project-webint-snap.html#db-dump).
34+
The dump operation creates a `dump-<timestamp>.sql.gz` archive file in your remote project directory. See [Snapshot and backup management]({{ site.baseurl }}/cloud/project/project-webint-snap.html#db-dump).

0 commit comments

Comments
 (0)