Download the PHP package novaway/deployer-release-check-list without Composer
On this page you can find all versions of the php package novaway/deployer-release-check-list. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download novaway/deployer-release-check-list
More information about novaway/deployer-release-check-list
Files in novaway/deployer-release-check-list
Package deployer-release-check-list
Short Description Release check-list for Deployer
License MIT
Informations about the package deployer-release-check-list
Release check-list for Deployer
A simple recipe for Deployer to manage a release check-list using Gitlab issues.
The idea is to handle a list of mandatory (and non-blocking) tasks for a release.
This is made possible using a Gitlab issue (with its tasks system), with specific title and label (customisable).
Installation
Configuration
Usage
First, create a Gitlab issue with:
- a label named "Release check-list" (can be customized, see options below)
- a title following the format "[MAJOR.MINOR.x] My awesome check-list".
For example: "[1.8.x] My awesome check-list".
This issue will match all deployments based on a git tag beginning with 1.8
:
Within the issue, you need to create a (one-level) task list:
Each task accepts two types of optional flags:
- one for the targeted Deployer host:
prod
,staging
, ... - one for tasks that need to be done after the deployment:
post-release
(non-flagged tasks will be mandatory for the deployment and throw an error if not marked as done)
Example:
Task 1
will be mandatory before the deployment onprod
andstaging
hostsTask 2
will be non-blocking for the deployment onprod
host, but will be reminded once the deployment is successfulTask 3
will be mandatory before the deployment on all hosts
Options
Customizing the Gitlab label
Customizing how to get the release version
By default, rcl_release_version
is based on input()->getOption('tag')
.
Examples
In case of an uncompleted mandatory task:
Reminder for post-release
tasks:
Bonus
Get a slack notification for uncompleted post-release tasks (considering you already configured the slack recipe):