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.

Revert "Cloud docker 1.0.0" #6551

Merged
merged 1 commit into from
Feb 5, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 1 addition & 19 deletions src/_data/main-nav.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,6 @@
url: /cloud/architecture/cloud-architecture.html
versionless: true

- label: Project Structure
url: /cloud/project/project-start.html
versionless: true

- label: Upgrades and Patches
url: /cloud/project/project-upgrade-parent.html
versionless: true
Expand All @@ -26,7 +22,7 @@
- label: Cloud development
children:
- label: Local development
url: /cloud/docker/docker-development.html
url: /cloud/setup/first-time-setup.html
versionless: true

- label: Launch Docker
Expand All @@ -37,24 +33,10 @@
url: /cloud/docker/docker-quick-reference.html
versionless: true

- label: Configure Application
url: /cloud/project/project-conf-files_magento-app.html
versionless: true

- label: Configure Environments
url: /cloud/env/environments.html
versionless: true

- label: Functional Testing
children:
- label: Magento application testing
url: /cloud/docker/docker-mftf.html
versionless: true

- label: ECE-Tools testing
url: /cloud/docker/docker-development-testing.html
versionless: true

- label: Setup
children:

Expand Down
82 changes: 12 additions & 70 deletions src/_data/toc/cloud-guide.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,64 +113,26 @@ pages:
url: /cloud/docker/docker-development.html
versionless: true
children:
- label: Docker container architecture
url: /cloud/docker/docker-containers.html
versionless: true
children:
- label: Service containers
url: /cloud/docker/docker-containers-service.html
versionless: true

- label: CLI containers
url: /cloud/docker/docker-containers-cli.html
versionless: true

- label: Synchronizing data
url: /cloud/docker/docker-syncing-data.html
versionless: true

- label: Configure Docker
- label: Launch Docker
url: /cloud/docker/docker-config.html
versionless: true
children:
- label: Xdebug for Docker
url: /cloud/docker/docker-development-debug.html
versionless: true

- label: Manage the database
url: /cloud/docker/docker-manage-database.html
versionless: true

- label: Manage cron jobs
url: /cloud/docker/docker-manage-cron-jobs.html
versionless: true

- label: Developer mode
url: /cloud/docker/docker-mode-developer.html
versionless: true

- label: Production mode
url: /cloud/docker/docker-mode-production.html
versionless: true

- label: Extend Docker
url: /cloud/docker/docker-extend.html
versionless: true
- label: Configure Xdebug for Docker
url: /cloud/docker/docker-development-debug.html
versionless: true

- label: Functional Testing
children:
- label: Magento application testing
url: /cloud/docker/docker-mftf.html
versionless: true
- label: Connect to the database
url: /cloud/docker/docker-database.html
versionless: true

- label: ECE-Tools testing
url: /cloud/docker/docker-development-testing.html
versionless: true
- label: Functional testing in Docker
url: /cloud/docker/docker-development-testing.html
versionless: true

- label: Docker quick reference
url: /cloud/docker/docker-quick-reference.html
versionless: true

- label: Integrations
url: /cloud/integrations/cloud-integrations.html
versionless: true
Expand Down Expand Up @@ -558,7 +520,7 @@ pages:
url: /cloud/project/ece-tools-update.html
versionless: true

- label: Apply patches
- label: Apply custom patches
url: /cloud/project/project-patch.html
versionless: true

Expand All @@ -569,23 +531,3 @@ pages:
- label: Release notes
url: /cloud/release-notes/cloud-tools.html
versionless: true
children:
- label: ece-tools
url: /cloud/release-notes/ece-release-notes.html
versionless: true

- label: magento-cloud-components
url: /cloud/release-notes/mcc-release-notes.html
versionless: true

- label: magento-cloud-docker
url: /cloud/release-notes/mcd-release-notes.html
versionless: true

- label: magento-cloud-patches
url: /cloud/release-notes/mcp-release-notes.html
versionless: true

- label: Backward incompatible changes
url: /cloud/release-notes/backward-incompatible-changes.html
versionless: true
8 changes: 0 additions & 8 deletions src/_data/var.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,8 @@ b2b: Magento Commerce for B2B
mbi: Magento Business Intelligence

# Cloud product name variables

ece: Magento Commerce Cloud
csuite: Magento Commerce Cloud Suite
ct: ece-tools
mcp-prod: Magento Cloud Patches
mcp: magento-cloud-patches
mcd: magento-cloud-docker
mcd-prod: Magento Cloud Docker
mcc-prod: Magento Cloud Components
mcc: magento-cloud-components

