gitlab ci - ability to run only specific stages from a multiple stage pipeline or rerun specific stages from pipeline
Description
As of gitlab pipeline does not have feature of triggering only specific stages within a multiple stage pipeline. There can be scenarios where a pipeline contains multiple stages (for e.g. 50 stages) & I need to trigger only certain specific stages from within the pipeline. As of now there is no flexibility for gitlab to just rerun specific stages.
Proposal
There should be some keyword or some kind of syntax available which will allow to trigger specific stages from pipeline, instead of rerunning the entire pipeline in case of a failure or in case of any issues with the pipeline. Or there has to be some way for gitlab to automatically heck whats the last build state of the pipeline & if its successful then don trigger it again unless it specifically asked for. This functionality will add the flexibility to rerun only the failed stages or any specific stages from within the pipeline & would be very handy if there is a huge pipeline with multiple stages.