Skip to content

Instantly share code, notes, and snippets.

@lacoski
Forked from sumansrivastava/tfsec.gitlab-ci.yml
Created February 23, 2023 17:01
Show Gist options
  • Save lacoski/1d300df80055fc26729cda9aeb1b1e04 to your computer and use it in GitHub Desktop.
Save lacoski/1d300df80055fc26729cda9aeb1b1e04 to your computer and use it in GitHub Desktop.

Revisions

  1. @sumansrivastava sumansrivastava revised this gist Aug 21, 2021. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion tfsec.gitlab-ci.yml
    Original file line number Diff line number Diff line change
    @@ -8,7 +8,7 @@ unit_test:
    - '/usr/bin/env'
    - 'PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'
    script:
    - tfsec . | tee tfsec.test.xml
    - tfsec -f junit --out tfsec.test.xml
    artifacts:
    reports:
    junit: "tfsec.test.xml"
  2. @sumansrivastava sumansrivastava created this gist May 2, 2021.
    16 changes: 16 additions & 0 deletions tfsec.gitlab-ci.yml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,16 @@
    stages:
    - test
    unit_test:
    stage: test
    image:
    name: tfsec/tfsec-ci
    entrypoint:
    - '/usr/bin/env'
    - 'PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'
    script:
    - tfsec . | tee tfsec.test.xml
    artifacts:
    reports:
    junit: "tfsec.test.xml"
    paths:
    - "tfsec.test.xml"