An open API service indexing awesome lists of open source software.

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

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).