Skip to content
Snippets Groups Projects
Commit 89a12a0c authored by Jean-Paul Calderone's avatar Jean-Paul Calderone
Browse files

Try to allow the failure through GitLab

parent 3e1b80f8
No related branches found
No related tags found
3 merge requests!85Update production to staging,!71Bring Staging up to current Develop version,!64Run vulnerability scan on CI
Pipeline #312 passed with warnings
......@@ -10,6 +10,7 @@ unit-tests:
vulnerability-scan:
stage: "test"
allow_failure: true
script:
- "ci-tools/vulnerability-scan security-report.txt"
artifacts:
......
......@@ -30,6 +30,7 @@ else
fi
'
# vulnix exits with an error status if there are vulnerabilities. we don't
# want to fail the job in that case because then we can't see the report.
nix-shell -p vulnix --run 'vulnix ./scan-target/ || true' | tee "$OUTPUT"
# vulnix exits with an error status if there are vulnerabilities. We told
# GitLab to allow this by setting `allow_failure` to true in the GitLab CI
# config.
nix-shell -p vulnix --run 'vulnix ./scan-target/' | tee "$OUTPUT"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment