... | @@ -24,8 +24,53 @@ At developers wish... |
... | @@ -24,8 +24,53 @@ At developers wish... |
|
|
|
|
|
## Process for promoting to PROD
|
|
## Process for promoting to PROD
|
|
|
|
|
|
### Synching TEST/PRE to PROD
|
|
### Merging developments - Promoting TEST/PRE to PROD
|
|
|
|
|
|
|
|
Scenario description:
|
|
|
|
|
|
|
|
main: main branch
|
|
|
|
ci: development(continuous integration) branch
|
|
|
|
|
|
|
|
#### Pull CI branch
|
|
|
|
|
|
|
|
Assuming all changes have been already committed to the CI branch, checkout:
|
|
|
|
|
|
|
|
```
|
|
|
|
git pull
|
|
|
|
git checkout ci
|
|
|
|
```
|
|
|
|
|
|
|
|
#### Ensure composer / module dependencies
|
|
|
|
|
|
|
|
```
|
|
|
|
composer install
|
|
|
|
```
|
|
|
|
|
|
|
|
#### Update drupal database
|
|
|
|
|
|
|
|
Clean cache
|
|
|
|
```
|
|
|
|
dush cr
|
|
|
|
```
|
|
|
|
```
|
|
|
|
drush updb
|
|
|
|
```
|
|
|
|
|
|
|
|
#### Import configuration
|
|
|
|
|
|
|
|
```
|
|
|
|
drush cim
|
|
|
|
```
|
|
|
|
Clean cache
|
|
|
|
```
|
|
|
|
dush cr
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
--------
|
|
|
|
OLD
|
|
|
|
---------
|
|
Drupal official docs on configuration synchronization between sites using drush: <https://www.drupal.org/docs/configuration-management/workflow-using-drush>
|
|
Drupal official docs on configuration synchronization between sites using drush: <https://www.drupal.org/docs/configuration-management/workflow-using-drush>
|
|
|
|
|
|
So, in the case of promoting from our test.network.guifi.net (TEST/PRE) to network.guifi.net (PROD), follow the next steps:
|
|
So, in the case of promoting from our test.network.guifi.net (TEST/PRE) to network.guifi.net (PROD), follow the next steps:
|
... | | ... | |