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.
pipeline for tfsec code
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 -f junit --out tfsec.test.xml
artifacts:
reports:
junit: "tfsec.test.xml"
paths:
- "tfsec.test.xml"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment