GitLab ci example allow_failure can not be a var
* GitLab ci example allow_failure can not be a var
In the hosted gitlab.com having a variable for allow_failure fails the CI Lint. Also remove the junit file when the output mode is text.
* Add back checkov.test.xml on cli output job
@@ -17,12 +17,10 @@ Here is a basic example:
```yaml
stages:
- test
-variables:
- ALLOWFAILURE: true #True for AutoDevOps compatibility
checkov:
stage: test
- allow_failure: $ALLOWFAILURE
+ allow_failure: true #True for AutoDevOps compatibility
image:
name: bridgecrew/checkov:latest
entrypoint:
@@ -72,12 +70,10 @@ Note that in the examples above, the output of the test results does not display
```yaml
stages:
- test
-variables:
- ALLOWFAILURE: true #True for AutoDevOps compatibility
checkov:
stage: test
- allow_failure: $ALLOWFAILURE
+ allow_failure: true #True for AutoDevOps compatibility
image:
name: bridgecrew/checkov:latest
entrypoint:
