Skip to content

Commit

Permalink
chore(circleci): skip monitoring of the project during CICD workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
pavel-snyk committed Nov 12, 2024
1 parent 84cec37 commit a6599f0
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: 2.1
orbs:
prodsec: snyk/[email protected]
slack: circleci/[email protected]
snyk: snyk/snyk@1.7.2
snyk: snyk/snyk@2.2.0

defaults: &defaults
docker:
Expand Down Expand Up @@ -290,6 +290,9 @@ jobs:
scan-docker-image:
<<: *defaults
parameters:
monitor_on_build:
type: boolean
default: true
project:
type: string
project_name:
Expand All @@ -308,6 +311,7 @@ jobs:
additional-arguments: --policy-path=.snyk
docker-image-name: <<parameters.project_name>>:$CIRCLE_WORKFLOW_ID
fail-on-issues: <<pipeline.parameters.fail_on_issues>>
monitor-on-build: <<parameters.monitor_on_build>>
organization: platform-broker
project: <<parameters.project>>
severity-threshold: <<parameters.severity_threshold>>
Expand Down Expand Up @@ -439,6 +443,7 @@ workflows:
- Build base image (Ubuntu)
project: snyk/broker
project_name: broker
monitor_on_build: false

- build-and-save-docker-ubi-image:
name: Build base image (RHEL)
Expand All @@ -456,9 +461,7 @@ workflows:
- Build base image (RHEL)
project: snyk/broker-rhel-ubi
project_name: broker-rhel-ubi
post-steps:
- notify-slack-on-failure:
channel: broker-alerts-vulns
monitor_on_build: false

- release:
name: Release to GitHub and NPM
Expand Down

0 comments on commit a6599f0

Please sign in to comment.