Commit b7a6dee2 authored by Pierre Smeyers's avatar Pierre Smeyers
Browse files

Merge branch '13-fix-greenit' into 'master'

fix: enable change on subdir

Closes #13

See merge request to-be-continuous/terraform!11
parents fbdff207 e80d07d3
Loading
Loading
Loading
Loading
+7 −7
Original line number Diff line number Diff line
@@ -602,11 +602,11 @@ tf-tfsec:
    # on production or integration branches: auto
    - if: '$TF_TFSEC_ENABLED == "true" && ($CI_COMMIT_REF_NAME =~ $PROD_REF || $CI_COMMIT_REF_NAME =~ $INTEG_REF)'
      changes:  
        - $TF_PROJECT_DIR/*
        - $TF_PROJECT_DIR/**/*
    # else (development branches): allow failure
    - if: '$TF_TFSEC_ENABLED == "true"'
      changes:  
        - $TF_PROJECT_DIR/*
        - $TF_PROJECT_DIR/**/*
      allow_failure: true

tf-tflint:
@@ -636,7 +636,7 @@ tf-tflint:
      when: never
    - if: $CI_COMMIT_REF_NAME  # useless but prevents GitLab from warning
      changes:  
        - $TF_PROJECT_DIR/*
        - $TF_PROJECT_DIR/**/*


tf-checkov:
@@ -668,11 +668,11 @@ tf-checkov:
    # on production or integration branches: auto
    - if: '$TF_CHECKOV_ENABLED == "true" && ($CI_COMMIT_REF_NAME =~ $PROD_REF || $CI_COMMIT_REF_NAME =~ $INTEG_REF)'
      changes:  
        - $TF_PROJECT_DIR/*    
        - $TF_PROJECT_DIR/**/*
    # else (development branches): allow failure
    - if: '$TF_CHECKOV_ENABLED == "true"'
      changes:  
        - $TF_PROJECT_DIR/*
        - $TF_PROJECT_DIR/**/*
      allow_failure: true

tf-infracost:
@@ -694,11 +694,11 @@ tf-infracost:
    # on production or integration branches: auto
    - if: '$TF_INFRACOST_ENABLED == "true" && ($CI_COMMIT_REF_NAME =~ $PROD_REF || $CI_COMMIT_REF_NAME =~ $INTEG_REF)'
      changes:  
        - $TF_PROJECT_DIR/*
        - $TF_PROJECT_DIR/**/*
    # else (development branches): allow failure
    - if: '$TF_INFRACOST_ENABLED == "true"'
      changes:  
        - $TF_PROJECT_DIR/*
        - $TF_PROJECT_DIR/**/*
      allow_failure: true