Skip to content

Commit

Permalink
ci: updated CRA config to scan the DA directories (#501)
Browse files Browse the repository at this point in the history
  • Loading branch information
ocofaigh authored Oct 21, 2024
1 parent 6842a85 commit a1e8fef
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions cra-config.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,17 @@
# 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
version: "v1"
CRA_TARGETS:
- CRA_TARGET: "./" # Target directory for CRA scan. If not provided, the CRA Scan will not be run.
- CRA_TARGET: "solutions/code-engine" # Target directory for CRA scan. If not provided, the CRA Scan will not be run.
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`
PROFILE_ID: "0e6e7b5a-817d-4344-ab6f-e5d7a9c49520" # SCC profile ID (currently set to the FSCloud 1.4.0 profile).
PROFILE_ID: "0e6e7b5a-817d-4344-ab6f-e5d7a9c49520" # SCC profile ID (currently set to 'IBM Cloud Framework for Financial Services' '1.6.0' profile).
SCC_INSTANCE_ID: "293a81bc-b706-4a2b-b2f8-36010a0373f6" # The SCC instance ID to use to download profile for CRA scan. If not provided, a default global value will be used.
SCC_REGION: "us-south" # The IBM Cloud region that the SCC instance is in. If not provided, a default global value will be used.
TOOLCHAIN_ID: "89cd838e-c251-4c7a-b30a-87e180131eb1" # The ID of the toolchain to get the profile from. Must be from an account in which the apikey has access to.
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.
TF_VAR_enable_secrets_manager: false
- CRA_TARGET: "solutions/kubernetes" # Target directory for CRA scan. If not provided, the CRA Scan will not be run.
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`
PROFILE_ID: "0e6e7b5a-817d-4344-ab6f-e5d7a9c49520" # SCC profile ID (currently set to 'IBM Cloud Framework for Financial Services' '1.6.0' profile).
SCC_INSTANCE_ID: "293a81bc-b706-4a2b-b2f8-36010a0373f6" # The SCC instance ID to use to download profile for CRA scan. If not provided, a default global value will be used.
SCC_REGION: "us-south" # The IBM Cloud region that the SCC instance is in. If not provided, a default global value will be used.
TOOLCHAIN_ID: "89cd838e-c251-4c7a-b30a-87e180131eb1" # The ID of the toolchain to get the profile from. Must be from an account in which the apikey has access to.
Expand Down

0 comments on commit a1e8fef

Please sign in to comment.