You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Runs all processes that have to be run before deploy starting. see [Process\Deploy\PreDeploy](https://github.com/magento/ece-tools/tree/develop/src/Process/Deploy/PreDeploy) folders
215
+
- Process\PreDeploy\ConfigUpdate\Cache
216
+
- `CACHE_CONFIGURATION`from `.magento.env.yaml`
217
+
- Process\Deploy\PreDeploy\CleanStaticContent
218
+
- check `.static_content_deploy` flag file exists
219
+
- `CLEAN_STATIC_FILES`is true
220
+
- clean `pub/static/` folder
221
+
- Process\Deploy\PreDeploy\CleanViewPreprocessed
222
+
- clean `var/view_preprocessed` directory when the deployment variable `SKIP_HTML_MINIFICATION` is true
- see [Filesystem\RecoverableDirectoryList::getList](https://github.com/magento/ece-tools/blob/develop/src/Filesystem/RecoverableDirectoryList.php#L83)
229
+
- copy `init/app/etc` to `app/etc`
230
+
- copy `init/pub/media` to `pub/media`
231
+
- copy (symlink) `init/pub/static` to `pub/static`
232
+
- delete `var/.regenerate` flag file
233
+
- Process\Deploy\PreDeploy\SetProductionMode
234
+
- switching magento to production mode (`app/etc/env.php` => `'MAGE_MODE' => 'production',`)
- In magento version 2.2 was implemented locking functionality for cron jobs, new cron jobs can't be started if exist job in status 'running' with same 'job_code'.
266
+
- ```UPDATE `cron_schedule` SET `status` = 'error', `messages` = 'The job is terminated due to system upgrade' WHERE `status` = 'running'```
- clean `pub/static` and `var/view_preprocessed` if `SCD_ON_DEMAND` = true
304
+
- skip this step if `SKIP_SCD` = true or `.static_content_deploy` file flag exists
305
+
- clean `pub/static` and `var/view_preprocessed` if `CLEAN_STATIC_FILES` = true
306
+
- Generating fresh static content
307
+
- see [Process\Deploy\DeployStaticContent\Generate](https://github.com/magento/ece-tools/tree/develop/src/Process/Deploy/DeployStaticContent/Generate.php)
308
+
- see build SCD commands [StaticContent\CommandFactory::matrix](https://github.com/magento/ece-tools/blob/develop/src/StaticContent/CommandFactory.php#L98)
0 commit comments