forked from tektoncd/pipeline
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathswagger.json
2401 lines (2401 loc) · 102 KB
/
swagger.json
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
{
"swagger": "2.0",
"info": {
"description": "Tekton Pipeline",
"title": "Tekton",
"version": "v0.17.2"
},
"paths": {},
"definitions": {
"pod.AffinityAssistantTemplate": {
"description": "AffinityAssistantTemplate holds pod specific configuration and is a subset of the generic pod Template",
"type": "object",
"properties": {
"imagePullSecrets": {
"description": "ImagePullSecrets gives the name of the secret used by the pod to pull the image if specified",
"type": "array",
"items": {
"default": {},
"$ref": "#/definitions/v1.LocalObjectReference"
},
"x-kubernetes-list-type": "atomic"
},
"nodeSelector": {
"description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/",
"type": "object",
"additionalProperties": {
"type": "string",
"default": ""
}
},
"tolerations": {
"description": "If specified, the pod's tolerations.",
"type": "array",
"items": {
"default": {},
"$ref": "#/definitions/v1.Toleration"
},
"x-kubernetes-list-type": "atomic"
}
}
},
"pod.Template": {
"description": "Template holds pod specific configuration",
"type": "object",
"properties": {
"affinity": {
"description": "If specified, the pod's scheduling constraints",
"$ref": "#/definitions/v1.Affinity"
},
"automountServiceAccountToken": {
"description": "AutomountServiceAccountToken indicates whether pods running as this service account should have an API token automatically mounted.",
"type": "boolean"
},
"dnsConfig": {
"description": "Specifies the DNS parameters of a pod. Parameters specified here will be merged to the generated DNS configuration based on DNSPolicy.",
"$ref": "#/definitions/v1.PodDNSConfig"
},
"dnsPolicy": {
"description": "Set DNS policy for the pod. Defaults to \"ClusterFirst\". Valid values are 'ClusterFirst', 'Default' or 'None'. DNS parameters given in DNSConfig will be merged with the policy selected with DNSPolicy.",
"type": "string"
},
"enableServiceLinks": {
"description": "EnableServiceLinks indicates whether information about services should be injected into pod's environment variables, matching the syntax of Docker links. Optional: Defaults to true.",
"type": "boolean"
},
"env": {
"description": "List of environment variables that can be provided to the containers belonging to the pod.",
"type": "array",
"items": {
"default": {},
"$ref": "#/definitions/v1.EnvVar"
},
"x-kubernetes-list-type": "atomic",
"x-kubernetes-patch-merge-key": "name",
"x-kubernetes-patch-strategy": "merge"
},
"hostAliases": {
"description": "HostAliases is an optional list of hosts and IPs that will be injected into the pod's hosts file if specified. This is only valid for non-hostNetwork pods.",
"type": "array",
"items": {
"default": {},
"$ref": "#/definitions/v1.HostAlias"
},
"x-kubernetes-list-type": "atomic"
},
"hostNetwork": {
"description": "HostNetwork specifies whether the pod may use the node network namespace",
"type": "boolean"
},
"imagePullSecrets": {
"description": "ImagePullSecrets gives the name of the secret used by the pod to pull the image if specified",
"type": "array",
"items": {
"default": {},
"$ref": "#/definitions/v1.LocalObjectReference"
},
"x-kubernetes-list-type": "atomic"
},
"nodeSelector": {
"description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/",
"type": "object",
"additionalProperties": {
"type": "string",
"default": ""
}
},
"priorityClassName": {
"description": "If specified, indicates the pod's priority. \"system-node-critical\" and \"system-cluster-critical\" are two special keywords which indicate the highest priorities with the former being the highest priority. Any other name must be defined by creating a PriorityClass object with that name. If not specified, the pod priority will be default or zero if there is no default.",
"type": "string"
},
"runtimeClassName": {
"description": "RuntimeClassName refers to a RuntimeClass object in the node.k8s.io group, which should be used to run this pod. If no RuntimeClass resource matches the named class, the pod will not be run. If unset or empty, the \"legacy\" RuntimeClass will be used, which is an implicit class with an empty definition that uses the default runtime handler. More info: https://git.k8s.io/enhancements/keps/sig-node/runtime-class.md This is a beta feature as of Kubernetes v1.14.",
"type": "string"
},
"schedulerName": {
"description": "SchedulerName specifies the scheduler to be used to dispatch the Pod",
"type": "string"
},
"securityContext": {
"description": "SecurityContext holds pod-level security attributes and common container settings. Optional: Defaults to empty. See type description for default values of each field.",
"$ref": "#/definitions/v1.PodSecurityContext"
},
"tolerations": {
"description": "If specified, the pod's tolerations.",
"type": "array",
"items": {
"default": {},
"$ref": "#/definitions/v1.Toleration"
},
"x-kubernetes-list-type": "atomic"
},
"topologySpreadConstraints": {
"description": "TopologySpreadConstraints controls how Pods are spread across your cluster among failure-domains such as regions, zones, nodes, and other user-defined topology domains.",
"type": "array",
"items": {
"default": {},
"$ref": "#/definitions/v1.TopologySpreadConstraint"
},
"x-kubernetes-list-type": "atomic"
},
"volumes": {
"description": "List of volumes that can be mounted by containers belonging to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes",
"type": "array",
"items": {
"default": {},
"$ref": "#/definitions/v1.Volume"
},
"x-kubernetes-list-type": "atomic",
"x-kubernetes-patch-merge-key": "name",
"x-kubernetes-patch-strategy": "merge,retainKeys"
}
}
},
"v1.ChildStatusReference": {
"description": "ChildStatusReference is used to point to the statuses of individual TaskRuns and Runs within this PipelineRun.",
"type": "object",
"properties": {
"apiVersion": {
"type": "string"
},
"kind": {
"type": "string"
},
"name": {
"description": "Name is the name of the TaskRun or Run this is referencing.",
"type": "string"
},
"pipelineTaskName": {
"description": "PipelineTaskName is the name of the PipelineTask this is referencing.",
"type": "string"
},
"whenExpressions": {
"description": "WhenExpressions is the list of checks guarding the execution of the PipelineTask",
"type": "array",
"items": {
"default": {},
"$ref": "#/definitions/v1.WhenExpression"
},
"x-kubernetes-list-type": "atomic"
}
}
},
"v1.EmbeddedTask": {
"description": "EmbeddedTask is used to define a Task inline within a Pipeline's PipelineTasks.",
"type": "object",
"properties": {
"apiVersion": {
"type": "string"
},
"description": {
"description": "Description is a user-facing description of the task that may be used to populate a UI.",
"type": "string"
},
"displayName": {
"description": "DisplayName is a user-facing name of the task that may be used to populate a UI.",
"type": "string"
},
"kind": {
"type": "string"
},
"metadata": {
"default": {},
"$ref": "#/definitions/v1.PipelineTaskMetadata"
},
"params": {
"description": "Params is a list of input parameters required to run the task. Params must be supplied as inputs in TaskRuns unless they declare a default value.",
"type": "array",
"items": {
"default": {},
"$ref": "#/definitions/v1.ParamSpec"
},
"x-kubernetes-list-type": "atomic"
},
"results": {
"description": "Results are values that this Task can output",
"type": "array",
"items": {
"default": {},
"$ref": "#/definitions/v1.TaskResult"
},
"x-kubernetes-list-type": "atomic"
},
"sidecars": {
"description": "Sidecars are run alongside the Task's step containers. They begin before the steps start and end after the steps complete.",
"type": "array",
"items": {
"default": {},
"$ref": "#/definitions/v1.Sidecar"
},
"x-kubernetes-list-type": "atomic"
},
"spec": {
"description": "Spec is a specification of a custom task",
"default": {},
"$ref": "#/definitions/k8s.io.apimachinery.pkg.runtime.RawExtension"
},
"stepTemplate": {
"description": "StepTemplate can be used as the basis for all step containers within the Task, so that the steps inherit settings on the base container.",
"$ref": "#/definitions/v1.StepTemplate"
},
"steps": {
"description": "Steps are the steps of the build; each step is run sequentially with the source mounted into /workspace.",
"type": "array",
"items": {
"default": {},
"$ref": "#/definitions/v1.Step"
},
"x-kubernetes-list-type": "atomic"
},
"volumes": {
"description": "Volumes is a collection of volumes that are available to mount into the steps of the build.",
"type": "array",
"items": {
"default": {},
"$ref": "#/definitions/v1.Volume"
},
"x-kubernetes-list-type": "atomic"
},
"workspaces": {
"description": "Workspaces are the volumes that this Task requires.",
"type": "array",
"items": {
"default": {},
"$ref": "#/definitions/v1.WorkspaceDeclaration"
},
"x-kubernetes-list-type": "atomic"
}
}
},
"v1.IncludeParams": {
"description": "IncludeParams allows passing in a specific combinations of Parameters into the Matrix.",
"type": "object",
"properties": {
"name": {
"description": "Name the specified combination",
"type": "string"
},
"params": {
"description": "Params takes only `Parameters` of type `\"string\"` The names of the `params` must match the names of the `params` in the underlying `Task`",
"type": "array",
"items": {
"default": {},
"$ref": "#/definitions/v1.Param"
},
"x-kubernetes-list-type": "atomic"
}
}
},
"v1.Matrix": {
"description": "Matrix is used to fan out Tasks in a Pipeline",
"type": "object",
"properties": {
"include": {
"description": "Include is a list of IncludeParams which allows passing in specific combinations of Parameters into the Matrix.",
"type": "array",
"items": {
"default": {},
"$ref": "#/definitions/v1.IncludeParams"
},
"x-kubernetes-list-type": "atomic"
},
"params": {
"description": "Params is a list of parameters used to fan out the pipelineTask Params takes only `Parameters` of type `\"array\"` Each array element is supplied to the `PipelineTask` by substituting `params` of type `\"string\"` in the underlying `Task`. The names of the `params` in the `Matrix` must match the names of the `params` in the underlying `Task` that they will be substituting.",
"type": "array",
"items": {
"default": {},
"$ref": "#/definitions/v1.Param"
},
"x-kubernetes-list-type": "atomic"
}
}
},
"v1.Param": {
"description": "Param declares an ParamValues to use for the parameter called name.",
"type": "object",
"required": [
"name",
"value"
],
"properties": {
"name": {
"type": "string",
"default": ""
},
"value": {
"default": {},
"$ref": "#/definitions/v1.ParamValue"
}
}
},
"v1.ParamSpec": {
"description": "ParamSpec defines arbitrary parameters needed beyond typed inputs (such as resources). Parameter values are provided by users as inputs on a TaskRun or PipelineRun.",
"type": "object",
"required": [
"name"
],
"properties": {
"default": {
"description": "Default is the value a parameter takes if no input value is supplied. If default is set, a Task may be executed without a supplied value for the parameter.",
"$ref": "#/definitions/v1.ParamValue"
},
"description": {
"description": "Description is a user-facing description of the parameter that may be used to populate a UI.",
"type": "string"
},
"enum": {
"description": "Enum declares a set of allowed param input values for tasks/pipelines that can be validated. If Enum is not set, no input validation is performed for the param.",
"type": "array",
"items": {
"type": "string",
"default": ""
}
},
"name": {
"description": "Name declares the name by which a parameter is referenced.",
"type": "string",
"default": ""
},
"properties": {
"description": "Properties is the JSON Schema properties to support key-value pairs parameter.",
"type": "object",
"additionalProperties": {
"default": {},
"$ref": "#/definitions/v1.PropertySpec"
}
},
"type": {
"description": "Type is the user-specified type of the parameter. The possible types are currently \"string\", \"array\" and \"object\", and \"string\" is the default.",
"type": "string"
}
}
},
"v1.ParamValue": {
"description": "ResultValue is a type alias of ParamValue",
"type": "object",
"required": [
"Type",
"StringVal",
"ArrayVal",
"ObjectVal"
],
"properties": {
"ArrayVal": {
"type": "array",
"items": {
"type": "string",
"default": ""
},
"x-kubernetes-list-type": "atomic"
},
"ObjectVal": {
"type": "object",
"additionalProperties": {
"type": "string",
"default": ""
}
},
"StringVal": {
"description": "Represents the stored type of ParamValues.",
"type": "string",
"default": ""
},
"Type": {
"type": "string",
"default": ""
}
}
},
"v1.Pipeline": {
"description": "Pipeline describes a list of Tasks to execute. It expresses how outputs of tasks feed into inputs of subsequent tasks.",
"type": "object",
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
"type": "string"
},
"kind": {
"description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
"type": "string"
},
"metadata": {
"default": {},
"$ref": "#/definitions/v1.ObjectMeta"
},
"spec": {
"description": "Spec holds the desired state of the Pipeline from the client",
"default": {},
"$ref": "#/definitions/v1.PipelineSpec"
}
}
},
"v1.PipelineList": {
"description": "PipelineList contains a list of Pipeline",
"type": "object",
"required": [
"items"
],
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
"type": "string"
},
"items": {
"type": "array",
"items": {
"default": {},
"$ref": "#/definitions/v1.Pipeline"
}
},
"kind": {
"description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
"type": "string"
},
"metadata": {
"default": {},
"$ref": "#/definitions/v1.ListMeta"
}
}
},
"v1.PipelineRef": {
"description": "PipelineRef can be used to refer to a specific instance of a Pipeline.",
"type": "object",
"properties": {
"apiVersion": {
"description": "API version of the referent",
"type": "string"
},
"name": {
"description": "Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names",
"type": "string"
}
}
},
"v1.PipelineResult": {
"description": "PipelineResult used to describe the results of a pipeline",
"type": "object",
"required": [
"name",
"value"
],
"properties": {
"description": {
"description": "Description is a human-readable description of the result",
"type": "string",
"default": ""
},
"name": {
"description": "Name the given name",
"type": "string",
"default": ""
},
"type": {
"description": "Type is the user-specified type of the result. The possible types are 'string', 'array', and 'object', with 'string' as the default. 'array' and 'object' types are alpha features.",
"type": "string"
},
"value": {
"description": "Value the expression used to retrieve the value",
"default": {},
"$ref": "#/definitions/v1.ParamValue"
}
}
},
"v1.PipelineRun": {
"description": "PipelineRun represents a single execution of a Pipeline. PipelineRuns are how the graph of Tasks declared in a Pipeline are executed; they specify inputs to Pipelines such as parameter values and capture operational aspects of the Tasks execution such as service account and tolerations. Creating a PipelineRun creates TaskRuns for Tasks in the referenced Pipeline.",
"type": "object",
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
"type": "string"
},
"kind": {
"description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
"type": "string"
},
"metadata": {
"default": {},
"$ref": "#/definitions/v1.ObjectMeta"
},
"spec": {
"default": {},
"$ref": "#/definitions/v1.PipelineRunSpec"
},
"status": {
"default": {},
"$ref": "#/definitions/v1.PipelineRunStatus"
}
}
},
"v1.PipelineRunList": {
"description": "PipelineRunList contains a list of PipelineRun",
"type": "object",
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
"type": "string"
},
"items": {
"type": "array",
"items": {
"default": {},
"$ref": "#/definitions/v1.PipelineRun"
}
},
"kind": {
"description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
"type": "string"
},
"metadata": {
"default": {},
"$ref": "#/definitions/v1.ListMeta"
}
}
},
"v1.PipelineRunResult": {
"description": "PipelineRunResult used to describe the results of a pipeline",
"type": "object",
"required": [
"name",
"value"
],
"properties": {
"name": {
"description": "Name is the result's name as declared by the Pipeline",
"type": "string",
"default": ""
},
"value": {
"description": "Value is the result returned from the execution of this PipelineRun",
"default": {},
"$ref": "#/definitions/v1.ParamValue"
}
}
},
"v1.PipelineRunRunStatus": {
"description": "PipelineRunRunStatus contains the name of the PipelineTask for this Run and the Run's Status",
"type": "object",
"properties": {
"pipelineTaskName": {
"description": "PipelineTaskName is the name of the PipelineTask.",
"type": "string"
},
"status": {
"description": "Status is the RunStatus for the corresponding Run",
"$ref": "#/definitions/github.com.tektoncd.pipeline.pkg.apis.run.v1beta1.CustomRunStatus"
},
"whenExpressions": {
"description": "WhenExpressions is the list of checks guarding the execution of the PipelineTask",
"type": "array",
"items": {
"default": {},
"$ref": "#/definitions/v1.WhenExpression"
},
"x-kubernetes-list-type": "atomic"
}
}
},
"v1.PipelineRunSpec": {
"description": "PipelineRunSpec defines the desired state of PipelineRun",
"type": "object",
"properties": {
"params": {
"description": "Params is a list of parameter names and values.",
"type": "array",
"items": {
"default": {},
"$ref": "#/definitions/v1.Param"
},
"x-kubernetes-list-type": "atomic"
},
"pipelineRef": {
"$ref": "#/definitions/v1.PipelineRef"
},
"pipelineSpec": {
"$ref": "#/definitions/v1.PipelineSpec"
},
"status": {
"description": "Used for cancelling a pipelinerun (and maybe more later on)",
"type": "string"
},
"taskRunSpecs": {
"description": "TaskRunSpecs holds a set of runtime specs",
"type": "array",
"items": {
"default": {},
"$ref": "#/definitions/v1.PipelineTaskRunSpec"
},
"x-kubernetes-list-type": "atomic"
},
"taskRunTemplate": {
"description": "TaskRunTemplate represent template of taskrun",
"default": {},
"$ref": "#/definitions/v1.PipelineTaskRunTemplate"
},
"timeouts": {
"description": "Time after which the Pipeline times out. Currently three keys are accepted in the map pipeline, tasks and finally with Timeouts.pipeline \u003e= Timeouts.tasks + Timeouts.finally",
"$ref": "#/definitions/v1.TimeoutFields"
},
"workspaces": {
"description": "Workspaces holds a set of workspace bindings that must match names with those declared in the pipeline.",
"type": "array",
"items": {
"default": {},
"$ref": "#/definitions/v1.WorkspaceBinding"
},
"x-kubernetes-list-type": "atomic"
}
}
},
"v1.PipelineRunStatus": {
"description": "PipelineRunStatus defines the observed state of PipelineRun",
"type": "object",
"properties": {
"annotations": {
"description": "Annotations is additional Status fields for the Resource to save some additional State as well as convey more information to the user. This is roughly akin to Annotations on any k8s resource, just the reconciler conveying richer information outwards.",
"type": "object",
"additionalProperties": {
"type": "string",
"default": ""
}
},
"childReferences": {
"description": "list of TaskRun and Run names, PipelineTask names, and API versions/kinds for children of this PipelineRun.",
"type": "array",
"items": {
"default": {},
"$ref": "#/definitions/v1.ChildStatusReference"
},
"x-kubernetes-list-type": "atomic"
},
"completionTime": {
"description": "CompletionTime is the time the PipelineRun completed.",
"$ref": "#/definitions/v1.Time"
},
"conditions": {
"description": "Conditions the latest available observations of a resource's current state.",
"type": "array",
"items": {
"default": {},
"$ref": "#/definitions/knative.Condition"
},
"x-kubernetes-patch-merge-key": "type",
"x-kubernetes-patch-strategy": "merge"
},
"finallyStartTime": {
"description": "FinallyStartTime is when all non-finally tasks have been completed and only finally tasks are being executed.",
"$ref": "#/definitions/v1.Time"
},
"observedGeneration": {
"description": "ObservedGeneration is the 'Generation' of the Service that was last processed by the controller.",
"type": "integer",
"format": "int64"
},
"pipelineSpec": {
"description": "PipelineRunSpec contains the exact spec used to instantiate the run",
"$ref": "#/definitions/v1.PipelineSpec"
},
"provenance": {
"description": "Provenance contains some key authenticated metadata about how a software artifact was built (what sources, what inputs/outputs, etc.).",
"$ref": "#/definitions/v1.Provenance"
},
"results": {
"description": "Results are the list of results written out by the pipeline task's containers",
"type": "array",
"items": {
"default": {},
"$ref": "#/definitions/v1.PipelineRunResult"
},
"x-kubernetes-list-type": "atomic"
},
"skippedTasks": {
"description": "list of tasks that were skipped due to when expressions evaluating to false",
"type": "array",
"items": {
"default": {},
"$ref": "#/definitions/v1.SkippedTask"
},
"x-kubernetes-list-type": "atomic"
},
"spanContext": {
"description": "SpanContext contains tracing span context fields",
"type": "object",
"additionalProperties": {
"type": "string",
"default": ""
}
},
"startTime": {
"description": "StartTime is the time the PipelineRun is actually started.",
"$ref": "#/definitions/v1.Time"
}
}
},
"v1.PipelineRunStatusFields": {
"description": "PipelineRunStatusFields holds the fields of PipelineRunStatus' status. This is defined separately and inlined so that other types can readily consume these fields via duck typing.",
"type": "object",
"properties": {
"childReferences": {
"description": "list of TaskRun and Run names, PipelineTask names, and API versions/kinds for children of this PipelineRun.",
"type": "array",
"items": {
"default": {},
"$ref": "#/definitions/v1.ChildStatusReference"
},
"x-kubernetes-list-type": "atomic"
},
"completionTime": {
"description": "CompletionTime is the time the PipelineRun completed.",
"$ref": "#/definitions/v1.Time"
},
"finallyStartTime": {
"description": "FinallyStartTime is when all non-finally tasks have been completed and only finally tasks are being executed.",
"$ref": "#/definitions/v1.Time"
},
"pipelineSpec": {
"description": "PipelineRunSpec contains the exact spec used to instantiate the run",
"$ref": "#/definitions/v1.PipelineSpec"
},
"provenance": {
"description": "Provenance contains some key authenticated metadata about how a software artifact was built (what sources, what inputs/outputs, etc.).",
"$ref": "#/definitions/v1.Provenance"
},
"results": {
"description": "Results are the list of results written out by the pipeline task's containers",
"type": "array",
"items": {
"default": {},
"$ref": "#/definitions/v1.PipelineRunResult"
},
"x-kubernetes-list-type": "atomic"
},
"skippedTasks": {
"description": "list of tasks that were skipped due to when expressions evaluating to false",
"type": "array",
"items": {
"default": {},
"$ref": "#/definitions/v1.SkippedTask"
},
"x-kubernetes-list-type": "atomic"
},
"spanContext": {
"description": "SpanContext contains tracing span context fields",
"type": "object",
"additionalProperties": {
"type": "string",
"default": ""
}
},
"startTime": {
"description": "StartTime is the time the PipelineRun is actually started.",
"$ref": "#/definitions/v1.Time"
}
}
},
"v1.PipelineRunTaskRunStatus": {
"description": "PipelineRunTaskRunStatus contains the name of the PipelineTask for this TaskRun and the TaskRun's Status",
"type": "object",
"properties": {
"pipelineTaskName": {
"description": "PipelineTaskName is the name of the PipelineTask.",
"type": "string"
},
"status": {
"description": "Status is the TaskRunStatus for the corresponding TaskRun",
"$ref": "#/definitions/v1.TaskRunStatus"
},
"whenExpressions": {
"description": "WhenExpressions is the list of checks guarding the execution of the PipelineTask",
"type": "array",
"items": {
"default": {},
"$ref": "#/definitions/v1.WhenExpression"
},
"x-kubernetes-list-type": "atomic"
}
}
},
"v1.PipelineSpec": {
"description": "PipelineSpec defines the desired state of Pipeline.",
"type": "object",
"properties": {
"description": {
"description": "Description is a user-facing description of the pipeline that may be used to populate a UI.",
"type": "string"
},
"displayName": {
"description": "DisplayName is a user-facing name of the pipeline that may be used to populate a UI.",
"type": "string"
},
"finally": {
"description": "Finally declares the list of Tasks that execute just before leaving the Pipeline i.e. either after all Tasks are finished executing successfully or after a failure which would result in ending the Pipeline",
"type": "array",
"items": {
"default": {},
"$ref": "#/definitions/v1.PipelineTask"
},
"x-kubernetes-list-type": "atomic"
},
"params": {
"description": "Params declares a list of input parameters that must be supplied when this Pipeline is run.",
"type": "array",
"items": {
"default": {},
"$ref": "#/definitions/v1.ParamSpec"
},
"x-kubernetes-list-type": "atomic"
},
"results": {
"description": "Results are values that this pipeline can output once run",
"type": "array",
"items": {
"default": {},
"$ref": "#/definitions/v1.PipelineResult"
},
"x-kubernetes-list-type": "atomic"
},
"tasks": {
"description": "Tasks declares the graph of Tasks that execute when this Pipeline is run.",
"type": "array",
"items": {
"default": {},
"$ref": "#/definitions/v1.PipelineTask"
},
"x-kubernetes-list-type": "atomic"
},
"workspaces": {
"description": "Workspaces declares a set of named workspaces that are expected to be provided by a PipelineRun.",
"type": "array",
"items": {
"default": {},
"$ref": "#/definitions/v1.PipelineWorkspaceDeclaration"
},
"x-kubernetes-list-type": "atomic"
}
}
},
"v1.PipelineTask": {
"description": "PipelineTask defines a task in a Pipeline, passing inputs from both Params and from the output of previous tasks.",
"type": "object",
"properties": {
"description": {
"description": "Description is the description of this task within the context of a Pipeline. This description may be used to populate a UI.",
"type": "string"
},
"displayName": {
"description": "DisplayName is the display name of this task within the context of a Pipeline. This display name may be used to populate a UI.",
"type": "string"
},
"matrix": {
"description": "Matrix declares parameters used to fan out this task.",
"$ref": "#/definitions/v1.Matrix"
},
"name": {
"description": "Name is the name of this task within the context of a Pipeline. Name is used as a coordinate with the `from` and `runAfter` fields to establish the execution order of tasks relative to one another.",
"type": "string"
},
"onError": {
"description": "OnError defines the exiting behavior of a PipelineRun on error can be set to [ continue | stopAndFail ] Note: OnError is in preview mode and not yet supported",
"type": "string"
},
"params": {
"description": "Parameters declares parameters passed to this task.",
"type": "array",
"items": {
"default": {},
"$ref": "#/definitions/v1.Param"
},
"x-kubernetes-list-type": "atomic"
},
"pipelineRef": {
"description": "PipelineRef is a reference to a pipeline definition Note: PipelineRef is in preview mode and not yet supported",
"$ref": "#/definitions/v1.PipelineRef"
},
"pipelineSpec": {
"description": "PipelineSpec is a specification of a pipeline Note: PipelineSpec is in preview mode and not yet supported",
"$ref": "#/definitions/v1.PipelineSpec"
},
"retries": {
"description": "Retries represents how many times this task should be retried in case of task failure: ConditionSucceeded set to False",
"type": "integer",
"format": "int32"
},
"runAfter": {
"description": "RunAfter is the list of PipelineTask names that should be executed before this Task executes. (Used to force a specific ordering in graph execution.)",
"type": "array",
"items": {
"type": "string",
"default": ""
},
"x-kubernetes-list-type": "atomic"
},
"taskRef": {
"description": "TaskRef is a reference to a task definition.",
"$ref": "#/definitions/v1.TaskRef"
},
"taskSpec": {
"description": "TaskSpec is a specification of a task",
"$ref": "#/definitions/v1.EmbeddedTask"
},
"timeout": {
"description": "Time after which the TaskRun times out. Defaults to 1 hour. Refer Go's ParseDuration documentation for expected format: https://golang.org/pkg/time/#ParseDuration",
"$ref": "#/definitions/v1.Duration"
},
"when": {
"description": "When is a list of when expressions that need to be true for the task to run",
"type": "array",
"items": {
"default": {},
"$ref": "#/definitions/v1.WhenExpression"
}
},
"workspaces": {
"description": "Workspaces maps workspaces from the pipeline spec to the workspaces declared in the Task.",
"type": "array",
"items": {
"default": {},
"$ref": "#/definitions/v1.WorkspacePipelineTaskBinding"
},
"x-kubernetes-list-type": "atomic"
}
}
},
"v1.PipelineTaskMetadata": {
"description": "PipelineTaskMetadata contains the labels or annotations for an EmbeddedTask",
"type": "object",
"properties": {
"annotations": {
"type": "object",
"additionalProperties": {
"type": "string",
"default": ""
}
},
"labels": {
"type": "object",
"additionalProperties": {
"type": "string",
"default": ""
}
}
}
},
"v1.PipelineTaskParam": {
"description": "PipelineTaskParam is used to provide arbitrary string parameters to a Task.",
"type": "object",
"required": [
"name",
"value"
],
"properties": {
"name": {
"type": "string",
"default": ""
},
"value": {
"type": "string",
"default": ""
}
}
},
"v1.PipelineTaskRun": {