Skip to content

Commit 6cbf00e

Browse files
authored
fix: optionally include compliance pipeline repo in group repo settings (#509)
1 parent 5cb7f5f commit 6cbf00e

File tree

11 files changed

+197
-38
lines changed

11 files changed

+197
-38
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -468,11 +468,15 @@ statement instead the previous block.
468468
| <a name="input_compliance_pipeline_existing_repo_url"></a> [compliance\_pipeline\_existing\_repo\_url](#input\_compliance\_pipeline\_existing\_repo\_url) | The URL of an existing compliance pipelines repository. | `string` | `""` | no |
469469
| <a name="input_compliance_pipeline_group"></a> [compliance\_pipeline\_group](#input\_compliance\_pipeline\_group) | Specify user or group for compliance pipline repository. | `string` | `""` | no |
470470
| <a name="input_compliance_pipeline_repo_auth_type"></a> [compliance\_pipeline\_repo\_auth\_type](#input\_compliance\_pipeline\_repo\_auth\_type) | Select the method of authentication that is used to access the Git repository. Valid values are 'oauth' or 'pat'. Defaults to `oauth` when unset. `pat` is a git `personal access token`. | `string` | `""` | no |
471+
| <a name="input_compliance_pipeline_repo_blind_connection"></a> [compliance\_pipeline\_repo\_blind\_connection](#input\_compliance\_pipeline\_repo\_blind\_connection) | Setting this value to `true` means the server is not addressable on the public internet. IBM Cloud will not be able to validate the connection details you provide. Certain functionality that requires API access to the git server will be disabled. Delivery pipeline will only work using a private worker that has network access to the git server. | `string` | `""` | no |
471472
| <a name="input_compliance_pipeline_repo_git_id"></a> [compliance\_pipeline\_repo\_git\_id](#input\_compliance\_pipeline\_repo\_git\_id) | Set this value to `github` for github.com, or to the ID of a custom GitHub Enterprise server. | `string` | `""` | no |
472473
| <a name="input_compliance_pipeline_repo_git_provider"></a> [compliance\_pipeline\_repo\_git\_provider](#input\_compliance\_pipeline\_repo\_git\_provider) | Git provider for compliance pipeline repo. If not set will default to `hostedgit`. | `string` | `""` | no |
473474
| <a name="input_compliance_pipeline_repo_git_token_secret_crn"></a> [compliance\_pipeline\_repo\_git\_token\_secret\_crn](#input\_compliance\_pipeline\_repo\_git\_token\_secret\_crn) | The CRN of the Git token used for accessing the sample application repository. | `string` | `""` | no |
474475
| <a name="input_compliance_pipeline_repo_git_token_secret_name"></a> [compliance\_pipeline\_repo\_git\_token\_secret\_name](#input\_compliance\_pipeline\_repo\_git\_token\_secret\_name) | Name of the Git token secret in the secret provider used for accessing the compliance pipelines repository. | `string` | `""` | no |
476+
| <a name="input_compliance_pipeline_repo_root_url"></a> [compliance\_pipeline\_repo\_root\_url](#input\_compliance\_pipeline\_repo\_root\_url) | (Optional) The Root URL of the server. e.g. https://git.example.com. | `string` | `""` | no |
475477
| <a name="input_compliance_pipeline_repo_secret_group"></a> [compliance\_pipeline\_repo\_secret\_group](#input\_compliance\_pipeline\_repo\_secret\_group) | Secret group for the Compliance Pipeline repository secret. Defaults to the value set in `sm_secret_group` if not set. Only used with `Secrets Manager`. | `string` | `""` | no |
478+
| <a name="input_compliance_pipeline_repo_title"></a> [compliance\_pipeline\_repo\_title](#input\_compliance\_pipeline\_repo\_title) | (Optional) The title of the server. e.g. My Git Enterprise Server. | `string` | `""` | no |
479+
| <a name="input_compliance_pipeline_repo_use_group_settings"></a> [compliance\_pipeline\_repo\_use\_group\_settings](#input\_compliance\_pipeline\_repo\_use\_group\_settings) | Set to `true` to apply group level repository settings to the compliance pipeline repository. See `repo_git_provider` as an example. | `bool` | `false` | no |
476480
| <a name="input_compliance_pipeline_source_repo_url"></a> [compliance\_pipeline\_source\_repo\_url](#input\_compliance\_pipeline\_source\_repo\_url) | The URL of a compliance pipelines repository to clone. | `string` | `""` | no |
477481
| <a name="input_continuous_delivery_service_name"></a> [continuous\_delivery\_service\_name](#input\_continuous\_delivery\_service\_name) | The name of the Continuous Delivery service instance. | `string` | `"cd-devsecops"` | no |
478482
| <a name="input_cos_api_key_secret_crn"></a> [cos\_api\_key\_secret\_crn](#input\_cos\_api\_key\_secret\_crn) | The CRN of the Cloud Object Storage apikey. Applies to the CI, CD and CC toolchains. Can beset independently using `ci_cos_api_key_secret_crn`,`cd_cos_api_key_secret_crn`,`cc_cos_api_key_secret_crn`. | `string` | `""` | no |

ibm_catalog.json

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -397,6 +397,34 @@
397397
"description": "Set to use an existing issues repository.",
398398
"required": false
399399
},
400+
{
401+
"key": "compliance_pipeline_repo_use_group_settings",
402+
"type": "boolean",
403+
"default_value": true,
404+
"description": "Set to `true` to apply group level repository settings to the compliance pipeline repository. See `repo_git_provider` as an example.",
405+
"required": false
406+
},
407+
{
408+
"key": "compliance_pipeline_repo_title",
409+
"type": "string",
410+
"default_value": "",
411+
"description": "(Optional) The title of the server. e.g. My Git Enterprise Server.",
412+
"required": false
413+
},
414+
{
415+
"key": "compliance_pipeline_repo_root_url",
416+
"type": "string",
417+
"default_value": "",
418+
"description": "(Optional) The Root URL of the server. e.g. https://git.example.com.",
419+
"required": false
420+
},
421+
{
422+
"key": "compliance_pipeline_repo_blind_connection",
423+
"type": "string",
424+
"default_value": "false",
425+
"description": "Setting this value to `true` means the server is not addressable on the public internet. IBM Cloud will not be able to validate the connection details you provide. Certain functionality that requires API access to the git server will be disabled. Delivery pipeline will only work using a private worker that has network access to the git server.",
426+
"required": false
427+
},
400428
{
401429
"key": "compliance_pipeline_repo_git_provider",
402430
"type": "string",
@@ -2312,6 +2340,34 @@
23122340
"description": "Set to use an existing issues repository.",
23132341
"required": false
23142342
},
2343+
{
2344+
"key": "compliance_pipeline_repo_use_group_settings",
2345+
"type": "boolean",
2346+
"default_value": true,
2347+
"description": "Set to `true` to apply group level repository settings to the compliance pipeline repository. See `repo_git_provider` as an example.",
2348+
"required": false
2349+
},
2350+
{
2351+
"key": "compliance_pipeline_repo_title",
2352+
"type": "string",
2353+
"default_value": "",
2354+
"description": "(Optional) The title of the server. e.g. My Git Enterprise Server.",
2355+
"required": false
2356+
},
2357+
{
2358+
"key": "compliance_pipeline_repo_root_url",
2359+
"type": "string",
2360+
"default_value": "",
2361+
"description": "(Optional) The Root URL of the server. e.g. https://git.example.com.",
2362+
"required": false
2363+
},
2364+
{
2365+
"key": "compliance_pipeline_repo_blind_connection",
2366+
"type": "string",
2367+
"default_value": "false",
2368+
"description": "Setting this value to `true` means the server is not addressable on the public internet. IBM Cloud will not be able to validate the connection details you provide. Certain functionality that requires API access to the git server will be disabled. Delivery pipeline will only work using a private worker that has network access to the git server.",
2369+
"required": false
2370+
},
23152371
{
23162372
"key": "compliance_pipeline_repo_git_provider",
23172373
"type": "string",

0 commit comments

Comments
 (0)