https://github.com/in2code-de/in2code.deploymentlocker
Simple script to prohibit parallel execution of the same TYPO3.Surf deployment
https://github.com/in2code-de/in2code.deploymentlocker
Last synced: 2 months ago
JSON representation
Simple script to prohibit parallel execution of the same TYPO3.Surf deployment
- Host: GitHub
- URL: https://github.com/in2code-de/in2code.deploymentlocker
- Owner: in2code-de
- Created: 2016-03-09T16:32:19.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2018-08-23T12:45:02.000Z (almost 7 years ago)
- Last Synced: 2025-04-24T01:16:11.637Z (2 months ago)
- Language: PHP
- Size: 3.91 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# In2code.DeploymentLocker - Prevent parallel execution of the same deployment
## Description
TYPO3.Surf is a CLI application for automated deployment. When a deployment is runs,
many tasks are executed in a order. If a deployment runs parallel in two seperate processes,
it might leave your deployment target in an unusable and hard recoverable state.To prevent, that one deployment is executet twice ore more times at the same time, you
can simply lock it.This does not affect any other deployment. You can still run another deployment in parallel!
## Installation
Install In2code.DeploymentLocker via composer
composer require in2code/deploymentlocker
## How to Use
Open the deployment you want to protect and add followinf line after the php opening tag.
It should look like this: (Notice that the annotation is optional).
The author of this package is Oliver Eglseder .
This package is licensed under GNU General Public License, version 3 or later (http://www.gnu.org/licenses/gpl.html).