Skip to content

Commit

Permalink
chore: add quality gates (#556)
Browse files Browse the repository at this point in the history
* chore: add quality gates

* chore: remove snyk scan from build.yml

* chore: fix typo
  • Loading branch information
cvaidas authored Jun 26, 2024
1 parent fae943b commit 033d94f
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 18 deletions.
19 changes: 17 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,19 @@
version: 2.1

orbs:
prodsec: snyk/[email protected]
prodsec: snyk/prodsec-orb@1

jobs:
security-scans:
resource_class: small
docker:
- image: cimg/openjdk:17.0
steps:
- checkout
- prodsec/security_scans:
mode: auto
open-source-additional-arguments: --exclude=test
iac-scan: disabled

workflows:
version: 2
Expand All @@ -11,4 +23,7 @@ workflows:
name: Scan repository for secrets
context:
- snyk-bot-slack
channel: dx-local-alerts
channel: snyk-on-snyk-devex_ide

- security-scans:
context: devex_ide
16 changes: 0 additions & 16 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,22 +51,6 @@ jobs:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
SNYK_ORG_NAME: ${{ secrets.SNYK_ORG_NAME }}

snyk:
name: Snyk Tests
needs: gradleValidation
runs-on: ubuntu-latest
steps:
- name: Fetch Sources
uses: actions/checkout@v4

- name: Install Snyk
uses: snyk/actions/[email protected]

- name: Snyk Monitor SCA
run: snyk monitor --all-projects --exclude=integTest --org=9cff56cd-57d1-49b8-9238-69ebfde7142f
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}

pluginVerifier:
name: Plugin Verifier
needs: gradleValidation
Expand Down

0 comments on commit 033d94f

Please sign in to comment.