Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.
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
41 changes: 41 additions & 0 deletions guides/v2.1/cloud/env/variables-deploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,47 @@ stage:
_merge: true
```

Also, you can configure a table prefix.

{: .bs-callout .bs-callout-warning}
If you do not use the merge option with the table prefix, you must provide default connection settings or the deploy fails validation.

The following example uses the `ece_` table prefix with default connection settings instead of using the `_merge` option:

```yaml
stage:
deploy:
DATABASE_CONFIGURATION:
connection:
default:
username: user
host: host
dbname: magento
password: password
table_prefix: 'ece_'
```

Sample output:

```terminal
MariaDB [main]> SHOW TABLES;
+-------------------------------------+
| Tables_in_main |
+-------------------------------------+
| ece_admin_passwords |
| ece_admin_system_messages |
| ece_admin_user |
| ece_admin_user_session |
| ece_adminnotification_inbox |
| ece_amazon_customer |
| ece_authorization_rule |
| ece_cache |
| ece_cache_tag |
| ece_captcha_log |
.....
```
{: .no-copy}

### `ENABLE_GOOGLE_ANALYTICS`

- **Default**—`false`
Expand Down
4 changes: 3 additions & 1 deletion guides/v2.1/cloud/release-notes/cloud-tools.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@ The release notes include:

- {:.new}**Environment variable updates**—

- {:.new}<!-- MAGECLOUD-3602-->Added the **FORCE_UPDATE_URLS** deploy variable to update Magento base URLs when deploying to Pro and Starter production and staging environments. See the definition in the [deploy variables]({{ page.baseurl }}/cloud/env/variables-deploy.html#force_update_urls) content.
- {:.new}<!-- MAGECLOUD-3602-->Added the **FORCE_UPDATE_URLS** deploy variable to update Magento base URLs when deploying to Pro and Starter production and staging environments. See the definition in the [deploy variables]({{ page.baseurl }}/cloud/env/variables-deploy.html#force_update_urls) content.

- {:.new}<!-- MAGECLOUD-2901 -->Added support for database table prefixes using the [DATABASE_CONFIGURATION environment variable]({{page.baseurl}}/cloud/env/variables-deploy.html#database_configuration).

## v2002.0.18

Expand Down
47 changes: 45 additions & 2 deletions guides/v2.2/cloud/env/variables-deploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,9 @@ By default, the deployment process overwrites all settings in the `env.php` file

#### To see a list of message queue consumers:

./bin/magento queue:consumers:list

```bash
./bin/magento queue:consumers:list
```
### `CRYPT_KEY`

- **Default**—_Not set_
Expand Down Expand Up @@ -133,6 +134,48 @@ stage:
_merge: true
```

Also, you can configure a table prefix.

{: .bs-callout .bs-callout-warning}
If you do not use the merge option with the table prefix, you must provide default connection settings or the deploy fails validation.

The following example uses the `ece_` table prefix with default connection settings instead of using the `_merge` option:

```yaml
stage:
deploy:
DATABASE_CONFIGURATION:
connection:
default:
username: user
host: host
dbname: magento
password: password
table_prefix: 'ece_'
```

Sample output:

```terminal
MariaDB [main]> SHOW TABLES;
+-------------------------------------+
| Tables_in_main |
+-------------------------------------+
| ece_admin_passwords |
| ece_admin_system_messages |
| ece_admin_user |
| ece_admin_user_session |
| ece_adminnotification_inbox |
| ece_amazon_customer |
| ece_authorization_rule |
| ece_cache |
| ece_cache_tag |
| ece_captcha_log |
.....
```
{: .no-copy}


### `ELASTICSUITE_CONFIGURATION`

- **Default**—_Not set_
Expand Down
4 changes: 3 additions & 1 deletion guides/v2.2/cloud/release-notes/cloud-tools.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@ The release notes include:

- {:.new}**Environment variable updates**—

- {:.new}<!-- MAGECLOUD-3602-->Added the **FORCE_UPDATE_URLS** deploy variable to update Magento base URLs when deploying to Pro and Starter production and staging environments. See the definition in the [deploy variables]({{ page.baseurl }}/cloud/env/variables-deploy.html#force_update_urls) content.
- {:.new}<!-- MAGECLOUD-3602-->Added the **FORCE_UPDATE_URLS** deploy variable to update Magento base URLs when deploying to Pro and Starter production and staging environments. See the definition in the [deploy variables]({{ page.baseurl }}/cloud/env/variables-deploy.html#force_update_urls) content.

- {:.new}<!-- MAGECLOUD-2901 -->Added support for database table prefixes using the [DATABASE_CONFIGURATION environment variable]({{page.baseurl}}/cloud/env/variables-deploy.html#database_configuration).

## v2002.0.18

Expand Down
3 changes: 2 additions & 1 deletion guides/v2.3/cloud/release-notes/cloud-tools.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,9 @@ The release notes include:

- {:.new}**Environment variable updates**—

- {:.new}<!-- MAGECLOUD-3026-->Added the **FORCE_UPDATE_URLS** deploy variable to update Magento base URLs when deploying to Pro and Starter production and staging environments. See the definition in the [deploy variables]({{ page.baseurl }}/cloud/env/variables-deploy.html#force_update_urls) content.
- {:.new}<!-- MAGECLOUD-3602-->Added the **FORCE_UPDATE_URLS** deploy variable to update Magento base URLs when deploying to Pro and Starter production and staging environments. See the definition in the [deploy variables]({{ page.baseurl }}/cloud/env/variables-deploy.html#force_update_urls) content.

- {:.new}<!-- MAGECLOUD-2901 -->Added support for database table prefixes using the [DATABASE_CONFIGURATION environment variable]({{page.baseurl}}/cloud/env/variables-deploy.html#database_configuration).

## v2002.0.18

Expand Down