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,761
    • Issues 44,761
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 1,329
    • Merge requests 1,329
  • 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
  • #39503
Closed
Open
Issue created Dec 11, 2019 by Fabio Pitino@fabiopitino2️⃣Maintainer

Delete parent/child pipelines

Follow up issue from !21365 (comment 257876879)

  • We should allow only the parent pipeline to be deleted
  • When deleting the parent pipeline we should also delete the child pipelines
  • A child pipeline cannot be deleted

Ensure we prevent that a child pipeline is deleted by making the necessary changes to the pipeline policy so we can stop it via API and controller. Also in the UI we need to disable the Delete pipeline button with a tooltip if the pipeline cannot be deleted.

Proposal

As we did for Cascade parent/child pipeline cancellation (#273378 - closed) we can iterate through all child pipelines (including nested ones) and kick off an async deletion for each child pipeline.

Edited Aug 22, 2022 by Fabio Pitino
Assignee
Assign to
Time tracking