- [TASK][BREAKING] Remove dependency to
sourcebroker/deployer-instance
. Not needed anymore. - [TASK][BREAKING] Remove task
buffer:start
,buffer:stop
as hard to test on so many hoster configs and different level of traffic. - [TASK][BREAKING] Remove task
file:rm2steps:1
,file:rm2steps:2
as should be not needed for nowadays deployment flow. - [FEATURE] Add task
upload_build
.
- [TASK][BREAKING] Replace
--ignore-platform-reqs
with{{check_composer_install_options}}
indeploy:check_composer_install
- This change allows for greater flexibility in managing the options for
composer install --dry-run
. Default Value:--no-dev --no-interaction --no-progress --no-suggest --no-scripts --no-plugins
Note: The value for{{check_composer_install_options}}
must differ from{{composer_options}}
, as the latter has--no-dev
by default. Using--no-dev
in local development would remove require-dev packages.
- [TASK][BREAKING] Replace
- [FEATURE] Add deploy:check_composer_validate task.
- [TASK][BREAKING] Bump dependency to
sourcebroker/deployer-instance
. - [TASK] Clean up code.
- [TASK] Code refactor. Change Exception to GracefulShutdownException. Casting optimisation. Code reformatting / cleanup.
- [BREAKING] Remove task
deploy_extend_log
as it is now part of Deployer 7. Refactor task deploy_check_branch to check extended data deployer meta data file. - [TASK] Refactor code for Deployer 7.
- [TASK] Update dependencies for Deployer 7.
- [TASK] Extend dependency to internal packages to dev-master.
- [BUGFIX] For task
cache:clear_php_http
add--no-check-certificate
for wget (curl already have--insecure
) - [FEATURE] For task
cache:clear_php_http
addfetch_method_wget_options
andfetch_method_curl_options
.
- [FEATURE][BREAKING] Overwrite "bin/composer" and allow to setup composer binary version with
composer_version
orcomposer_channel
. The default setting are:composer_version=null
andcomposer_channel="stable"
. This will download most new stable version of composer (for now version 2). - [TASK][BREAKING] For task
deploy_check_composer_install
local version of composer must be available. So far it was downloaded inset('local/bin/composer')
. Since this change there will be no try to download it. Composer must be installed and accessible locally for user running commands. - [BUGFIX] Fix check if composer install must be run because of composer.lock changes.
- [TASK][BREAKING] Remove config:vhost_apache task without replacement. Use
https://ddev.readthedocs.io/en/stable/
or similar solutions for local development. - [TASK][BREAKING] Add dependency to breaking
sourcebroker/deployer-instance
. - [TASK] Add ddev support.
- [FEATURE] Add task
file:copy_dirs_ignore_existing
which copy directories from previous release except for those - folders which already exists in that folder.
- [FEATURE] Add task
- [FEATURE] Add task
file:copy_files_ignore_existing
which copy files from previous release except for those - files which already exists in that folder.
- [FEATURE] Add task
- [BUGFIX] Fix refactor of composer binary detection.
- [TASK][BREAKING] Change default php-fpm directive from ProxyPass to SetHandler in task
config vhost_apache
. - [BUGFIX] Add support for
web_path
added tovhost_document_root
in taskconfig vhost_apache
. - [TASK] Refactor way the binary is detected. Possible breaking change.
- [TASK][BREAKING] Change to new deployer-instance version.
- [TASK][BREAKING] Set naming according to new deployer-instance.
- [BUGFIX] Compatibility with 6+. Fix local test for composer.json in config_vhost_apache.php.
- [BUGFIX] Fix wrong calculation for vhost_local_logs_path.
- [BUGFIX] Fix test of existence for symlinked log files.
- [TASK] Refactor deploy:check_branch task.
- [TASK] Add deploy:check_branch_local task.
- [BUGFIX] Fix condition in deploy:check_branch_local task.
- [BUGFIX] Move cd() before condition in deploy_check_branch.php
- [TASK] Add ability to turn of branch guess which is by default added to deployer. By setting "branch_detect_to_deploy" you can disable deploying currently checkout branch.
- [TASK] Refactor deploy:extend_log to support for revision and tag options.
- [TASK] Support to show time of deployment in deployment note.
- [BUGFIX] Fix wrong detection of previous clear http cache file.
- [TASK][BREAKING] Rename task php:clear_cache_cli.php to cache:clear_php_cli and php:clear_cache_http.php to cache:clear_php_http
- [TASK][BREAKING] Rename the logs filename to .dep/releases.extended. Add hash to log line. Format log line with csv formatter.
- [TASK][BREAKING] Deployer 6.4+ compatibility.
- [BUGFIX] Replace colon in filenames with underscore for Windows compatibility.
- [BUGFIX] Fix wrong formatting for info form deploy:check_branch task. Add GracefulShutdownException.
- [BUGFIX] Replace colon in filenames with underscore for Windows compatibility.
- [FEATURE] Add task deploy:check_branch to check if branch deployed to instance is the same as the one which is being deployed.
- [FEATURE] Add task extend:log to store additional info about deploy.
- [TASK] Increase version of sourcebroker/deployer-instance
- [TASK] Normalize use of dots at the end of task description.
- [FEATURE] Add possibility to set "vhost_document_root" outside.
- [BUGFIX][BREAKING] Fix wrong flag name for old release and prevent creation of this flag if current folder does not exits.
- [BUGFIX][BREAKING] Create "old release" flag just before removing "buffer request" flag.
- [TASK] Refactor buffer:stop
- [TASK][BREAKING] Remove composer dependencies to sourcebroker/deployer-loader. It must be declared in higher level package as someone can use task without autoloader.
- [TASK][BREAKING] Refactor config:vhost_apache with possible breaking changes.
- [TASK] Refactor config:vhost_apache.
- [BUGFIX] Remove unneeded comments.
- [DOCS] Docs cleanup.
- [TASK][!!!BREAKING] Remove default set('fetch_method', 'wget'); as it should have fallback in task itself.
- [BUGFIX] Create lock file in buffer:start only when directory exists.
- [TASK] Tasks buffer:start, buffer:stop code cleanup.
- [TASK][!!!BREAKING] Remove multiplexing on from deployer-extended default config vars as it should be part of higher level package.
- [TASK][!!!BREAKING] Remove FileUtility class to make tasks more independent. The method usage from this class usage was not really big in the end.
- [TASK][!!!BREAKING] Refactor config:vhost_apache task. Start of docs for this task.
- [TASK] Rewrite log file creation for config:vhost_apache.
- [TASK] Change composer.json description. Remove psr-4 as no classes.
- [TASK] Add support for edge cases in config:vhost_apache task.
- [TASK] Task config:vhost_apache - add more descriptive user messages for different missing data cases.
- [TASK] Task config:vhost_apache - convert all files operation to runLocally / testLocally.
- [TASK] Cleanup code on task
config:vhost_apache
- [FEATURE] Implement extended flags in buffer:start with flags that cleans php stat cache for specific amount of time, and lock which is doing redirects if it detects that it still pointing to old release.
- [DOCS] Update changelog.
- [BUGFIX] In task "buffer:start" add -f (force) to mv command as on some linux distro its asking to overwrite by default.
- [BUGFIX] Fix wrongly set default fetch_method for "php:clear_cache_http"
- [DOC] Update changelog.
- [FEATURE] Add curl as additional fetch_method.
- [FEATURE] Add fallback when fetch_method is not set.
- [BUGFIX] Change wget command to not store file at all. Previous settings causes wget to return error when there was no access to write on current folder. Right now there is no need to have write access.
- [BUGFIX] Do fallback for get('public_urls', []) so right exception is shown.
- [FEATURE] Introduce {{bin/local/wget}}
- [FEATURE] Introduce {{bin/local/curl}}
- [DOC] Extend documentation about task properties.
- [TASK] Add dependency to sourcebroker/deployer-loader
- [TASK][!!!BREAKING] Remove SourceBrokerDeployerExtendedLoader.php in favour of using sourcebroker/deployer-loader
- [TASK][!!!BREAKING] Remove SourceBrokerDeployerExtendedUtilityFileUtility->requireFilesFromDirectoryReqursively because it was used only in SourceBrokerDeployerExtendedLoader.php
- [BUGFIX] Fix problem when few request want to delete the same file in buffer tasks.
- [TASK] Increase req for php to 5.6 as deployer does not work with php 5.4.
- Fix missing changelog.
- Fix hardcoded locker file name.
- Docs update.
- Add option to buffer:start to auto remove lock files after some time.
- Add option "entrypoint_refresh"
- Start entrypoint in task "buffer:start" and "buffer:stop" from deploy_path and not form web_path
- Remove not used var "tmp_dir".
- Rework of php:clear_cache_http. Look for old clear_cache file in previous release.
- Remove autoload of recipes. From now an object of class Loader must be created that will load the recipes.
Tasks removed with replacement in other package: https://github.com/sourcebroker/deployer-extended-database
- db:download
- db:export
- db:import
- db:move
- db:process
- db:pull
- db:truncate
- db:upload
Tasks removed with replacement in other package: https://github.com/sourcebroker/deployer-extended-media
- media:move
- media:pull
- media:push
Flatten structure of databases settings for database tasks.
Structure was:
set( 'db_databases', [ ['database_foo' => [ 'host' => '127.0.0.1', 'database' => 'foo', 'user' => 'foo', 'password' => 'foopass', ] ], ['database_foo' => get('db_default')] ['database_bar' => [ 'host' => '127.0.0.1', 'database' => 'bar', 'user' => 'bar', 'password' => 'barpass', ], ], ['database_bar' => get('db_default')] ['database_bar' => '/absolute/path/to/file/with/config_array.php'] ] );
Should be now:
set( 'db_databases', [ 'database_foo' => [ [ 'host' => '127.0.0.1', 'database' => 'foo', 'user' => 'foo', 'password' => 'foopass', ], get('db_default'), '/absolute/path/to/file/with/config_array.php' ], 'database_bar' => [ get('db_default'), '/absolute/path/to/file/with/config_array.php' ], ] );
All of the arrays in each database defined by key will be merged.
Task renamed:
- Rename deploy:composer_check_install to ``deploy:check_composer_install``_
- Rename cache:clearstatcache to ``php:clear_cache_cli``_
- Rename cache:frontendreset to ``php:clear_cache_http``_
- Rename deploy:vhosts to ``config:vhost``_
Task splitted/renamed with no simple replacement:
- file:remove_recursive_atomic - replaced by ``file:rm2steps:1``_, ``file:rm2steps:2``_
- lock:create_lock_files - replaced by ``buffer:start``_
- lock:delete_lock_files - replaced by ``buffer:stop``_
- lock:overwrite_entry_point - replaced by ``buffer:start``_
Task removed with no replacement:
- file:copy_from_shared
- file:copy_from_previous
- git:check_status
- lock:stop_if_http_status_200