|
2 | 2 |
|
3 | 3 | ## Introduction [](https://devtron.ai/pricing)
|
4 | 4 |
|
5 |
| -The [workflows](../creating-application/workflow/) you create in Devtron for managing the CI-CD of your application can be made flexible, for e.g., not all events (such as image builds) generated during the CI stage require progression to the CD stage. Therefore, instead of creating multiple pipelines that cater to complex requirements, Devtron provides you the option of creating filters to make your workflow efficient. |
| 5 | +The [workflows](../creating-application/workflow/) you create in Devtron for managing the CI-CD of your application can be made flexible or restricting with the help of CD filter conditions, for e.g., not all events (such as image builds) generated during the CI stage require progression to the CD stage. Therefore, instead of creating multiple workflows that cater to complex requirements, Devtron provides you the option of defining filters to tailor your workflow according to your specific needs. |
6 | 6 |
|
7 | 7 | Using filter conditions, you can control the progression of events. Here are a few general examples:
|
8 | 8 | * Images containing the label "test" should not be eligible for deployment in production environment
|
@@ -31,8 +31,8 @@ Using filter conditions, you can control the progression of events. Here are a f
|
31 | 31 | * **Filter Name**: Give a name to the filter.
|
32 | 32 | * **Description**: (Optional) Add a description to the filter, preferably explaining what it does.
|
33 | 33 | * **Filter Condition**: You can specify either a pass condition, fail condition, or both the conditions:
|
34 |
| - * **Pass Condition**: Events that satisfy the pass condition are eligible to trigger in your CD pipeline. |
35 |
| - * **Fail Condition**: Events that satisfy the fail condition are not eligible to trigger in your CD pipeline. |
| 34 | + * **Pass Condition**: Events that satisfy the pass condition are eligible to trigger your CD pipeline. |
| 35 | + * **Fail Condition**: Events that satisfy the fail condition are not eligible to trigger your CD pipeline. |
36 | 36 | * **Use CEL Expression**: You can use `Common Expression Language` (CEL) to define the conditions. Currently, you can create conditions with the help of following variables:
|
37 | 37 | * **containerImage**: Package that contains all the necessary files and instructions to run an application in a container, e.g., gcr.io/k8s-minikube/kicbase:v0.0.39. It returns a string value in the following format: `<registry>/<repository>:<tag>`
|
38 | 38 | * **containerRepository**: Storage location for container images, e.g., kicbase
|
|
0 commit comments