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: env_gen.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -187,6 +187,7 @@
187
187
| ECR_REPO_NAME_PREFIX | string |test/ | Prefix for ECR repo to be created in does not exist || false |
188
188
| ENABLE_ASYNC_ARGO_CD_INSTALL_DEVTRON_CHART | bool |false | To enable async installation of gitops application || false |
189
189
| ENABLE_ASYNC_INSTALL_DEVTRON_CHART | bool |false | To enable async installation of no-gitops application || false |
190
+
| ENABLE_LINKED_CI_ARTIFACT_COPY | bool |false | Enable copying artifacts from parent CI pipeline to linked CI pipeline during creation || false |
190
191
| EPHEMERAL_SERVER_VERSION_REGEX | string |v[1-9]\.\b(2[3-9]\|[3-9][0-9])\b.*| ephemeral containers support version regex that is compared with k8sServerVersion || false |
impl.logger.Errorw("error in fetching artifacts from parent CI pipeline", "parentCiPipelineId", parentCiPipelineId, "err", err)
2548
+
returnerr
2549
+
}
2550
+
2551
+
iflen(parentArtifacts) ==0 {
2552
+
impl.logger.Infow("No artifacts found in parent CI pipeline", "parentCiPipelineId", parentCiPipelineId)
2553
+
returnnil
2554
+
}
2555
+
2556
+
varchildArtifacts []*repository.CiArtifact
2557
+
fori:=len(parentArtifacts); i>0; i-- {
2558
+
parentArtifact:=parentArtifacts[i-1] //reversing order into new array because postgres will save the array as it is thus causing our actual order to reverse
2559
+
childArtifact:=&repository.CiArtifact{
2560
+
Image: parentArtifact.Image,
2561
+
ImageDigest: parentArtifact.ImageDigest,
2562
+
MaterialInfo: parentArtifact.MaterialInfo,
2563
+
DataSource: parentArtifact.DataSource,
2564
+
PipelineId: childCiPipelineId,
2565
+
ParentCiArtifact: parentArtifact.Id,
2566
+
IsArtifactUploaded: parentArtifact.IsArtifactUploaded, // for backward compatibility
VALUES (nextval('id_seq_plugin_metadata'), 'Terraform CLI v1.0.0','Terraform: Simplify infrastructure as code, manage resources effortlessly, and deploy with ease using this plugins','f', 'now()', 1, 'now()', 1, (SELECT id FROM plugin_parent_metadata WHERE identifier='terraform-cli-v1-0-0'),'1.0.1', false, true);
VALUES (nextval('id_seq_plugin_step'), (SELECT id FROM plugin_metadata WHERE name='Terraform CLI v1.0.0'and plugin_version='1.0.1'),'Step 1','Step 1 - Terraform CLI v1.0.0','1','INLINE',(SELECT last_value FROM id_seq_plugin_pipeline_script),'f','now()', 1, 'now()', 1);
44
+
45
+
INSERT INTO plugin_step_variable (id,plugin_step_id,name,format,description,is_exposed,allow_empty_value,default_value,value,variable_type,value_type,previous_step_index,variable_step_index,variable_step_index_in_plugin,reference_variable_name,deleted,created_on,created_by,updated_on,updated_by)
46
+
VALUES
47
+
(nextval('id_seq_plugin_step_variable'),(SELECTps.idFROM plugin_metadata p inner JOIN plugin_step ps onps.plugin_id=p.idWHEREp.name='Terraform CLI v1.0.0'and ps."index"=1andp.plugin_version='1.0.1'andps.deleted=false),'HTTP_PROXY','STRING','Specify the HTTP proxy server for non-SSL requests.','t','t',null,null,'INPUT','NEW',null,1,null,null,'f','now()',1,'now()',1),
48
+
(nextval('id_seq_plugin_step_variable'),(SELECTps.idFROM plugin_metadata p inner JOIN plugin_step ps onps.plugin_id=p.idWHEREp.name='Terraform CLI v1.0.0'and ps."index"=1andp.plugin_version='1.0.1'andps.deleted=false),'HTTPS_PROXY','STRING','Specify the HTTPS proxy server for SSL requests.','t','t',null,null,'INPUT','NEW',null,1,null,null,'f','now()',1,'now()',1),
49
+
(nextval('id_seq_plugin_step_variable'),(SELECTps.idFROM plugin_metadata p inner JOIN plugin_step ps onps.plugin_id=p.idWHEREp.name='Terraform CLI v1.0.0'and ps."index"=1andp.plugin_version='1.0.1'andps.deleted=false),'NO_PROXY','STRING','Opt out of proxying HTTP/HTTPS requests. Use this to specify hosts that should bypass the proxy.','t','t',null,null,'INPUT','NEW',null,1,null,null,'f','now()',1,'now()',1),
50
+
(nextval('id_seq_plugin_step_variable'),(SELECTps.idFROM plugin_metadata p inner JOIN plugin_step ps onps.plugin_id=p.idWHEREp.name='Terraform CLI v1.0.0'and ps."index"=1andp.plugin_version='1.0.1'andps.deleted=false),'TERRAFORM_IMAGE','STRING','Specify a custom Terraform container image to use for the execution of Terraform commands.','t','t',null,null,'INPUT','NEW',null,1,null,null,'f','now()',1,'now()',1),
51
+
(nextval('id_seq_plugin_step_variable'),(SELECTps.idFROM plugin_metadata p inner JOIN plugin_step ps onps.plugin_id=p.idWHEREp.name='Terraform CLI v1.0.0'and ps."index"=1andp.plugin_version='1.0.1'andps.deleted=false),'WORKINGDIR','STRING','Set the source directory for Terraform execution.Example: /path/to/terraform/project','t','t',null,null,'INPUT','NEW',null,1,null,null,'f','now()',1,'now()',1),
52
+
(nextval('id_seq_plugin_step_variable'),(SELECTps.idFROM plugin_metadata p inner JOIN plugin_step ps onps.plugin_id=p.idWHEREp.name='Terraform CLI v1.0.0'and ps."index"=1andp.plugin_version='1.0.1'andps.deleted=false),'ARGS','STRING','Specifies Terraform CLI commands to run. Example: plan -var-file=myvars.tfvars','t','t','--help',null,'INPUT','NEW',null,1,null,null,'f','now()',1,'now()',1),
53
+
(nextval('id_seq_plugin_step_variable'),(SELECTps.idFROM plugin_metadata p inner JOIN plugin_step ps onps.plugin_id=p.idWHEREp.name='Terraform CLI v1.0.0'and ps."index"=1andp.plugin_version='1.0.1'andps.deleted=false),'RUN_TERRAFORM_INIT','BOOL','Determines whether to run the Terraform initialization command.','t','t','TRUE',null,'INPUT','NEW',null,1,null,null,'f','now()',1,'now()',1),
54
+
(nextval('id_seq_plugin_step_variable'),(SELECTps.idFROM plugin_metadata p inner JOIN plugin_step ps onps.plugin_id=p.idWHEREp.name='Terraform CLI v1.0.0'and ps."index"=1andp.plugin_version='1.0.1'andps.deleted=false),'ADDITIONALPARAMS','STRING','Provides key-value pairs to inject into the Terraform container.Example: VAR1=value1 VAR2=value2c','t','t',null,null,'INPUT','NEW',null,1,null,null,'f','now()',1,'now()',1);
0 commit comments