Skip to content

Commit

Permalink
fix: optionally include compliance pipeline repo in group repo settin…
Browse files Browse the repository at this point in the history
…gs (#509)
  • Loading branch information
huayuenh authored Nov 12, 2024
1 parent 5cb7f5f commit 6cbf00e
Show file tree
Hide file tree
Showing 11 changed files with 197 additions and 38 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -468,11 +468,15 @@ statement instead the previous block.
| <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 |
| <a name="input_compliance_pipeline_group"></a> [compliance\_pipeline\_group](#input\_compliance\_pipeline\_group) | Specify user or group for compliance pipline repository. | `string` | `""` | no |
| <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 |
| <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 |
| <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 |
| <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 |
| <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 |
| <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 |
| <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 |
| <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 |
| <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 |
| <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 |
| <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 |
| <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 |
| <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 |
Expand Down
56 changes: 56 additions & 0 deletions ibm_catalog.json
Original file line number Diff line number Diff line change
Expand Up @@ -397,6 +397,34 @@
"description": "Set to use an existing issues repository.",
"required": false
},
{
"key": "compliance_pipeline_repo_use_group_settings",
"type": "boolean",
"default_value": true,
"description": "Set to `true` to apply group level repository settings to the compliance pipeline repository. See `repo_git_provider` as an example.",
"required": false
},
{
"key": "compliance_pipeline_repo_title",
"type": "string",
"default_value": "",
"description": "(Optional) The title of the server. e.g. My Git Enterprise Server.",
"required": false
},
{
"key": "compliance_pipeline_repo_root_url",
"type": "string",
"default_value": "",
"description": "(Optional) The Root URL of the server. e.g. https://git.example.com.",
"required": false
},
{
"key": "compliance_pipeline_repo_blind_connection",
"type": "string",
"default_value": "false",
"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.",
"required": false
},
{
"key": "compliance_pipeline_repo_git_provider",
"type": "string",
Expand Down Expand Up @@ -2312,6 +2340,34 @@
"description": "Set to use an existing issues repository.",
"required": false
},
{
"key": "compliance_pipeline_repo_use_group_settings",
"type": "boolean",
"default_value": true,
"description": "Set to `true` to apply group level repository settings to the compliance pipeline repository. See `repo_git_provider` as an example.",
"required": false
},
{
"key": "compliance_pipeline_repo_title",
"type": "string",
"default_value": "",
"description": "(Optional) The title of the server. e.g. My Git Enterprise Server.",
"required": false
},
{
"key": "compliance_pipeline_repo_root_url",
"type": "string",
"default_value": "",
"description": "(Optional) The Root URL of the server. e.g. https://git.example.com.",
"required": false
},
{
"key": "compliance_pipeline_repo_blind_connection",
"type": "string",
"default_value": "false",
"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.",
"required": false
},
{
"key": "compliance_pipeline_repo_git_provider",
"type": "string",
Expand Down
Loading

0 comments on commit 6cbf00e

Please sign in to comment.