All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Version.
- fix task
files:permissions
to change tomagento_dir
folder before set permissions
- task
cache:enable
to enable modules during deployment
- Fixes wrong permissions after extracting archive
- fix Grumphp Tests
- task
files:remove-generated
to delete generated folder content
database:upgrade
to splitschema:upgrade
anddata:upgrade
files:permissions
task now runs faster and is more concise.
- Fix
config:remove-dev-modules
step was executed local instead of remote
-
Exclude test stub modules during artifact generation. Magento creates automatically these modules during integration tests. If these modules happen to end up in your production server, the checkout gets broken.
- Task
config:remove-dev-modules
that removes modules specified indev_modules
fromapp/etc/config.php
during deployment. Modules installed with composerrequire-dev
that are present inapp/etc/config.php
must be added here to prevent problems withbin/magento setup:db:status
- Task
deploy:override_shared
to replace dirs and create symlinks taking the dir from new release as source- This is needed for caches. They cannot be symlinked during the files generation but they need to replace previous ones and be shared among servers in multi-server setups.
- New params
override_shared_dirs
andoverride_shared_files
- Cache dirs are moved from
shared_dirs
tooverride_shared_dirs
- Default values for
writable_dirs
andclean_paths
have been removed. They are no longer needed as the dir permissions are set withfiles:permissions
tasks and thestatic/_cache
is overwritten withoverride_shared_dirs
- Task
crontab:update
removed because it appends new cronjobs with every release. We'll fix it in a future release
- Update require recipe path on sample files. Now the whole relative path to vendor dir is needed.
var
subdirectories added toshared_dirs
./var/log
/var/backups
/var/cache
/var/page_cache
/var/session
maintenance:unset
during rollback- Use
app:config:status
command on Magento versions>=2.2.5
- Use
deployer/dist
instead ofdeployer/deployer
to avoid conflicts with composer dependencies.
- remove
var
dir fromshared_dirs
becausegenerated
andview_preprocessed
should not be shared among releases. If not, we are changing the current generated code while building the new release.
- Execute
setup:upgrade
andapp:config:import
in no interaction mode
- Remove
writable_dirs
param because permissions are already set onfiles:permissions
task - Remove
ci_branch
param as it is not used
- Sample configuration of
maintenance
andcache
tasks only executed for master server. These tasks should be executed on all servers unless thevar
folder is shared among server instances
- Fix
cache:clear
command call onrollback
task
- Add
cache:clear:if-maintenance
to flush all caches after maintenance is set - Add timestamp for
release_name
in sample files
maintenance:unset
after switching symlink
- Remove not needed
maintenance:unset
during rollback
- Fix
crontab:update
execute only if current path exists - Fix
cache:clear
properly call task usinginvoke()
- Task destroy artefact after extraction
- Fix exclude
var/cache
andvar/page_cache
from artifact. Excludingcache
was also excluding some module cache folders that are needed.
- Fix
crontab:update
step due to changes introduced on version 2.2.2
- Use deployers
{{bin/php}}
with every execution of{{magento_bin}}
- Task
cache:clear:magento
- Add
var
dir inshared_dirs
. It makes more sense for multi-servers setup to havevar
dir shared among servers. - Change task name
clear:cache
tocache:clear
- Remove
var/.ip.maintenance
and `var/backups from shared configuration
- First working version