Skip to content

New Flag for manual stage prompts #1881

Description

@david-forster10

Is your feature request related to a problem? Please describe.
When creating pipelines for Terraform, my usual flow is to create a manual stage at the terraform apply, so that once the plan has been reviewed you can approve it. Currently with GCL if wanting to run a pipeline either the stages up to plan must be listed, and then a separate command provided to run the manual stage, or manual stages are included in one command and the pipeline runs through blindly.

Describe the solution you'd like
It would be good if there is a flag that when running a pipeline all jobs run as normal, but upon reaching a point where the pipeline has a manual job ready to be ran, there is an interactive prompt such as:

You have manual jobs waiting, please select the number(s) you'd like to trigger: 
1) apply 
2) another-job

Describe alternatives you've considered
Wrapper scripts can be created around GCL to offer this functionality, but would be better user experience as an alternative to the --manual parameter.

Additional context
Add any other context or screenshots about the feature request here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureFeature missing according to gitlab ci standard

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions