Skip to content

A way of preventing a pipeline from triggering when already executing #282

Closed

Description

@Jonty

We have several pipelines that must not execute multiple times concurrently, and should not trigger again until the pipeline finishes running. While we can use serial_groups to prevent the jobs executing concurrently, and pool locking to prevent it triggering until it has completed, this is very verbose, ugly and easy to get wrong.

Ideally we would love to see an option on a pipeline that prevents it from triggering again until it has finished executing.

Activity

  1. concourse-bot commented on Feb 16, 2016

    @concourse-bot

    Hi there!

    We use Pivotal Tracker to provide visibility into what our team is working on. A story for this issue has been automatically created.

    The current status is as follows:

    • #113834043 A way of preventing a pipeline from triggering when already executing

    This comment, as well as the labels on the issue, will be automatically updated as the status in Tracker changes.

  2. vito commented on Jul 13, 2016

    @vito
    Contributor

    The semantics for this are really awkward to me. A pipeline is just a set of jobs, and may actually contain multiple sub-pipelines. I prefer having these relationships expressed explicitly via the pool resource, but I can see how it can sometimes be error prone or verbose. I'd like to see a proposal for this that doesn't operate on the whole pipeline, but has some way to express which parts should be serial without getting too verbose.

    Perhaps we could replace serial_groups with this proposal, since that's often how people expect it to work?

  3. added a commit that references this issue on Aug 17, 2016
  4. vito commented on Dec 30, 2016

    @vito
    Contributor

    Closing this for the reason I initially stated, but having some proposal related to redoing serial_groups could be an interesting next step.

  5. added a commit that references this issue on Jun 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions