Skip to content

A way of preventing multiple pipelines from running concurrently #281

Closed

Description

@Jonty

We have several pipelines that absolutely must not be executing at the same time as they operate on the same resources.

We are currently using the pool resource to lock between these pipelines, however this is very messy and often requires manual intervention to release locks when the pipeline fails.

Ideally an option resembling serial_groups could be added operating at the pipeline level, pipeline_groups.

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:

    • #113834053 A way of preventing multiple pipelines from running concurrently

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

  2. vito commented on Feb 16, 2016

    @vito
    Contributor

    Do you mean separately configured pipelines, or multiple runs of one pipeline (i.e. prevent earlier jobs from running until things have run through as far as they can in the pipeline)?

    Pipelines are entirely namespaced from each other (and we plan to keep it that way) so if you need to synchronize them your only hope is something like the Pool resource.

  3. Jonty commented on Feb 16, 2016

    @Jonty
    Author

    I mean separately configured pipelines - #282 is actually about multiple runs of the same pipeline!

    If you have no plans to implement this, feel free to close it.

  4. vito commented on Feb 16, 2016

    @vito
    Contributor

    Yeah it's very important for us to treat pipelines as entirely separate; they're the "top" of the conceptual model meant to be portable, reusable, etc. The idea is that if you have coupling between parts of separate pipelines either they should be merged or you should represent the coupling as a resource.

    I agree that the pool resource has its UX quirks, but it still feels like the best direction to be looking for improvements, perhaps made to Concourse itself, to make using it easier.

  5. added a commit that references this issue on Mar 2, 2016
  6. added a commit that references this issue on Aug 17, 2016
  7. added a commit that references this issue on Apr 11, 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