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/resources/pipeline.md
+22
Original file line number
Diff line number
Diff line change
@@ -129,6 +129,7 @@ Optional:
129
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
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))
131
131
-`encrypted_variables` (Map of String) Pipeline level encrypted variables. Please note that drift will not be detected for encrypted variables
132
+
-`external_resource` (Block List) (see [below for nested schema](#nestedblock--spec--external_resource))
132
133
-`options` (Block List, Max: 1) The options for the pipeline. (see [below for nested schema](#nestedblock--spec--options))
133
134
-`pack_id` (String) SAAS pack (`5cd1746617313f468d669013` for Small; `5cd1746717313f468d669014` for Medium; `5cd1746817313f468d669015` for Large; `5cd1746817313f468d669017` for XL; `5cd1746817313f468d669018` for XXL); `5cd1746817313f468d669020` for 4XL).
134
135
-`permit_restart_from_failed_steps` (Boolean) Defines whether it is permitted to restart builds in this pipeline from failed step. Defaults to true
@@ -185,6 +186,27 @@ Optional:
185
186
186
187
187
188
189
+
<aid="nestedblock--spec--external_resource"></a>
190
+
### Nested Schema for `spec.external_resource`
191
+
192
+
Required:
193
+
194
+
-`context` (String) Context name for the git repository
195
+
-`repo` (String) git repository url
196
+
-`revision` (String) Revision/branch in the git repository
197
+
-`source_path` (String) The source folder in the repository (use relative path)
198
+
-`target_path` (String) The target folder in the pipeline workspace where the file/folder will be copied to (use absolute path)
199
+
200
+
Optional:
201
+
202
+
-`is_folder` (Boolean) Whether or not the resource specified in source_path is a folder
203
+
-`type` (String) Type of the external resource. Currently only 'git' is supported
0 commit comments