[FEATURE] Support GitLab Pipelines
I am personally missing the option to fetch the status of Pipelines via this extension. Therefore I would like to submit a Feature Request.
I think about an interface the this:
-
List latest pipelines for the current project:
$ git lab pipeline
-
Optionally: Filter pipelines by status, one of: [waiting_for_resource, pending, running, success, failed, canceled, skipped, scheduled]:
git lab pipeline --status=running
-
Get the status of a specific pipeline:
$ git lab pipeline <PIPELINE_ID>
-
Get pipelines for a specific reference:
$ git lab pipeline --ref <REFERENCE>
Later I would also like to be able to manipulate pipelines:
-
Run a pipeline for a particular reference:
$ git lab pipeline run <REF>
-
Retry a specific pipeline:
$ git lab pipeline retry <PIPELINE_ID>
-
Cancel a pipeline:
$ git lab pipeline cancel <PIPELINE_ID>
-
Delete a pipeline:
$ git lab pipeline delete <PIPELINE_ID>
I already implemented the first part (fetching pipelines) locally and it works. Therefore I would love to open a MR and contribute. But I am not able/ not allowed to do this atm.