You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: _docs/codefresh-yaml/steps/approval.md
+14Lines changed: 14 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -288,6 +288,20 @@ max-width="80%"
288
288
You can see that only two steps were ignored. If you rerun the pipeline and approve
289
289
it, the other two steps will be ignored.
290
290
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
+
291
305
##Slack integration
292
306
293
307
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
Copy file name to clipboardExpand all lines: _docs/configure-ci-cd-pipeline/pipelines.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -159,6 +159,10 @@ Once you create your pipeline you can also click on the top tab called *Settings
159
159
- Keep the volume available
160
160
- Discard the volume
161
161
- 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
162
166
163
167
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.
- Hide inaccessible clusters in the Kubernetes dashboard -[documentation]({{site.baseurl}}/docs/deploy-to-kubernetes/manage-kubernetes/#accessing-the-kubernetes-dashboard)