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
DeprecationMessage: "This resource is deprecated and will be removed in a future version of the Codefresh Terraform provider. Please use the cron_triggers attribute of the codefresh_pipeline resource instead.",
19
20
Description: "This resource is used to create cron-based triggers for pipeilnes.",
Copy file name to clipboardExpand all lines: docs/resources/pipeline.md
+46Lines changed: 46 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -11,6 +11,8 @@ The central component of the Codefresh Platform. Pipelines are workflows that co
11
11
12
12
See the [documentation](https://codefresh.io/docs/docs/configure-ci-cd-pipeline/introduction-to-codefresh-pipelines/) for the details.
13
13
14
+
~> **NOTE:**`cron_trigger` conflicts with the deprecated [codefresh_pipeline_cron_trigger](https://registry.terraform.io/providers/codefresh-io/codefresh/latest/docs/resources/pipeline_cron_trigger) resource.
15
+
14
16
## Example Usage
15
17
16
18
```hcl
@@ -125,6 +127,7 @@ Optional:
125
127
-`branch_concurrency` (Number) The maximum amount of concurrent builds that may run for each branch. Zero is unlimited (default: `0`).
126
128
-`concurrency` (Number) The maximum amount of concurrent builds. Zero is unlimited (default: `0`).
127
129
-`contexts` (List of String) A list of strings representing the contexts ([shared_configuration](https://codefresh.io/docs/docs/configure-ci-cd-pipeline/shared-configuration/)) to be configured for the pipeline.
130
+
-`cron_trigger` (Block List) The pipeline's cron triggers. Conflicts with the deprecated [codefresh_pipeline_cron_trigger](https://registry.terraform.io/providers/codefresh-io/codefresh/latest/docs/resources/pipeline_cron_trigger) resource. (see [below for nested schema](#nestedblock--spec--cron_trigger))
128
131
-`options` (Block List, Max: 1) The options for the pipeline. (see [below for nested schema](#nestedblock--spec--options))
129
132
-`pack_id` (String) SAAS pack (`5cd1746617313f468d669013` for Small; `5cd1746717313f468d669014` for Medium; `5cd1746817313f468d669015` for Large; `5cd1746817313f468d669017` for XL; `5cd1746817313f468d669018` for XXL).
130
133
-`priority` (Number) Helps to organize the order of builds execution in case of reaching the concurrency limit (default: `0`).
@@ -136,6 +139,49 @@ Optional:
136
139
-`trigger_concurrency` (Number) The maximum amount of concurrent builds that may run for each trigger (default: `0`).
137
140
-`variables` (Map of String) The pipeline's variables.
138
141
142
+
<aid="nestedblock--spec--cron_trigger"></a>
143
+
### Nested Schema for `spec.cron_trigger`
144
+
145
+
Required:
146
+
147
+
-`expression` (String)
148
+
-`message` (String)
149
+
-`name` (String) The name of the cron trigger.
150
+
151
+
Optional:
152
+
153
+
-`branch` (String) Branch that should be passed for build triggered by this cron trigger.
154
+
-`disabled` (Boolean) Flag to disable the trigger.
155
+
-`git_trigger_id` (String) Related git-trigger id. Will by used to take all possible git information by branch.
156
+
-`options` (Block List) The trigger's options. (see [below for nested schema](#nestedblock--spec--cron_trigger--options))
157
+
-`runtime_environment` (Block List) The runtime environment for the trigger. (see [below for nested schema](#nestedblock--spec--cron_trigger--runtime_environment))
158
+
-`type` (String) The type of the trigger (default: `cron`; see notes above).
Copy file name to clipboardExpand all lines: docs/resources/pipeline_cron_trigger.md
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -11,6 +11,8 @@ This resource is used to create cron-based triggers for pipeilnes.
11
11
12
12
See the [documentation](https://codefresh.io/docs/docs/configure-ci-cd-pipeline/triggers/cron-triggers/).
13
13
14
+
~> **DEPRECATED:** This resource is being deprecated in favor of the `cron_trigger` attribute of the [codefresh_pipeline](https://registry.terraform.io/providers/codefresh-io/codefresh/latest/docs/resources/pipeline) resource.
Copy file name to clipboardExpand all lines: templates/resources/pipeline.md.tmpl
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -11,6 +11,8 @@ description: |-
11
11
12
12
See the [documentation](https://codefresh.io/docs/docs/configure-ci-cd-pipeline/introduction-to-codefresh-pipelines/) for the details.
13
13
14
+
~> **NOTE:** `cron_trigger` conflicts with the deprecated [codefresh_pipeline_cron_trigger](https://registry.terraform.io/providers/codefresh-io/codefresh/latest/docs/resources/pipeline_cron_trigger) resource.
Copy file name to clipboardExpand all lines: templates/resources/pipeline_cron_trigger.md.tmpl
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -11,6 +11,8 @@ description: |-
11
11
12
12
See the [documentation](https://codefresh.io/docs/docs/configure-ci-cd-pipeline/triggers/cron-triggers/).
13
13
14
+
~> **DEPRECATED:** This resource is being deprecated in favor of the `cron_trigger` attribute of the [codefresh_pipeline](https://registry.terraform.io/providers/codefresh-io/codefresh/latest/docs/resources/pipeline) resource.
0 commit comments