Add more chat commands
Description
8.14 added issue creation and display, as well as deploying from one environment to another. Let's expand the chat command set further.
Proposal
-
/gitlab issue search <iid|text>
=> gitlab-org/gitlab-ce!7752 -
/gitlab mergerequest search <iid|text>
-
/gitlab trigger pipeline on <ref>
-
/gitlab run <action> from <source env>
-- Look for a matching job name from the manual actions available on environment's latest deploy pipeline. -
/gitlab run <action> on !<MR number>
-- Look for a matching job name from the manual actions available on MR's latest deploy pipeline. -
/gitlab run <action> on <branch>
-- Look for a matching job name from the manual actions available on branch's latest deploy pipeline. -
/gitlab deploy !<MR number> to <target env>
-- Look for MR, find all the manual actions available on the latest deploy pipeline, look at the target environment for each, and look for a match. Fail if <> 1 match. -
/gitlab deploy <branch> to <target env>
-- Look for branch, find all the manual actions available on the latest deploy pipeline, look at the target environment for each, and look for a match. Fail if <> 1 match. -
/gitlab snippet ...
-
/gitlab pipeline...