Skip to content

Commit 3684a75

Browse files
authored
ci: update modules (#119)
1 parent 3ca22fd commit 3684a75

File tree

4 files changed

+349
-391
lines changed

4 files changed

+349
-391
lines changed

README.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,9 @@ statement instead the previous block.
7777

7878
| Name | Source | Version |
7979
|------|--------|---------|
80-
| <a name="module_devsecops_cc_toolchain"></a> [devsecops\_cc\_toolchain](#module\_devsecops\_cc\_toolchain) | git::https://github.com/terraform-ibm-modules/terraform-ibm-devsecops-cc-toolchain | v1.0.3 |
81-
| <a name="module_devsecops_cd_toolchain"></a> [devsecops\_cd\_toolchain](#module\_devsecops\_cd\_toolchain) | git::https://github.com/terraform-ibm-modules/terraform-ibm-devsecops-cd-toolchain | v1.0.3 |
82-
| <a name="module_devsecops_ci_toolchain"></a> [devsecops\_ci\_toolchain](#module\_devsecops\_ci\_toolchain) | git::https://github.com/terraform-ibm-modules/terraform-ibm-devsecops-ci-toolchain | v1.0.3 |
80+
| <a name="module_devsecops_cc_toolchain"></a> [devsecops\_cc\_toolchain](#module\_devsecops\_cc\_toolchain) | git::https://github.com/terraform-ibm-modules/terraform-ibm-devsecops-cc-toolchain | v1.0.4-beta.1 |
81+
| <a name="module_devsecops_cd_toolchain"></a> [devsecops\_cd\_toolchain](#module\_devsecops\_cd\_toolchain) | git::https://github.com/terraform-ibm-modules/terraform-ibm-devsecops-cd-toolchain | v1.0.4-beta.1 |
82+
| <a name="module_devsecops_ci_toolchain"></a> [devsecops\_ci\_toolchain](#module\_devsecops\_ci\_toolchain) | git::https://github.com/terraform-ibm-modules/terraform-ibm-devsecops-ci-toolchain | v1.0.4-beta.1 |
8383

8484
## Resources
8585

@@ -182,7 +182,6 @@ No resources.
182182
| <a name="input_cd_cos_endpoint"></a> [cd\_cos\_endpoint](#input\_cd\_cos\_endpoint) | COS endpoint name. | `string` | `""` | no |
183183
| <a name="input_cd_customer_impact"></a> [cd\_customer\_impact](#input\_cd\_customer\_impact) | Custom impact of the change request. | `string` | `"no_impact"` | no |
184184
| <a name="input_cd_deployment_group"></a> [cd\_deployment\_group](#input\_cd\_deployment\_group) | Specify group for deployment. | `string` | `""` | no |
185-
| <a name="input_cd_deployment_repo"></a> [cd\_deployment\_repo](#input\_cd\_deployment\_repo) | This repository contains scripts to perform deployment of a docker container for simple Node.js microservice using reference DevSecOps toolchain templates. | `string` | `""` | no |
186185
| <a name="input_cd_deployment_repo_auth_type"></a> [cd\_deployment\_repo\_auth\_type](#input\_cd\_deployment\_repo\_auth\_type) | Select the method of authentication that is used to access the Git provider. 'oauth' or 'pat'. | `string` | `"oauth"` | no |
187186
| <a name="input_cd_deployment_repo_clone_from_branch"></a> [cd\_deployment\_repo\_clone\_from\_branch](#input\_cd\_deployment\_repo\_clone\_from\_branch) | Used when deployment\_repo\_clone\_from\_url is provided, the default branch that is used by the CD build, usually either main or master. | `string` | `""` | no |
188187
| <a name="input_cd_deployment_repo_clone_from_url"></a> [cd\_deployment\_repo\_clone\_from\_url](#input\_cd\_deployment\_repo\_clone\_from\_url) | Override the default sample app by providing your own sample deployment URL, which is cloned into the app repo. Note, using clone\_if\_not\_exists mode, so if the app repo already exists the repo contents are unchanged. | `string` | `""` | no |
@@ -223,7 +222,6 @@ No resources.
223222
| <a name="input_cd_pipeline_config_repo_git_token_secret_name"></a> [cd\_pipeline\_config\_repo\_git\_token\_secret\_name](#input\_cd\_pipeline\_config\_repo\_git\_token\_secret\_name) | Name of the Git token secret in the secret provider. | `string` | `"git-token"` | no |
224223
| <a name="input_cd_pipeline_debug"></a> [cd\_pipeline\_debug](#input\_cd\_pipeline\_debug) | '0' by default. Set to '1' to enable debug logging. | `string` | `"0"` | no |
225224
| <a name="input_cd_pipeline_ibmcloud_api_key_secret_name"></a> [cd\_pipeline\_ibmcloud\_api\_key\_secret\_name](#input\_cd\_pipeline\_ibmcloud\_api\_key\_secret\_name) | Name of the Cloud API key secret in the secret provider. | `string` | `"ibmcloud-api-key"` | no |
226-
| <a name="input_cd_region"></a> [cd\_region](#input\_cd\_region) | The target region where the app is deployed. | `string` | `""` | no |
227225
| <a name="input_cd_repositories_prefix"></a> [cd\_repositories\_prefix](#input\_cd\_repositories\_prefix) | Prefix name for the cloned compliance repos. | `string` | `"compliance"` | no |
228226
| <a name="input_cd_satellite_cluster_group"></a> [cd\_satellite\_cluster\_group](#input\_cd\_satellite\_cluster\_group) | The Satellite cluster group | `string` | `""` | no |
229227
| <a name="input_cd_scc_enable_scc"></a> [cd\_scc\_enable\_scc](#input\_cd\_scc\_enable\_scc) | Enable the SCC integration. | `bool` | `false` | no |

main.tf

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module "devsecops_ci_toolchain" {
22
count = var.create_ci_toolchain ? 1 : 0
3-
source = "git::https://github.com/terraform-ibm-modules/terraform-ibm-devsecops-ci-toolchain?ref=v1.0.3"
3+
source = "git::https://github.com/terraform-ibm-modules/terraform-ibm-devsecops-ci-toolchain?ref=v1.0.4-beta.1"
44
ibmcloud_api_key = var.ibmcloud_api_key
55

66
toolchain_name = var.ci_toolchain_name
@@ -123,7 +123,7 @@ module "devsecops_ci_toolchain" {
123123

124124
module "devsecops_cd_toolchain" {
125125
count = var.create_cd_toolchain ? 1 : 0
126-
source = "git::https://github.com/terraform-ibm-modules/terraform-ibm-devsecops-cd-toolchain?ref=v1.0.3"
126+
source = "git::https://github.com/terraform-ibm-modules/terraform-ibm-devsecops-cd-toolchain?ref=v1.0.4-beta.1"
127127
ibmcloud_api_key = var.ibmcloud_api_key
128128

129129
toolchain_name = var.cd_toolchain_name
@@ -186,8 +186,6 @@ module "devsecops_cd_toolchain" {
186186
issues_repo_url = try(module.devsecops_ci_toolchain[0].issues_repo_url, var.issues_repo_url)
187187
inventory_repo_url = try(module.devsecops_ci_toolchain[0].inventory_repo_url, var.inventory_repo_url)
188188

189-
190-
deployment_repo = var.cd_deployment_repo
191189
change_management_repo = var.cd_change_management_repo
192190
change_repo_clone_from_url = var.cd_change_repo_clone_from_url
193191
deployment_repo_existing_git_provider = var.cd_deployment_repo_existing_git_provider
@@ -229,7 +227,6 @@ module "devsecops_cd_toolchain" {
229227
emergency_label = var.cd_emergency_label
230228
app_version = var.cd_app_version
231229
pipeline_debug = var.cd_pipeline_debug
232-
region = var.cd_region
233230

234231
#SLACK INTEGRATION
235232
enable_slack = var.cd_enable_slack
@@ -251,7 +248,7 @@ module "devsecops_cd_toolchain" {
251248

252249
module "devsecops_cc_toolchain" {
253250
count = var.create_cc_toolchain ? 1 : 0
254-
source = "git::https://github.com/terraform-ibm-modules/terraform-ibm-devsecops-cc-toolchain?ref=v1.0.3"
251+
source = "git::https://github.com/terraform-ibm-modules/terraform-ibm-devsecops-cc-toolchain?ref=v1.0.4-beta.1"
255252
ibmcloud_api_key = var.ibmcloud_api_key
256253
toolchain_name = var.cc_toolchain_name
257254
toolchain_description = var.cc_toolchain_description

0 commit comments

Comments
 (0)