Skip to content

Commit b79aedd

Browse files
authored
test: CRA scan should scan DA folders (#153)
1 parent 7dc6fc0 commit b79aedd

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

cra-config.yaml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,22 @@
11
# More info about this file at https://github.com/terraform-ibm-modules/common-pipeline-assets/blob/main/.github/workflows/terraform-test-pipeline.md#cra-config-yaml
22
version: "v1"
33
CRA_TARGETS:
4-
- CRA_TARGET: "examples/apps" # Target directory for CRA scan. If not provided, the CRA Scan will not be run.
4+
- CRA_TARGET: "solutions/apps" # Target directory for CRA scan. If not provided, the CRA Scan will not be run.
55
CRA_IGNORE_RULES_FILE: "cra-tf-validate-ignore-rules.json" # CRA Ignore file to use. If not provided, it checks the repo root directory for `cra-tf-validate-ignore-rules.json`
66
PROFILE_ID: "fe96bd4d-9b37-40f2-b39f-a62760e326a3" # SCC profile ID (currently set to 'IBM Cloud Framework for Financial Services' '1.7.0' profile).
77
CRA_ENVIRONMENT_VARIABLES:
8-
TF_VAR_acme_letsencrypt_private_key: "DUMMY VALUE FOR CRA"
9-
TF_VAR_cis_id: "crn:v1:bluemix:public:internet-svcs:global:a/abac0df06b644a9cabc6e44f55b3880e:59aa1a88-ac47-45e4-bd96-2bc778d26ca7::"
108
TF_VAR_provider_visibility: "public"
9+
TF_VAR_resource_group_name: "resource_group_name_temp"
10+
TF_VAR_app_name: "app-name"
11+
TF_VAR_image_reference: "icr.io/codeengine/helloworld"
12+
TF_VAR_project_name: "project-name"
13+
- CRA_TARGET: "solutions/projects" # Target directory for CRA scan. If not provided, the CRA Scan will not be run.
14+
CRA_IGNORE_RULES_FILE: "cra-tf-validate-ignore-rules.json" # CRA Ignore file to use. If not provided, it checks the repo root directory for `cra-tf-validate-ignore-rules.json`
15+
PROFILE_ID: "fe96bd4d-9b37-40f2-b39f-a62760e326a3" # SCC profile ID (currently set to 'IBM Cloud Framework for Financial Services' '1.7.0' profile).
16+
CRA_ENVIRONMENT_VARIABLES:
17+
TF_VAR_provider_visibility: "public"
18+
TF_VAR_resource_group_name: "resource_group_name_temp"
19+
TF_VAR_project_names: ["project-name"]
1120
# SCC_INSTANCE_ID: "" # The SCC instance ID to use to download profile for CRA scan. If not provided, a default global value will be used.
1221
# SCC_REGION: "" # The IBM Cloud region that the SCC instance is in. If not provided, a default global value will be used.
1322
# CRA_ENVIRONMENT_VARIABLES: # An optional map of environment variables for CRA, where the key is the variable name and value is the value. Useful for providing TF_VARs.

0 commit comments

Comments
 (0)