"glab make" to list and run jobs from `.gitlab-ci.yml`
Problem to solve
As a developer, I want to run my CI jobs locally, so I can avoid duplicating the jobs in makefiles.
Proposal
glab make --list to list available jobs from CI file and glab make <target> to run specific job.
Further details
In https://gitlab.com/gitlab-org/ml-ops/tanuki-stan/ I need to repeat commands from CI manually to rebuild models, or to create a Makefile, which duplicates instructions and make maintenance harder.
Makefiles are also full of quirks, so instead of creating Makefile and referencing it in .gitlab-ci.yml it is better to do the other way around.
And jobs need to be run in containers to prevent system changes.
Links / references
Edited by Anatoli Babenia