Skip to content
16 changes: 15 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
version: 2.1
orbs:
slack: circleci/slack@4.1
slack: circleci/slack@4.15.0
trivy-scan: arangodb/trivy-scan@1.6.0
executors:
golang-executor:
docker:
Expand Down Expand Up @@ -389,6 +390,17 @@ jobs:
- run: make vulncheck
- *notify_slack_on_fail

dependency-cve-scan:
executor: golang-executor
steps:
- checkout
- trivy-scan/scan:
scan-type: fs
scan-path: "."
severity: "CRITICAL,HIGH"
fail-on-findings: false
store-junit-results: true

# GitHub release (tags VERSION bump, git push, github-release draft → publish).
# Requires CircleCI context: GITHUB_TOKEN or RELEASER_GITHUB_TOKEN (repo contents write). Optional: GIT_USER_NAME, GIT_USER_EMAIL.
# Pipeline parameter `publish` must be the exact Make target (see publish-release workflow regex).
Expand Down Expand Up @@ -456,6 +468,7 @@ workflows:
pattern: *publish_release_target_regex
jobs:
- check-code
- dependency-cve-scan
Comment thread
MarkusReadius marked this conversation as resolved.
- run-unit-tests:
requires:
- check-code
Expand Down Expand Up @@ -649,6 +662,7 @@ workflows:
- vulncheck:
context:
- slack
- dependency-cve-scan
triggers:
- schedule:
# 6:00 on every Monday
Expand Down