Skip to content

Commit

Permalink
Add synk ci integration
Browse files Browse the repository at this point in the history
  • Loading branch information
joedarby committed Mar 4, 2021
1 parent be9e752 commit 3f2cc11
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
version: 2.1

orbs:
snyk: snyk/[email protected]

executors:
docker:
docker:
Expand Down Expand Up @@ -67,6 +70,18 @@ commands:
git config user.email "[email protected]"
jobs:
snyk_test:
docker:
- image: circleci/openjdk:8-jdk
steps:
- checkout
- snyk/scan:
project: '${CIRCLE_PROJECT_REPONAME}'
severity-threshold: high
fail-on-issues: false
monitor-on-build: true
organization: 'oep-comms'

build:

executor: docker
Expand Down Expand Up @@ -261,6 +276,13 @@ workflows:

main:
jobs:
- snyk_test:
context: ovo-internal-public
filters:
branches:
only:
- master

- build:
context: ovo-internal-public

Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ target/
.idea/
.idea_modules/
*.iml
.bsp

# metals
.metals/
Expand Down
1 change: 1 addition & 0 deletions project/plugins.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ addSbtPlugin("com.dwijnand" % "sbt-dynver" % "4.1.1")
addSbtPlugin("ch.epfl.scala" % "sbt-release-early" % "2.1.1")
addSbtPlugin("de.heikoseeberger" % "sbt-header" % "5.6.0")
addSbtPlugin("io.github.davidgregory084" % "sbt-tpolecat" % "0.1.16")
addSbtPlugin("net.virtual-void" % "sbt-dependency-graph" % "0.10.0-RC1")

0 comments on commit 3f2cc11

Please sign in to comment.