Skip to content

Commit 9c70955

Browse files
Merge branch '11.1.x' into 12.0.x
2 parents 8ca5a71 + cb7e5a8 commit 9c70955

File tree

5 files changed

+12
-48
lines changed

5 files changed

+12
-48
lines changed

.semaphore/project.yml

Lines changed: 0 additions & 43 deletions
This file was deleted.

.semaphore/semaphore.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,15 @@ blocks:
3737
jobs:
3838
- name: Test
3939
commands:
40-
- pip install confluent-release-tools -q
4140
- . sem-pint
42-
- mvn -Dcloud -Pjenkins -U -Dmaven.wagon.http.retryHandler.count=10 --batch-mode --no-transfer-progress clean verify install dependency:analyze validate
43-
- cve-scan
41+
- mvn -Dcloud -Pjenkins -U -Dmaven.wagon.http.retryHandler.count=10 -Ddependency.check.skip=true --batch-mode --no-transfer-progress clean verify install dependency:analyze validate
42+
- export TRIVY_DISABLE_VEX_NOTICE=true
43+
- trivy version
44+
- echo "Check go/connector-dev-vuln-remediation for fixing or suppressing vulnerabilities found by trivy"
45+
- trivy --skip-files "*.zip" rootfs --scanners vuln --db-repository public.ecr.aws/aquasecurity/trivy-db --java-db-repository public.ecr.aws/aquasecurity/trivy-java-db --ignore-unfixed --ignorefile
46+
.trivyignore --exit-code 1 --severity CRITICAL target/components/packages
47+
- trivy --skip-files "*.zip" rootfs --scanners vuln --db-repository public.ecr.aws/aquasecurity/trivy-db --java-db-repository public.ecr.aws/aquasecurity/trivy-java-db --ignore-unfixed --ignorefile
48+
.trivyignore --severity HIGH,LOW,MEDIUM target/components/packages
4449
- . cache-maven store
4550
epilogue:
4651
always:
@@ -57,7 +62,7 @@ blocks:
5762
jobs:
5863
- name: Release
5964
commands:
60-
- mvn -Dcloud -Pjenkins -U -Dmaven.wagon.http.retryHandler.count=10 --batch-mode -DaltDeploymentRepository=confluent-codeartifact-internal::default::https://confluent-519856050701.d.codeartifact.us-west-2.amazonaws.com/maven/maven-snapshots/
65+
- mvn -Dcloud -Pjenkins -U -Dmaven.wagon.http.retryHandler.count=10 -Ddependency.check.skip=true --batch-mode -DaltDeploymentRepository=confluent-codeartifact-internal::default::https://confluent-519856050701.d.codeartifact.us-west-2.amazonaws.com/maven/maven-snapshots/
6166
-DrepositoryId=confluent-codeartifact-internal deploy -DskipTests
6267
- name: Release Notes
6368
dependencies: []

.trivyignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# See https://aquasecurity.github.io/trivy/v0.56/docs/configuration/filtering/#trivyignore for guidance on adding exceptions for Trivy scanner

service.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ codeowners:
88
semaphore:
99
enable: true
1010
pipeline_type: cp
11-
cve_scan: true
11+
trivy_scan: true
1212
extra_deploy_args: "-Dcloud -Pjenkins"
1313
extra_build_args: "-Dcloud -Pjenkins"
1414
run_pint_merge: true

sonar-project.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
### service-bot sonarqube plugin managed file
22
sonar.coverage.exclusions=**/test/**/*,**/tests/**/*,**/mock/**/*,**/mocks/**/*,**/*mock*,**/*test*
33
sonar.coverage.jacoco.xmlReportPaths=**/jacoco.xml
4+
sonar.cpd.exclusions=**/test/**/*,**/tests/**/*,**/mock/**/*,**/mocks/**/*,**/*mock*,**/*test*
45
sonar.exclusions=**/*.pb.*,**/mk-include/**/*
56
sonar.java.binaries=.
67
sonar.language=java

0 commit comments

Comments
 (0)