Skip to content

Refactor Release commands to reduce duplication

Robert Speicher requested to merge rs-release-commands-dry into master

This is just a minor refactoring to move some more things to the Release::Command module that will further reduce duplication as we add more release-tools commands to the project.

9e66b818 - Add Release::Command.trigger_release

This is a helper method that will perform the Run Trigger > Fetch Pipelines > Check for chatops > Print result workflow common to all Release commands.

If given a block it will yield a TriggerResult object with the status and the resulting URL (either a job, or a pipeline). Otherwise it will print the default message depending on status.

2a4bf804 - Move required_argument to the Release::Command module

7bd0abfa - Add or improve class documentation for QaIssue and Tag commands

Merge request reports