Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitdff8d7f

Browse files
Concurrency behavior for pending builds
1 parentf3e56f8 commitdff8d7f

File tree

3 files changed

+19
-0
lines changed

3 files changed

+19
-0
lines changed

‎_docs/codefresh-yaml/steps/approval.md‎

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,20 @@ max-width="80%"
288288
You can see that only two steps were ignored. If you rerun the pipeline and approve
289289
it, the other two steps will be ignored.
290290

291+
##Define concurrency limits
292+
293+
Codefresh has the ability to limit the amount of running builds for a specific pipeline with several concurrency policies in the pipeline settings. You can choose if a build that is in a pending approval state will count against the concurrency limits or not.
294+
295+
As an example let's say that the concurrency limit for a specific pipeline is set to 2. Currently there is one active/running build and a second build that is pending approval.
296+
297+
1. If the pipeline settings define that builds in pending approval**count** against concurrency, then if you launch a third build it will wait until one of the first two has finished
298+
1. If the pipeline settings define that builds in pending approval**do not** count against concurrency, then if you launch a third build it will execute right away.
299+
300+
There isn't a correct or wrong way to set this option. It depends on your organization and if your consider builds pending approval as "active" or not.
301+
302+
You can either set this option[differently per pipeline]({{site.baseurl}}/docs/configure-ci-cd-pipeline/pipelines/#policies), or globally in your account at your[account settings](https://g.codefresh.io/account-admin/account-conf/pipeline-settings).
303+
304+
291305
##Slack integration
292306

293307
If you also enable[Slack integration]({{site.baseurl}}/docs/integrations/notifications/slack-integration/) in Codefresh you will have the choice of approving/rejecting a pipeline

‎_docs/configure-ci-cd-pipeline/pipelines.md‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,10 @@ Once you create your pipeline you can also click on the top tab called *Settings
159159
- Keep the volume available
160160
- Discard the volume
161161
- Honor the option defined globally in your Codefresh account
162+
-**Pending approval concurrency limit effect**: decide if a build that is pending approval[counts against]({{site.baseurl}}/docs/codefresh-yaml/steps/approval/#define-concurrency-limits) the concurrency limits or not
163+
- Builds in pending approval will**not** be counted when determining the concurrency limit for a pipeline
164+
- Builds in pending approval will**be** counted when determining the concurrency limit for a pipeline
165+
- Honor the option defined globally in your Codefresh account
162166

163167
The**Pipeline and Trigger Concurrency** limits are very important as they allow you to define how many instances of a pipeline can run in parallel when multiple commits or multiple pull requests take place.
164168

‎_docs/whats-new/whats-new.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ toc: true
1111

1212
###February 2021
1313

14+
- Concurrency behavior for pending builds -[documentation]({{site.baseurl}}/docs/codefresh-yaml/steps/approval/#define-concurrency-limits)
1415
- Jira integration -[documentation]({{site.baseurl}}/docs/yaml-examples/examples/sending-the-notification-to-jira/)
1516
- SLA details -[documentation]({{site.baseurl}}/docs/terms-and-privacy-policy/sla/)
1617
- Hide inaccessible clusters in the Kubernetes dashboard -[documentation]({{site.baseurl}}/docs/deploy-to-kubernetes/manage-kubernetes/#accessing-the-kubernetes-dashboard)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp