forked from tektoncd/pipeline
-
Notifications
You must be signed in to change notification settings - Fork 0
/
run-kritis-test.yaml
57 lines (57 loc) · 1.52 KB
/
run-kritis-test.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
apiVersion: pipeline.knative.dev/v1beta1
kind: TaskRun
metadata:
labels:
controller-tools.k8s.io: "1.0"
name: unit-test-kritis-feature-x
spec:
taskRef:
name: make
trigger:
triggerRef:
type: manual
inputs:
sources:
- name: 'kritis'
type: 'github'
url: 'github.com/grafeas/kritis'
branch: 'featureX'
commit: 'HEAD'
params:
- name: 'makeTarget'
type: 'string'
value: 'test'
results:
runs:
name: 'runsBucket'
type: 'gcs'
url: 'gcs://somebucket/results/runs'
logs:
name: 'logBucket'
type: 'gcs'
url: 'gcs://somebucket/results/logs'
tests:
name: 'testBucket'
type: 'gcs'
url: 'gcs://somebucket/results/tests'
status:
steps:
- name: make
logsURL: 'gcs://somebucket/results/tests/unit-test-kritis-feature-x/make'
exitCode: 0
conditions:
- type: Started
status: "True"
lastTransitionTime: "2018-10-04T12:25:39Z"
reason: pipelineRun
message: "Task has been triggered by a Pipeline run"
- type: Completed
status: "True"
lastTransitionTime: "2018-10-04T13:25:39Z"
reason: done
message: "Pipeline execution has finished"
- type: Successful
status: "True"
lastTransitionTime: "2018-10-04T13:25:39Z"
reason: zeroExitCode
message: "All steps completed with an exit code of 0"