tomasgluchman/mage-lock

Global deployment lock task for Magallanes deployment tool

Installs: 311

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

pkg:composer/tomasgluchman/mage-lock

0.0.1 2015-06-02 05:30 UTC

This package is not auto-updated.

Last update: 2025-10-15 11:50:09 UTC


README

Global deployment lock task for Magallanes deployment tool

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.