library mage-lock
Global deployment lock task for Magallanes deployment tool
tomasgluchman/mage-lock
Global deployment lock task for Magallanes deployment tool
- Tuesday, June 2, 2015
- by xthom
- Repository
- 1 Watchers
- 0 Stars
- 296 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 2 Versions
- 0 % Grown
MageLock
Global deployment lock task for Magallanes deployment tool, (*1)
Installation
composer require 'tomasgluchman/mage-lock:~0.0'
Usage
Config:
tasks:
pre-deploy:
- lock
CLI:
mage deploy to:production --lock
mage deploy to:production --unlock
Due to the limits of implementation, the lock/unlock task will always return FAIL message. However, if the green-coloured message "Environment %environment% (un)locked for deploy
" is present, the lock/unlock was successful., (*2)