Skip to content
GitLab
Next
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • GitLab GitLab
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 44,758
    • Issues 44,758
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 1,331
    • Merge requests 1,331
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GitLab.orgGitLab.org
  • GitLabGitLab
  • Issues
  • #201938
Closed
Open
Issue created Feb 04, 2020 by Keven Hughes@kevenhughesDeveloper

Add support for `when:manual` within triggered pipelines

Problem to solve or address

Using trigger to create multi-project or parent-child pipelines does not support when: manual configs, with the docs stating "when:manual prevents triggers being used." The best reasoning I can find for this is a slight mention in a note in MR 9107:

we might not want to support delayed and manual yet

Customer requesting (internal only) the use of manual actions for parent-child pipelines. Their specific use-case here is to refactor .gitlab-ci.yml to separate out certain stages from an otherwise fairly complex CI/CD, and wanting to limit their deploy job to a manual action.

Is there a specific reason for limiting the use of when:manual, and if so, perhaps the docs for parent-child pipelines could be updated to reflect that? If not, was it ever an intention to implement that functionality?

It's technically possible to implement this using a parent job to trigger a child pipeline that then uses manual jobs, so there is a workaround to this feature request at present. But since trigger supports when (on_success, on_failure, and always), it is a valid question from the end-user perspective as to why manual is not currently supported.

Related docs improvement issue for trigger and when:manual.

Edited Jul 14, 2020 by Jason Yavorska
Assignee
Assign to
Time tracking