Thanks to visit codestin.com
Credit goes to github.com

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

Commit a40eb75

Browse files
meker12oshmyheliukBaDoshguthriedrpayyne
authored
Cloud docker 1.0.0 (#6504)
* MAGECLOUD-3874: Remove support if build_options.ini and fail build if it's present (#5198) * MAGECLOUD-3871: Write cloud.log in debug level to file (#5196) * MAGECLOUD-3871: Write cloud.log in debug level to file * Update guides/v2.2/cloud/env/variables-global.md * Update docker-development-testing.md (#5417) After implementation MAGECLOUD-4242 we need to change the domain name. Should be merged after release ece-tools 2002.1.0 and magento-cloud-docker 1.0 * - Consolidate versioned release notes to one topic - Replace v2.3 release notes with symlink - Add section for 2002.0.22 release notes - Remove obsolete version information from the Cloud TOC file * MAGECLOUD-4099: Check how Mutagen (https://mutagen.io) works with Windows (#5860) * MAGECLOUD-4099: Check how Mutagen (https://mutagen.io) works with Windows * MAGECLOUD-4099: Check how Mutagen (https://mutagen.io) works with Windows * MAGECLOUD-4099: Check how Mutagen (https://mutagen.io) works with Windows * - Consolidate versioned release notes to one topic - Replace v2.3 release notes with symlink - Add section for 2002.0.22 release notes - Remove obsolete version information from the Cloud TOC file * Updated release notes - Fixed merge conflicts - Moved release notes to H1 in navigation * Create new docker release branch * add preliminary release notes * Added information on custom docker configurations (#6035) * Added information on custom docker configurations * Added page link * Fix the changes to config topic The config topic changed a lot from the original, so had to fix the merge conflict overwrite. And I edited the new message. * Update docker-quick-reference.md * Fixed syntax error in Cloud TOC * fix XREF * Corrected the Docker compose override file name (#6133) * Added info about new docker:build option, --sync-engine=native (#6112) * Added docs for new `native` option for file synchronization in developer mode * Added release note. * Fixed linting errors * Fixed linting errors * Fixed merge conflict * Update src/guides/v2.2/cloud/release-notes/ece-release-notes.md * - Moved 2002.0.22 and earlier release notes from cloud-tools.md to ece-release-notes.md - Updated links to older ece-tools release notes - Fixed broken links * Fixed syntax issue * Added info about manually disabling and enabling cron jobs (#6173) Added instructions to disable cron jobs manually * Added release note items * Moved new release notes files * Updated branch to versionless * Magento thunder magecloud 4444 (#6202) * MAGECLOUD-4444: [GitHub] Add "products" to WARM_UP_PAGES logic #12 * Updated docker release notes for versionless Cloud Guide * Move new Docker files for 1.0.0 to src/Cloud * Remove v2.3 symlinks to new docker and release note files * Update links in new docker files for versionfree Cloud Guide * Added warning about VCL snippet format - Warned customers that custom VCL snippet example is formatted as a JSON payload for use in Fastly API requests - Indicated that special characters in VCL code snippet must be escaped when submitting snippets from the Magento Admin UI * MAGECLOUD-4738: [DOCS] Document All Backward-incompatible Changes in ECE-Tools 2002.1.0 (#6203) * MAGECLOUD-4738: [DOCS] Document All Backward-incompatible Changes in ECE-Tools 2002.1.0 * Editorial changes * Updates for ece-tools 2002.1.0 backwards incompatible changes (#6215) - Updated the ece-release-notes 2002.1.0 content with link to BIC changes topic - Added BIC topic to TOC - Updated documentation to remove variable references and php version for BIC changes - Fixed info about PHP version requirement change - Added info about updating obsolete `m2-ece` commands in the deploy hooks configuration - Removed redundant information from "environment config changes` table * Updated Docker database container with info about setting CRYPT_KEY o… (#6251) * Updated Docker database container with info about setting CRYPT_KEY on database import * Added release item for crypt_key validation * Fixed markdown issue caused by merge conflict resolution error * Cloud Suite release note updates for Cloud components package (#6283) * Added release note topic for Magento Cloud Components (MCC) and updated the Cloud Guide TOC with new topic - Added release note items for MCC v1.0.0 and 1.0.1 - Updated release note topic titles for consistency * Updated ece-tools 2002.1.0 release notes (#6365) * Add new release note items * Fixed release notes overview section * Updated service versions info for RabbitMQ (#6366) * MAGECLOUD-4738: Document All Backward-incompatible Changes in ECE-Tools 2002.1.0 (#6371) * MAGECLOUD-4736: Document Changes to Magento-Cloud-Patches (#6369) Added information about the Magento Cloud Patches component - How to use as a stand-alone package - How to apply patches from the command line * MAGECLOUD-4738: Document All Backward-incompatible Changes in ECE-Tools 2002.1.0 (#6378) * MAGECLOUD-4738: Document All Backward-incompatible Changes in ECE-Tools 2002.1.0 * Update src/cloud/release-notes/mcp-release-notes.md Co-Authored-By: Margaret Eker <[email protected]> * Update src/cloud/release-notes/mcp-release-notes.md Co-Authored-By: Margaret Eker <[email protected]> * MAGECLOUD-4738: Document All Backward-incompatible Changes in ECE-Tools 2002.1.0 Co-authored-by: Margaret Eker <[email protected]> * Updates and Revisions to the Cloud Docker Documentation (#6363) * Started restructuring, rewrote main page and added a few more pages under the docker section * Refactoring docker containers page. * Added details about containers * Merged origin/Cloud-Docker-1.0.0 changes manually into the changes I had introduced. * Removed extra spaces, and fixed a few typos pointed out by Oleg. * Fixed all linting required in Cloud Docker documentation * Changed verbiage on the docker image labels for bullet points * Fixed Docker topic references in release notes * Fixed markdown syntax * Edited Cloud patches release notes and backward incompatiblity info * Docker release: Elasticsearch health check (#6391) - Added Docker 1.0.0 release note for Elasticsearch container health check * Docker update RabbitMQ v3.8 support (#6392) - Added release note for updated support for Rabbit MQ version 3.8 - Added RabbitMQ version 3.8 to Docker svc versions table * Fixed markdown syntax * MAGECLOUD-4040: Added docs for using MFTF in Cloud Docker environment (#6401) - Added Selenium container information to the Service containers topic - Added Functional testing section to Test deployment topic - Updated and edited new MFTF topic for Docker development - Updated Docker release notes - Update src/cloud/docker/docker-containers-service.md Co-authored-by: Oleg Posyniak <[email protected]> * Fixed linting errors * Clean updated Docker topics for Docker-1.0.0 (#6406) - Added Selenium container information to the Service containers topic - Added Functional testing section to Test deployment topic - Updated and edited new MFTF topic for Docker development - Updated Docker release notes - Removed docker-cli.md topic. Info now included in docker-containers-cli.md - Removed docker-database.md topic. Info now included in the docker-containers-service.md file - Updated Magento application testing topic to add info about mftf command and clean up procedure per review feedback - Removed duplicate info about Sendmail service. Sendmail service info is in the Docker configuration topic - Clean all containers topics--language, formatting, and links - Fixed broken links in release notes - Moved instructions for db-container operations to separate Manage the database topic - Moved instructions for Cron container operation to separate "Manage cron jobs topic * Add info about Magento Cloud Docker mount configuration (#6426) * Added mount management and configuration in Docker environment * Added release item for new feature * TLS and Varnish updates (#6435) * TLS and Varnish updates - Added info about new base images for TLS and Varnish containers (MAGECLOUD-4163) - Added release note for updated timeout configuration for TLS and Varnish (MAGECLOUD-4460) - Added support for Pound TLS Termination proxy (MAGECLOUD-4061) * Fixed linting errors and broken link * Updates to Magento Cloud Docker CLI commands (#6431) * Added mount management and configuration in Docker environment * Update src/cloud/release-notes/mcd-release-notes.md * Updated .bin/docker references to .bin/magento-docker (MAGECLOUD-4038) * Updated launch Docker instructions to run post-deploy hooks as a separate operation using the new `cloud-post-deploy` command * Updated the Docker command quick reference to update modified command names and add the cloud-post-deploy command * Added release notes for cloud-post-deploy command update * Re-organized release notes to group by category * Added Specify Docker Build Sources section to Extending Docker Page (#6408) * Added instructions for building Docker containers from source * Added release items for PHP-FPM container (#6445) * Added release items for PHP-FPM container - Node.js support (MAGECLOUD-3953) - ionCube support (MAGECLOUD-4354) Added release item for new `expose db port to host` option for `ece-docker build:compose` command (MAGECLOUD-4544) * Removing extraneous file * Change PHP-FPM to FPM which is the container name in command line and messages * cloud-docker-1.0.0-file-sync-option-updates (#6448) * Added release items for PHP-FPM container - Node.js support (MAGECLOUD-3953) - ionCube support (MAGECLOUD-4354) * Updates for file synchronization option on ece-docker build:compose command: - Revised Synchronizing data in Docker topic to include information about all `--sync-engine` options on `ece-docker build:compose` command - Updated documentation to change default file synchronization option from `docker-sync` to `native` (MAGECLOUD-5066) - Changed `ece-tools` to use new command syntax `ece-docker` - Added file synchronization updates to release notes * Change PHP-FPM to FPM which is the container name in command line and… (#6457) * Change PHP-FPM to FPM which is the container name in command line and messages * Fixed bullet syntax in release notes * Added additional info to Xdebug release note * Fixed format * Fixed errors created when resolving merge conflict * Fixed linting errors * Restore updated docker configuration Configure Docker envirionment topic * Added release items for web container updates: - Add capability to mount custom nginx.conf to Cloud Docker environments (MAGECLOUD-4204) - Auto-generate NGINX certificates (MAGECLOUD-4258) * MAGECLOUD-4996: Document backwards incompatible changes related to Cloud Docker with ECE-Tools 2002.1.0 (#6420) * Document incompatible changes to Cloud Docker MAGECLOUD-4996: Document backwards incompatible changes related to Cloud Docker with ECE-Tools 2002.1.0 * Changed formatting for Docker changes * Fix typo in docker release notes * Updated backward compatible changes topic * Revised Docker and other BIC entries for task-focus * Restructured the BIC topic to include H2 sections for ece-tools, patches, and Docker * Mae cloud docker 1.0.0 fixes (#6496) * Fixes for Docker 1.0.0 topics - updated renamed commands - fixed broken links - updated Docker Quick ref with link to service version page with config options * Fixed editorial, syntax, and format for release prep * Added instructions for running composer using docker (#6481) * Added instructions for running composer using Docker * Edit description for running compose with Docker * Removed extra space * Updates for final Docker-1.0.0-docs - Updated occurrences of old ece-tools docker:build command - Update Docker configuration generator section in ece-tools reference topic * MAGECLOUD-4672: Connection to DB doesn't work (#6505) * Update src/cloud/release-notes/backward-incompatible-changes.md Co-Authored-By: Michael Casey <[email protected]> * Added product name variables for Cloud Suite components. Sometimes we refer to the package name, and other times to the product name. Also, the names are likely to change, and the variables will simplify the change process. * Additional updates and corrections based on review feedback: - Replaced Magento Cloud Docker references with new variable - Applied review updates and corrections to release notes and mftf topics - Miscellaneous edits and corrections * Update src/cloud/docker/docker-containers-service.md Co-Authored-By: hguthrie <[email protected]> * Update src/cloud/docker/docker-containers-service.md Co-Authored-By: hguthrie <[email protected]> * Updates based on review feedback (#6527) * Updates based on review feedback * Update src/cloud/docker/docker-containers-service.md Co-Authored-By: hguthrie <[email protected]> Co-authored-by: Oleksandr Shmyheliuk <[email protected]> Co-authored-by: Bohdan Korablov <[email protected]> Co-authored-by: hguthrie <[email protected]> Co-authored-by: Adarsh Manickam <[email protected]> Co-authored-by: Oleg Posyniak <[email protected]> Co-authored-by: Nadiya Syvokonenko <[email protected]> Co-authored-by: Billy Gilbert <[email protected]> Co-authored-by: Mathew Beane <[email protected]> Co-authored-by: Michael Casey <[email protected]> Co-authored-by: Yevhen Miroshnychenko <[email protected]>
1 parent dfc79f3 commit a40eb75

Some content is hidden

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

44 files changed

+2415
-1165
lines changed

src/_data/main-nav.yml

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@
1111
url: /cloud/architecture/cloud-architecture.html
1212
versionless: true
1313

14+
- label: Project Structure
15+
url: /cloud/project/project-start.html
16+
versionless: true
17+
1418
- label: Upgrades and Patches
1519
url: /cloud/project/project-upgrade-parent.html
1620
versionless: true
@@ -22,7 +26,7 @@
2226
- label: Cloud development
2327
children:
2428
- label: Local development
25-
url: /cloud/setup/first-time-setup.html
29+
url: /cloud/docker/docker-development.html
2630
versionless: true
2731

2832
- label: Launch Docker
@@ -33,10 +37,24 @@
3337
url: /cloud/docker/docker-quick-reference.html
3438
versionless: true
3539

40+
- label: Configure Application
41+
url: /cloud/project/project-conf-files_magento-app.html
42+
versionless: true
43+
3644
- label: Configure Environments
3745
url: /cloud/env/environments.html
3846
versionless: true
3947

48+
- label: Functional Testing
49+
children:
50+
- label: Magento application testing
51+
url: /cloud/docker/docker-mftf.html
52+
versionless: true
53+
54+
- label: ECE-Tools testing
55+
url: /cloud/docker/docker-development-testing.html
56+
versionless: true
57+
4058
- label: Setup
4159
children:
4260

src/_data/toc/cloud-guide.yml

Lines changed: 70 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -113,26 +113,64 @@ pages:
113113
url: /cloud/docker/docker-development.html
114114
versionless: true
115115
children:
116-
- label: Launch Docker
116+
- label: Docker container architecture
117+
url: /cloud/docker/docker-containers.html
118+
versionless: true
119+
children:
120+
- label: Service containers
121+
url: /cloud/docker/docker-containers-service.html
122+
versionless: true
123+
124+
- label: CLI containers
125+
url: /cloud/docker/docker-containers-cli.html
126+
versionless: true
127+
128+
- label: Synchronizing data
129+
url: /cloud/docker/docker-syncing-data.html
130+
versionless: true
131+
132+
- label: Configure Docker
117133
url: /cloud/docker/docker-config.html
118134
versionless: true
135+
children:
136+
- label: Xdebug for Docker
137+
url: /cloud/docker/docker-development-debug.html
138+
versionless: true
119139

120-
- label: Configure Xdebug for Docker
121-
url: /cloud/docker/docker-development-debug.html
122-
versionless: true
140+
- label: Manage the database
141+
url: /cloud/docker/docker-manage-database.html
142+
versionless: true
123143

124-
- label: Connect to the database
125-
url: /cloud/docker/docker-database.html
126-
versionless: true
144+
- label: Manage cron jobs
145+
url: /cloud/docker/docker-manage-cron-jobs.html
146+
versionless: true
127147

128-
- label: Functional testing in Docker
129-
url: /cloud/docker/docker-development-testing.html
130-
versionless: true
148+
- label: Developer mode
149+
url: /cloud/docker/docker-mode-developer.html
150+
versionless: true
151+
152+
- label: Production mode
153+
url: /cloud/docker/docker-mode-production.html
154+
versionless: true
155+
156+
- label: Extend Docker
157+
url: /cloud/docker/docker-extend.html
158+
versionless: true
159+
160+
- label: Functional Testing
161+
children:
162+
- label: Magento application testing
163+
url: /cloud/docker/docker-mftf.html
164+
versionless: true
165+
166+
- label: ECE-Tools testing
167+
url: /cloud/docker/docker-development-testing.html
168+
versionless: true
131169

132170
- label: Docker quick reference
133171
url: /cloud/docker/docker-quick-reference.html
134172
versionless: true
135-
173+
136174
- label: Integrations
137175
url: /cloud/integrations/cloud-integrations.html
138176
versionless: true
@@ -520,7 +558,7 @@ pages:
520558
url: /cloud/project/ece-tools-update.html
521559
versionless: true
522560

523-
- label: Apply custom patches
561+
- label: Apply patches
524562
url: /cloud/project/project-patch.html
525563
versionless: true
526564

@@ -531,3 +569,23 @@ pages:
531569
- label: Release notes
532570
url: /cloud/release-notes/cloud-tools.html
533571
versionless: true
572+
children:
573+
- label: ece-tools
574+
url: /cloud/release-notes/ece-release-notes.html
575+
versionless: true
576+
577+
- label: magento-cloud-components
578+
url: /cloud/release-notes/mcc-release-notes.html
579+
versionless: true
580+
581+
- label: magento-cloud-docker
582+
url: /cloud/release-notes/mcd-release-notes.html
583+
versionless: true
584+
585+
- label: magento-cloud-patches
586+
url: /cloud/release-notes/mcp-release-notes.html
587+
versionless: true
588+
589+
- label: Backward incompatible changes
590+
url: /cloud/release-notes/backward-incompatible-changes.html
591+
versionless: true

src/_data/var.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,16 @@ b2b: Magento Commerce for B2B
1919
mbi: Magento Business Intelligence
2020

2121
# Cloud product name variables
22+
2223
ece: Magento Commerce Cloud
24+
csuite: Magento Commerce Cloud Suite
2325
ct: ece-tools
26+
mcp-prod: Magento Cloud Patches
27+
mcp: magento-cloud-patches
28+
mcd: magento-cloud-docker
29+
mcd-prod: Magento Cloud Docker
30+
mcc-prod: Magento Cloud Components
31+
mcc: magento-cloud-components
2432

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

src/_data/whats-new.yml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ entries:
304304
type: Major update
305305
date: November 18, 2019
306306
link: https://github.com/magento/devdocs/pull/5917
307-
- description: Published the release notes for Magento Commerce Cloud v2002.0.22
307+
- description: Published the release notes for Magento Commerce Cloud v2002.0.22.
308308
versions: 2.x
309309
type: Major update
310310
date: November 15, 2019
@@ -1897,21 +1897,21 @@ entries:
18971897
type: New topic
18981898
date: March 26, 2019
18991899
link: https://github.com/magento/devdocs/pull/3973
1900-
- description: The Magento Open Source 2.1.17 Release Notes and Magento Commerce 2.1.17 Release Notes provide detailed information about the Magento Open Source 2.1.17 and Magento Commerce 2.1.17 releases.
1900+
- description: The Magento Open Source 2.1.17 Release Notes and Magento Commerce 2.1.17 Release Notes provide detailed information about the Magento Open Source 2.1.17 and Magento Commerce 2.1.17 releases.
19011901
versions: 2.1.17
19021902
type: Major update
19031903
date: March 26, 2019
19041904
link: https://github.com/magento/devdocs/pull/3981
1905-
- description: The [Magento Open Source 2.2.8 Release Notes](https://devdocs.magento.com/guides/v2.2/release-notes/ReleaseNotes2.2.8CE.html) and
1906-
 [Magento Commerce 2.2.8 Release Notes](https://devdocs.magento.com/guides/v2.2/release-notes/ReleaseNotes2.2.8EE.html)
1905+
- description: The [Magento Open Source 2.2.8 Release Notes](https://devdocs.magento.com/guides/v2.2/release-notes/ReleaseNotes2.2.8CE.html) and
1906+
[Magento Commerce 2.2.8 Release Notes](https://devdocs.magento.com/guides/v2.2/release-notes/ReleaseNotes2.2.8EE.html)
19071907
provide detailed information about the Magento Open Source 2.2.8 and Magento Commerce
19081908
2.2.8 releases.
19091909
versions: 2.3.1
19101910
type: Major update
19111911
date: March 26, 2019
19121912
link: https://github.com/magento/devdocs/pull/3963
1913-
- description: The Magento Open Source 2.3.1 Release Notes and
1914-
 Magento Commerce 2.3.1 Release Notes
1913+
- description: The Magento Open Source 2.3.1 Release Notes and
1914+
Magento Commerce 2.3.1 Release Notes
19151915
provide detailed information about the Magento Open Source 2.3.1 and Magento Commerce
19161916
2.3.1 releases.
19171917
versions: 2.2.8
@@ -2939,8 +2939,7 @@ entries:
29392939
type: Major update
29402940
date: Aug 02 2018
29412941
- description: Added Magento Cloud v2.1
2942-
and v2.2
2943-
release notes for `ece-tools` package v2002.0.13
2942+
and v2.2 release notes for `ece-tools` package v2002.0.13
29442943
versions: 2.1.x, 2.2.x, 2.3.x
29452944
type: Major update
29462945
date: Aug 04 2018
@@ -4942,4 +4941,4 @@ entries:
49424941
- description: 'How to programmatically create a category with custom attributes'
49434942
versions: 2.x
49444943
type: New
4945-
date: Oct 7 2016
4944+
date: Oct 7 2016

src/cloud/cdn/cloud-vcl-custom-snippets.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,6 @@ The VCL logic in the `content` field performs the following actions:
6969

7070
The following table provides details about key data for custom VCL snippets. For a more detailed reference, see the [VCL snippets](https://docs.fastly.com/api/config#api-section-snippet) reference in the Fastly documentation.
7171

72-
- Blocks any request with an IP address included in the *ACLNAME* edge ACL, returning a `403 Forbidden` error
73-
74-
The following table provides details about key data for custom VCL snippets. For a more detailed reference, see the [VCL snippets](https://docs.fastly.com/api/config#api-section-snippet) reference in the Fastly documentation.
75-
7672
| Value | Description
7773
|------------|------------------------------------------------------------------------------------------------------------------------------
7874
| `service_id` | The Fastly Service ID for a specific Staging or Production environment. This ID is assigned when your project is added to the {{ site.data.var.ece }} Fastly service account. See [Get credentials]({{ site.baseurl }}/cloud/cdn/configure-fastly.html).
@@ -310,4 +306,4 @@ Use these commands to manage snippets that you added using the Fastly API. If yo
310306
<!-- Link definitions -->
311307

312308
[Manage custom VCL snippets]: {{site.baseurl}}/common/images/cloud/cloud-fastly-edit-snippets.png
313-
{:width="650px"}
309+
{:width="650px"}

src/cloud/configure/setup-cron-jobs.md

Lines changed: 27 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ functional_areas:
77
- Configuration
88
---
99

10-
Magento uses cron jobs for numerous features to schedule activities. This topic provides information for configuring crons for {{site.data.var.ece}} projects using the [`.magento.app.yaml`]({{ site.baseurl }}/cloud/project/project-conf-files_magento-app.html) file.
10+
Magento uses cron jobs for numerous features to schedule activities. This topic provides information for configuring crons for `{{site.data.var.ece}}` projects using the [`.magento.app.yaml`]({{ site.baseurl }}/cloud/project/project-conf-files_magento-app.html) file.
1111

1212
The `.magento.app.yaml` file specifies the configuration for the default Magento cron jobs as well as any custom crons that you add to the following environments.
1313

@@ -48,7 +48,7 @@ To review cron configuration on Pro plan environments:
4848

4949
1. List the scheduled cron processes.
5050

51-
```bash
51+
```shell
5252
crontab -l
5353
```
5454

@@ -154,17 +154,38 @@ To add custom crons:
154154

155155
1. Add, commit, and push code changes.
156156

157-
```bash
158-
git add -A && git commit -m "cron config updates" && git push origin <branch-name>
159-
```
157+
```bash
158+
git add -A && git commit -m "cron config updates" && git push origin <branch-name>
159+
```
160160

161161
## Update custom cron jobs {#update}
162162

163163
To add, remove, or update a custom cron job, change the configuration in the `crons` section of the `.magento.app.yaml` file for the Integration environment. Then, test the updates in the Integration environment before pushing the changes to the Production and Staging environments.
164164

165+
## Disable cron jobs
166+
167+
In some cases you might want to manually disable cron jobs before you complete maintenance tasks like reindexing or cleaning the cache to prevent performance issues. You can use the `{{site.data.var.ct}}` CLI command `cron:disable` to disable all Magento cron jobs and stop any active cron processes.
168+
169+
{:.procedure}
170+
To disable cron jobs:
171+
172+
1. Use [SSH to log in to your environment]({{ page.baseurl }}/cloud/env/environments-ssh.html#ssh).
173+
174+
1. Disable cron jobs and stop active cron processes.
175+
176+
```shell
177+
./vendor/bin/ece-tools cron:disable
178+
```
179+
180+
1. After you complete any required maintenance tasks, ensure that you enable the cron jobs again.
181+
182+
```shell
183+
./vendor/bin/ece-tools cron:enable
184+
```
185+
165186
## Troubleshooting cron jobs
166187

167-
Magento has updated the {{site.data.var.ece}} package to optimize cron processing on the {{site.data.var.ece}} platform and to fix cron-related issues. If you are having problems with cron processing, make sure that your project is using the most current version of the ece-tools package. See [Upgrades and patches]({{ site.baseurl }}/cloud/project/project-upgrade-parent.html).
188+
Magento has updated the {{site.data.var.ece}} package to optimize cron processing on the {{site.data.var.ece}} platform and to fix cron-related issues. If you encounter problems with cron processing, make sure that your project is using the most current version of the `{{site.data.var.ct}}` package. See [Upgrades and patches]({{ site.baseurl }}/cloud/project/project-upgrade-parent.html).
168189

169190
You can review cron processing information in the application-level log files for each environment. See [Application logs]({{ site.baseurl }}/cloud/project/log-locations.html#application-logs).
170191

src/cloud/deploy/reduce-downtime.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Use the following steps to reduce the amount of time it takes your store to depl
1717
Your {{site.data.var.ece}} project must have the latest `{{site.data.var.ct}}` package so that you have the tools available to configure an optimal deployment. If you have the latest `{{site.data.var.ct}}`, continue to the next step.
1818

1919
{:.bs-callout-info}
20-
Even though it is a best practice to use the latest `{{site.data.var.ct}}` package, the zero-downtime deployment method works with `{{site.data.var.ct}}` [version 2002.0.13]({{ site.baseurl }}/cloud/release-notes/cloud-tools.html#v2002013) and later.
20+
Even though it is a best practice to use the latest `{{site.data.var.ct}}` package, the zero-downtime deployment method works with `{{site.data.var.ct}}` [version 2002.0.13]({{ site.baseurl }}/cloud/release-notes/ece-release-notes.html#v2002013) and later.
2121

2222
1. [Configure static content deployment]({{ site.baseurl }}/cloud/deploy/static-content-deployment.html)
2323
If static content deployment fails in the deploy phase, your site gets stuck in maintenance mode. When a failure occurs during the build phase, the process avoids downtime because it never begins the deploy phase. [Generating static content during the build phase with minified HTML]({{ site.baseurl }}/cloud/deploy/static-content-deployment.html#setting-the-scd-on-build), also known as the ideal state, is the optimal configuration for zero-downtime deployments and _prevents_ downtime if a failure occurs.

src/cloud/deploy/static-content-deployment.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@ Deployment strategies differ based on whether you choose to generate static cont
2727

2828
Generating static content during the build phase with minified HTML is the optimal configuration for [**zero-downtime** deployments]({{ site.baseurl }}/cloud/deploy/reduce-downtime.html), also known as the **ideal state**. Instead of copying files to a mounted drive, it creates a symlink from the `./init/pub/static` directory.
2929

30-
By default, the [STATIC_CONTENT_SYMLINK environment variable]({{ site.baseurl }}/cloud/env/variables-deploy.html#static_content_symlink) is set to `true`. After generating the static content during the build phase, it creates a symlink to the content folder.
31-
3230
Generating static content requires access to themes and locales. Magento stores themes in the file system, which is accessible during the build phase; however, Magento stores locales in the database. The database is _not_ available during the build phase. In order to generate the static content during the build phase, you must use the `config:dump` command in the {{site.data.var.ct}} package to move locales to the file system. It reads the locales and saves them in the `app/etc/config.php` file.
3331

3432
{:.procedure}

0 commit comments

Comments
 (0)