File tree Expand file tree Collapse file tree 1 file changed +55
-0
lines changed
task/sast-unicode-check/0.1/tests Expand file tree Collapse file tree 1 file changed +55
-0
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ apiVersion : tekton.dev/v1
3
+ kind : Pipeline
4
+ metadata :
5
+ name : test-sast-unicode-check
6
+ spec :
7
+ description : |
8
+ Test the sast-unicode-check task with the DVWA web application
9
+ workspaces :
10
+ - name : tests-workspace
11
+ tasks :
12
+ - name : run-task
13
+ workspaces :
14
+ - name : output
15
+ workspace : tests-workspace
16
+ params :
17
+ - name : url
18
+ value : https://gitlab.cee.redhat.com/chhan/unicode_control_test
19
+ - name : revision
20
+ value : main
21
+ taskRef :
22
+ resolver : git
23
+ params :
24
+ - name : url
25
+ value : https://github.com/konflux-ci/build-definitions.git
26
+ - name : revision
27
+ value : main
28
+ - name : pathInRepo
29
+ value : task/git-clone/0.1/git-clone.yaml
30
+ - name : scan-with-unicode
31
+ workspaces :
32
+ - name : workspace
33
+ workspace : tests-workspace
34
+ runAfter :
35
+ - run-task
36
+ taskRef :
37
+ name : sast-unicode-check
38
+ params :
39
+ - name : image-url
40
+ value : " https://gitlab.cee.redhat.com/chhan/unicode_control_test"
41
+ - name : check-result
42
+ runAfter :
43
+ - scan-with-unicode
44
+ workspaces :
45
+ - name : workspace
46
+ workspace : tests-workspace
47
+ taskSpec :
48
+ steps :
49
+ - name : check-result
50
+ image : quay.io/konflux-ci/appstudio-utils:48c311af02858e2422d6229600e9959e496ddef1@sha256:91ddd999271f65d8ec8487b10f3dd378f81aa894e11b9af4d10639fd52bba7e8
51
+ script : |
52
+ #!/usr/bin/env sh
53
+ set -eux
54
+ files=$(find "$(workspaces.tests-workspace.path)/source/" -mindepth 1 -maxdepth 1)
55
+ test -n "$files"
You can’t perform that action at this time.
0 commit comments