Download the PHP package turbine-kreuzberg/spryker-deploy-tasks without Composer
On this page you can find all versions of the php package turbine-kreuzberg/spryker-deploy-tasks. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download turbine-kreuzberg/spryker-deploy-tasks
More information about turbine-kreuzberg/spryker-deploy-tasks
Files in turbine-kreuzberg/spryker-deploy-tasks
Package spryker-deploy-tasks
Short Description Deploy tasks for Spryker to execute once after deployment based on the environment and store
License MIT
Informations about the package spryker-deploy-tasks
Spryker Deploy Tasks
This package provides a functionality for Spryker to execute one-time tasks after a deployment based on the environment and store.
- Installation
- Usage
- Configuration
- Credits
- License
Installation
Setup
To use the provided console commands you will need to register the namespace TurbineKreuzberg
in config/Shared/config_default.php
.
In src/Pyz/Zed/Console/ConsoleDependencyProvider.php
you need to register the console command plugin for deploy tasks.
Then you should see a new section deploy
in the console command list:
Usage
Create new deploy task file
This will create a new YAML file with an auto-generated name containing the current timestamp (e.g. tasks.1697540350.yml
) and this content:
You have to define explicitly for which stores and environments the task should be executed.
There is no 'all environments' or 'all stores' option. This should prevent accidental execution of tasks in
environments or stores where they should not be executed.
Execute deploy tasks
This command will execute deploy tasks from all YAML files that have not been executed for the current environment and store yet.
Executed tasks will be logged in a new table txb_deploy_tasks
in the database.
The mechanism is very much the same as for Propel migrations.
Credits
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of spryker-deploy-tasks with dependencies
spryker/console Version ^4.10
spryker/kernel Version ^3.54.0
spryker/propel-orm Version ^1.14