Uploaded image for project: 'OpenShift Pipelines'
  1. OpenShift Pipelines
  2. SRVKP-1547

Pipeline-as-code concurrency control

XMLWordPrintable

    • Pipeline-as-code concurrency control
    • 5
    • False
    • False
    • To Do
    • 0% To Do, 0% In Progress, 100% Done
    • Undefined

      Goal

      As a developer, I want to control the concurrency model for the consecutive pipeline executions when using pipelines-as-code so that I they execute serially when my use-case requires or limit the number of parallel pipelinesruns.

      The following are some of the use-case for serial execution:

      • Interacting with legacy systems for example for system testing purposes and these legacy systems do not necessarily support parallelism. Therefore one pipelinerun at a time can execute in order to avoid unknown outcomes when interacting with these legacy systems.
      • Concurrency for a single pipeline, so that git push triggers a build+deploy with other pushes queued up
      • Concurrency across a chain of pipelines (less common?)
      • Configure concurrency - e.g. specify the number of concurrent executions allowed

      Acceptance Criteria

      • Developer can specify the pipelineruns to execute serially or concurrently in pipeline as code
      • Developers can specify in case of serial execution, if last pipelinerun should start executing or the pipelineruns should queue up and execute in order

      Related Work

      Questions

      • Should the # of concurrent pipelines be added back to the scope?

              smukhade Shivam Mukhade (Inactive)
              rh-ee-ssadeghi Siamak Sadeghianfar
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: