Skip to content

a Phabalicious plugin to integrate with the lagoon cli

Notifications You must be signed in to change notification settings

factorial-io/phab-lagoon-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

phab-lagoon-plugin

A phabalicious plugin to integrate with lagoon cli. The plugin provides a new command to show the states of the latest deployments in the CLI

Prerequisites

You need to install the lagoon cli from here

Installation

composer require --dev factorial-io/phab-lagoon-plugin

Needed configuration in the fabfile

You need to provide the name of the lagoon project via:

hosts:
  config-a:
    .
    .
    .
    lagoon:
      project: the-lagoon-project-name

Customize configuration

If you need to add options to the lagoon-command you can add the following to the root of the fabfile:

lagoonOptions:
  - -i
  - /home/my-user-name/.ssh/my-private-key

Provided commands

Show the list deployments

The command list:deployments will list the latest deployments for a specific configuration or for all lagoon-based configurations:

phab lagoon list:deployments
phab lagoon list:deployments --config my-config

Trigger a new deployment

The command deploy:latest will trigger a new deployent for a given configuration and print out the new deployment similar to latest:deployments

phab -cmyconfig lagoon deploy:latest

About

a Phabalicious plugin to integrate with the lagoon cli

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages