Skip to content

Commit 39d1d9b

Browse files
authored
Upload snyk reports (#467)
1 parent c583808 commit 39d1d9b

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.tekton/network-observability-cli-ystream-push.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ spec:
4545
value: Dockerfile-args.downstream
4646
- name: dockerfile
4747
value: Dockerfile.downstream
48+
- name: snyk-args
49+
value: "--project-name=netobserv-operator --report --org=824715e7-b597-4123-bdb7-ba8abc3d3b2f"
4850
pipelineRef:
4951
name: build-pipeline
5052
taskRunTemplate:

.tekton/pipeline-ref.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,10 @@ spec:
8383
default: 'false'
8484
description: Enable cache proxy configuration
8585
type: string
86+
- name: snyk-args
87+
default: ''
88+
description: Snyk arguments, e.g. for report upload
89+
type: string
8690
results:
8791
- description: ""
8892
name: IMAGE_URL
@@ -398,6 +402,8 @@ spec:
398402
value: $(tasks.prefetch-dependencies.results.SOURCE_ARTIFACT)
399403
- name: CACHI2_ARTIFACT
400404
value: $(tasks.prefetch-dependencies.results.CACHI2_ARTIFACT)
405+
- name: ARGS
406+
value: $(params.snyk-args)
401407
runAfter:
402408
- build-image-index
403409
taskRef:

0 commit comments

Comments
 (0)