Loading templates/gitlab-ci-terraform.yml +6 −0 Original line number Diff line number Diff line Loading @@ -1190,6 +1190,8 @@ tf-trivy: entrypoint: [""] stage: test needs: [] variables: TRIVY_CACHE_DIR: ".trivycache/" script: - mkdir -p -m 777 reports - exit_code=0 Loading @@ -1210,6 +1212,10 @@ tf-trivy: paths: - "$TF_PROJECT_DIR/reports/tf-trivy.*" dependencies: [] cache: - key: "$CI_COMMIT_REF_SLUG-trivy" paths: - .trivycache/ rules: - if: '$TF_TRIVY_DISABLED == "true"' when: never Loading Loading
templates/gitlab-ci-terraform.yml +6 −0 Original line number Diff line number Diff line Loading @@ -1190,6 +1190,8 @@ tf-trivy: entrypoint: [""] stage: test needs: [] variables: TRIVY_CACHE_DIR: ".trivycache/" script: - mkdir -p -m 777 reports - exit_code=0 Loading @@ -1210,6 +1212,10 @@ tf-trivy: paths: - "$TF_PROJECT_DIR/reports/tf-trivy.*" dependencies: [] cache: - key: "$CI_COMMIT_REF_SLUG-trivy" paths: - .trivycache/ rules: - if: '$TF_TRIVY_DISABLED == "true"' when: never Loading