# TIP: Use the following syntax to use a variable in the documentation source: {{site.data.var.xx}} where xx
# is the variable value.
Expand Down
17 changes: 9 additions & 8 deletions src/_data/whats-new.yml
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ entries:
type: Major update
date: November 18, 2019
link: https://github.com/magento/devdocs/pull/5917
- description: Published the release notes for Magento Commerce Cloud v2002.0.22.
- description: Published the release notes for Magento Commerce Cloud v2002.0.22
versions: 2.x
type: Major update
date: November 15, 2019
Expand Down Expand Up @@ -1897,21 +1897,21 @@ entries:
type: New topic
date: March 26, 2019
link: https://github.com/magento/devdocs/pull/3973
- 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.
- 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.
versions: 2.1.17
type: Major update
date: March 26, 2019
link: https://github.com/magento/devdocs/pull/3981
- description: The [Magento Open Source 2.2.8 Release Notes](https://devdocs.magento.com/guides/v2.2/release-notes/ReleaseNotes2.2.8CE.html) and
[Magento Commerce 2.2.8 Release Notes](https://devdocs.magento.com/guides/v2.2/release-notes/ReleaseNotes2.2.8EE.html)
- description: The [Magento Open Source 2.2.8 Release Notes](https://devdocs.magento.com/guides/v2.2/release-notes/ReleaseNotes2.2.8CE.html) and
 [Magento Commerce 2.2.8 Release Notes](https://devdocs.magento.com/guides/v2.2/release-notes/ReleaseNotes2.2.8EE.html)
provide detailed information about the Magento Open Source 2.2.8 and Magento Commerce
2.2.8 releases.
versions: 2.3.1
type: Major update
date: March 26, 2019
link: https://github.com/magento/devdocs/pull/3963
- description: The Magento Open Source 2.3.1 Release Notes and
Magento Commerce 2.3.1 Release Notes
- description: The Magento Open Source 2.3.1 Release Notes and
 Magento Commerce 2.3.1 Release Notes
provide detailed information about the Magento Open Source 2.3.1 and Magento Commerce
2.3.1 releases.
versions: 2.2.8
Expand Down Expand Up @@ -2939,7 +2939,8 @@ entries:
type: Major update
date: Aug 02 2018
- description: Added Magento Cloud v2.1
and v2.2 release notes for `ece-tools` package v2002.0.13
and v2.2
release notes for `ece-tools` package v2002.0.13
versions: 2.1.x, 2.2.x, 2.3.x
type: Major update
date: Aug 04 2018
Expand Down Expand Up @@ -4941,4 +4942,4 @@ entries:
- description: 'How to programmatically create a category with custom attributes'
versions: 2.x
type: New
date: Oct 7 2016
date: Oct 7 2016
6 changes: 5 additions & 1 deletion src/cloud/cdn/cloud-vcl-custom-snippets.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,10 @@ The VCL logic in the `content` field performs the following actions:

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.

- Blocks any request with an IP address included in the *ACLNAME* edge ACL, returning a `403 Forbidden` error

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.

| Value | Description
|------------|------------------------------------------------------------------------------------------------------------------------------
| `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).
Expand Down Expand Up @@ -306,4 +310,4 @@ Use these commands to manage snippets that you added using the Fastly API. If yo
<!-- Link definitions -->

[Manage custom VCL snippets]: {{site.baseurl}}/common/images/cloud/cloud-fastly-edit-snippets.png
{:width="650px"}
{:width="650px"}
33 changes: 6 additions & 27 deletions src/cloud/configure/setup-cron-jobs.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ functional_areas:
- Configuration
---

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.
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.

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.

Expand Down Expand Up @@ -48,7 +48,7 @@ To review cron configuration on Pro plan environments:

1. List the scheduled cron processes.

```shell
```bash
crontab -l
```

Expand Down Expand Up @@ -154,38 +154,17 @@ To add custom crons:

1. Add, commit, and push code changes.

```bash
git add -A && git commit -m "cron config updates" && git push origin <branch-name>
```
```bash
git add -A && git commit -m "cron config updates" && git push origin <branch-name>
```

## Update custom cron jobs {#update}

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.

## Disable cron jobs

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.

{:.procedure}
To disable cron jobs:

1. Use [SSH to log in to your environment]({{ page.baseurl }}/cloud/env/environments-ssh.html#ssh).

1. Disable cron jobs and stop active cron processes.

```shell
./vendor/bin/ece-tools cron:disable
```

1. After you complete any required maintenance tasks, ensure that you enable the cron jobs again.

```shell
./vendor/bin/ece-tools cron:enable
```

## Troubleshooting cron jobs

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).
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).

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).

Expand Down
2 changes: 1 addition & 1 deletion src/cloud/deploy/reduce-downtime.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Use the following steps to reduce the amount of time it takes your store to depl
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.

{:.bs-callout-info}
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.
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.

1. [Configure static content deployment]({{ site.baseurl }}/cloud/deploy/static-content-deployment.html)
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.
Expand Down
2 changes: 2 additions & 0 deletions src/cloud/deploy/static-content-deployment.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ Deployment strategies differ based on whether you choose to generate static cont

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.

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.

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.

{:.procedure}
Expand Down
Loading