mirror of
https://github.com/corda/corda.git
synced 2024-12-18 20:47:57 +00:00
ES-562: Updating modules to scan on Snyk nightly (#7392)
This commit is contained in:
parent
c56ee1cc73
commit
41e9298b19
@ -3,5 +3,5 @@
|
|||||||
cordaSnykScanPipeline (
|
cordaSnykScanPipeline (
|
||||||
snykTokenId: 'c4-os-snyk-api-token-secret',
|
snykTokenId: 'c4-os-snyk-api-token-secret',
|
||||||
// specify the Gradle submodules to scan and monitor on snyk Server
|
// specify the Gradle submodules to scan and monitor on snyk Server
|
||||||
modulesToScan: ['node', 'capsule', 'bridge', 'bridgecapsule']
|
modulesToScan: ['node', 'capsule']
|
||||||
)
|
)
|
||||||
|
2
.ci/dev/regression/Jenkinsfile
vendored
2
.ci/dev/regression/Jenkinsfile
vendored
@ -92,7 +92,7 @@ pipeline {
|
|||||||
steps {
|
steps {
|
||||||
script {
|
script {
|
||||||
// Invoke Snyk for each Gradle sub project we wish to scan
|
// Invoke Snyk for each Gradle sub project we wish to scan
|
||||||
def modulesToScan = ['node', 'capsule', 'bridge', 'bridgecapsule']
|
def modulesToScan = ['node', 'capsule']
|
||||||
modulesToScan.each { module ->
|
modulesToScan.each { module ->
|
||||||
snykSecurityScan("${env.SNYK_API_KEY}", "--sub-project=$module --configuration-matching='^runtimeClasspath\$' --prune-repeated-subdependencies --debug --target-reference='${env.BRANCH_NAME}' --project-tags=Branch='${env.BRANCH_NAME.replaceAll("[^0-9|a-z|A-Z]+","_")}'")
|
snykSecurityScan("${env.SNYK_API_KEY}", "--sub-project=$module --configuration-matching='^runtimeClasspath\$' --prune-repeated-subdependencies --debug --target-reference='${env.BRANCH_NAME}' --project-tags=Branch='${env.BRANCH_NAME.replaceAll("[^0-9|a-z|A-Z]+","_")}'")
|
||||||
}
|
}
|
||||||
|
2
.github/workflows/check-pr-title.yml
vendored
2
.github/workflows/check-pr-title.yml
vendored
@ -9,6 +9,6 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: morrisoncole/pr-lint-action@v1.6.1
|
- uses: morrisoncole/pr-lint-action@v1.6.1
|
||||||
with:
|
with:
|
||||||
title-regex: '^((CORDA|AG|EG|ENT|INFRA|NAAS|ES)-\d+)(.*)'
|
title-regex: '^((CORDA|AG|EG|ENT|INFRA|ES)-\d+)(.*)'
|
||||||
on-failed-regex-comment: "PR title failed to match regex -> `%regex%`"
|
on-failed-regex-comment: "PR title failed to match regex -> `%regex%`"
|
||||||
repo-token: "${{ secrets.GITHUB_TOKEN }}"
|
repo-token: "${{ secrets.GITHUB_TOKEN }}"
|
||||||
|
Loading…
Reference in New Issue
Block a user