This repository has been archived by the owner on Nov 19, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MAGECLOUD-2014 smart wizards corrected
- Loading branch information
Showing
5 changed files
with
47 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
--- | ||
layout: default | ||
group: cloud | ||
title: Smart wizards | ||
version: 2.1 | ||
github_link: cloud/env/smart-wizards.md | ||
functional_areas: | ||
- Cloud | ||
- Setup | ||
- Configuration | ||
--- | ||
|
||
The smart wizards can assist you in determining if your Cloud configuration follows best practices by verifying the following: | ||
|
||
- Use the `.magento.env.yaml` file | ||
- Enabled SCD on-demand | ||
- Enabled SCD for the build stage | ||
- Enabled SCD for the deploy stage | ||
<!-- - Enabled the master-slave connections for database and Redis service configuration --> | ||
|
||
Each of the smart wizard commands provides a verification response and, if applicable, a recommendation for the proper configuration. | ||
|
||
Command | Description | ||
`wizard:scd-on-demand` | Check if the `SCD_ON_DEMAND` global environment variable is set to `true`. | ||
`wizard:scd-on-build ` | Check if the `SCD_ON_DEMAND` global environment variable is set to `false` and the `SKIP_SCD` environment variable is set to `false` for the build stage. Verifies the `config.php` file contains information for stores, store groups, and websites. | ||
`wizard:scd-on-deploy` | Check if the `SCD_ON_DEMAND` global environment variable is set to `false` and the `SKIP_SCD` environment variable is set to `true` for the build stage. Verifies the `config.php`file does _NOT_ contain the list of stores, store groups, and websites with related information. | ||
|
||
For example, to verify your configuration properly enables the SCD on-demand feature: | ||
|
||
```bash | ||
wizard:scd-on-demand | ||
``` | ||
|
||
A successful configuration returns: | ||
``` | ||
SCD on demand is enabled | ||
``` | ||
|
||
A failed configuration returns: | ||
|
||
``` | ||
SCD on demand is disabled | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../v2.1/cloud/env/smart-wizards.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../v2.2/cloud/env/smart-wizards.md |