-
Notifications
You must be signed in to change notification settings - Fork 20
/
publicschema.json
1349 lines (1349 loc) · 64.9 KB
/
publicschema.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
{
"$schema": "http://json-schema.org/draft-04/schema#",
"definitions": {
"logical": {
"description": "https://circleci.com/docs/configuration-reference#logic-statements \n\nA logical statement to be used in dynamic configuration",
"oneOf": [
{
"type": [
"string",
"boolean",
"integer",
"number"
]
},
{
"type": "object",
"additionalProperties": false,
"minProperties": 1,
"maxProperties": 1,
"properties": {
"and": {
"description": "https://circleci.com/docs/configuration-reference#logic-statements \n\nLogical and: true when all statements in the list are true",
"type": "array",
"items": {
"$ref": "#/definitions/logical"
}
},
"or": {
"description": "https://circleci.com/docs/configuration-reference#logic-statements \n\nLogical or: true when at least one statements in the list is true",
"type": "array",
"items": {
"$ref": "#/definitions/logical"
}
},
"not": {
"description": "https://circleci.com/docs/configuration-reference#logic-statements \n\nLogical not: true when statement is false",
"$ref": "#/definitions/logical"
},
"equal": {
"description": "https://circleci.com/docs/configuration-reference#logic-statements \n\nTrue when all elements in the list are equal",
"type": "array"
},
"matches": {
"description": "https://circleci.com/docs/configuration-reference#logic-statements \n\nTrue when value matches the pattern",
"type": "object",
"additionalProperties": false,
"properties": {
"pattern": {
"type": "string"
},
"value": {
"type": "string"
}
}
}
}
}
]
},
"filter": {
"description": "A map defining rules for execution on specific branches",
"type": "object",
"additionalProperties": false,
"properties": {
"only": {
"description": "Either a single branch specifier, or a list of branch specifiers",
"oneOf": [
{
"type": "string"
},
{
"type": "array",
"items": {
"type": "string"
}
}
]
},
"ignore": {
"description": "Either a single branch specifier, or a list of branch specifiers",
"oneOf": [
{
"type": "string"
},
{
"type": "array",
"items": {
"type": "string"
}
}
]
}
}
},
"orbs": {
"description": "https://circleci.com/docs/configuration-reference#orbs-requires-version-21\n\nOrbs are reusable packages of CircleCI configuration that you may share across projects, enabling you to create encapsulated, parameterized commands, jobs, and executors that can be used across multiple projects.",
"type": "object",
"additionalProperties": {
"oneOf": [
{
"description": "https://circleci.com/docs/creating-orbs#semantic-versioning-in-orbs\n\nAn orb to depend on and its semver range, or volatile for the most recent release.",
"type": "string",
"pattern": "^[a-z][a-z0-9_-]+/[a-z][a-z0-9_-]+@(dev:[\\.a-z0-9_-]+|\\d+|\\d+\\.\\d+|\\d+\\.\\d+\\.\\d+|volatile)$"
},
{
"description": "https://circleci.com/docs/creating-orbs#creating-inline-orbs\n\nInline orbs can be handy during development of an orb or as a convenience for name-spacing jobs and commands in lengthy configurations, particularly if you later intend to share the orb with others.",
"type": "object",
"properties": {
"orbs": {
"$ref": "#/definitions/orbs"
},
"commands": {
"$ref": "#/definitions/commands"
},
"executors": {
"$ref": "#/definitions/executors"
},
"jobs": {
"$ref": "#/definitions/jobs"
}
}
}
]
}
},
"commands": {
"description": "https://circleci.com/docs/configuration-reference#commands-requires-version-21\n\nA command definition defines a sequence of steps as a map to be executed in a job, enabling you to reuse a single command definition across multiple jobs.",
"type": "object",
"additionalProperties": {
"description": "https://circleci.com/docs/configuration-reference#commands-requires-version-21\n\nDefinition of a custom command.",
"type": "object",
"required": [
"steps"
],
"properties": {
"steps": {
"description": "A sequence of steps run inside the calling job of the command.",
"type": "array",
"items": {
"$ref": "#/definitions/step"
}
},
"parameters": {
"description": "https://circleci.com/docs/reusing-config#using-the-parameters-declaration\n\nA map of parameter keys.",
"type": "object",
"patternProperties": {
"^[a-z][a-z0-9_-]+$": {
"oneOf": [
{
"description": "https://circleci.com/docs/reusing-config#string\n\nA string parameter.",
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"enum": [
"string"
]
},
"description": {
"type": "string"
},
"default": {
"type": "string"
}
}
},
{
"description": "https://circleci.com/docs/reusing-config#boolean\n\nA boolean parameter.",
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"enum": [
"boolean"
]
},
"description": {
"type": "string"
},
"default": {
"type": "boolean"
}
}
},
{
"description": "https://circleci.com/docs/reusing-config#integer\n\nAn integer parameter.",
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"enum": [
"integer"
]
},
"description": {
"type": "string"
},
"default": {
"type": "integer"
}
}
},
{
"description": "https://circleci.com/docs/reusing-config#enum\n\nThe `enum` parameter may be a list of any values. Use the `enum` parameter type when you want to enforce that the value must be one from a specific set of string values.",
"type": "object",
"required": [
"type",
"enum"
],
"properties": {
"type": {
"enum": [
"enum"
]
},
"enum": {
"type": "array",
"minItems": 1,
"items": {
"type": "string"
}
},
"description": {
"type": "string"
},
"default": {
"type": "string"
}
}
},
{
"description": "https://circleci.com/docs/reusing-config#executor\n\nUse an `executor` parameter type to allow the invoker of a job to decide what executor it will run on.",
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"enum": [
"executor"
]
},
"description": {
"type": "string"
},
"default": {
"type": "string"
}
}
},
{
"description": "https://circleci.com/docs/reusing-config#steps\n\nSteps are used when you have a job or command that needs to mix predefined and user-defined steps. When passed in to a command or job invocation, the steps passed as parameters are always defined as a sequence, even if only one step is provided.",
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"enum": [
"steps"
]
},
"description": {
"type": "string"
},
"default": {
"type": "array",
"items": {
"$ref": "#/definitions/step"
}
}
}
},
{
"description": "https://circleci.com/docs/reusing-config#environment-variable-name\n\nThe environment variable name parameter is a string that must match a POSIX_NAME regexp (e.g. no spaces or special characters) and is a more meaningful parameter type that enables additional checks to be performed. ",
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"enum": [
"env_var_name"
]
},
"description": {
"type": "string"
},
"default": {
"type": "string",
"pattern": "^[a-zA-Z][a-zA-Z0-9_-]+$"
}
}
}
]
}
}
},
"description": {
"description": "A string that describes the purpose of the command.",
"type": "string"
}
}
}
},
"dockerExecutor": {
"description": "Options for the [docker executor](https://circleci.com/docs/configuration-reference#docker)",
"type": "array",
"items": {
"type": "object",
"additionalProperties": false,
"required": [
"image"
],
"properties": {
"image": {
"description": "The name of a custom docker image to use",
"type": "string"
},
"name": {
"description": "The name the container is reachable by. By default, container services are accessible through `localhost`",
"type": "string"
},
"entrypoint": {
"description": "The command used as executable when launching the container",
"oneOf": [
{
"type": "string"
},
{
"type": "array",
"items": {
"type": "string"
}
}
]
},
"command": {
"description": "The command used as pid 1 (or args for entrypoint) when launching the container",
"oneOf": [
{
"type": "string"
},
{
"type": "array",
"items": {
"type": "string"
}
}
]
},
"user": {
"description": "Which user to run the command as",
"type": "string"
},
"environment": {
"description": "A map of environment variable names and values",
"type": "object",
"additionalProperties": {
"type": [
"string",
"number",
"boolean"
]
}
},
"auth": {
"description": "Authentication for registries using standard `docker login` credentials",
"type": "object",
"additionalProperties": false,
"properties": {
"username": {
"type": "string"
},
"password": {
"type": "string"
}
}
},
"aws_auth": {
"description": "Authentication for AWS EC2 Container Registry (ECR). You can use the access/secret keys or OIDC.",
"type": "object",
"additionalProperties": false,
"properties": {
"aws_access_key_id": {
"type": "string"
},
"aws_secret_access_key": {
"type": "string"
},
"oidc_role_arn": {
"type": "string"
}
}
}
}
}
},
"machineExecutor": {
"description": "Options for the [machine executor](https://circleci.com/docs/configuration-reference#machine)",
"type": "object",
"required": [
"image"
],
"additionalProperties": false,
"properties": {
"image": {
"description": "The VM image to use. View [available images](https://circleci.com/docs/configuration-reference#available-machine-images). **Note:** This key is **not** supported on the installable CircleCI. For information about customizing machine executor images on CircleCI installed on your servers, see our [VM Service documentation](https://circleci.com/docs/vm-service).",
"type": "string",
"default": "ubuntu-2004:current"
},
"docker_layer_caching": {
"description": "Set to `true` to enable [Docker Layer Caching](https://circleci.com/docs/docker-layer-caching). Note: If you haven't already, you must open a support ticket to have a CircleCI Sales representative contact you about enabling this feature on your account for an additional fee.",
"type": "boolean",
"default": "true"
}
}
},
"macosExecutor": {
"description": "Options for the [macOS executor](https://circleci.com/docs/configuration-reference#macos)",
"type": "object",
"additionalProperties": false,
"required": [
"xcode"
],
"properties": {
"xcode": {
"description": "The version of Xcode that is installed on the virtual machine, see the [Supported Xcode Versions section of the Testing iOS](https://circleci.com/docs/testing-ios#supported-xcode-versions) document for the complete list.",
"oneOf": [
{
"type": "number"
},
{
"type": "string",
"minimum": 0
}
]
}
}
},
"executorChoice": {
"oneOf": [
{
"type": "object",
"required": [
"docker"
],
"properties": {
"docker": {
"$ref": "#/definitions/dockerExecutor"
}
}
},
{
"type": "object",
"required": [
"machine"
],
"properties": {
"machine": {
"$ref": "#/definitions/machineExecutor"
}
}
},
{
"type": "object",
"required": [
"machine"
],
"properties": {
"machine": {
"description": "Use the default machine executor image",
"type": "boolean"
}
}
},
{
"type": "object",
"required": [
"macos"
],
"properties": {
"macos": {
"$ref": "#/definitions/macosExecutor"
}
}
}
]
},
"executors": {
"description": "Executors define the environment in which the steps of a job will be run, allowing you to reuse a single executor definition across multiple jobs.",
"type": "object",
"additionalProperties": {
"type": "object",
"$ref": "#/definitions/executorChoice",
"properties": {
"resource_class": {
"description": "Amount of CPU and RAM allocated to each container in a job. Note: A performance plan is required to access this feature.",
"type": "string",
"default": "medium",
"enum": [
"small",
"medium+",
"xlarge",
"2xlarge",
"2xlarge+",
"arm.medium",
"arm.large",
"arm.xlarge",
"arm.2xlarge",
"gpu.nvidia.small",
"gpu.nvidia.medium",
"windows.gpu.nvidia.medium",
"macos.m1.medium.gen1",
"macos.m1.large.gen1"
]
},
"shell": {
"description": "Shell to use for execution command in all steps. Can be overridden by shell in each step (default: See [Default Shell Options](https://circleci.com/docs/configuration-reference#default-shell-options)",
"type": "string"
},
"working_directory": {
"description": "In which directory to run the steps.",
"type": "string"
},
"environment": {
"description": "A map of environment variable names and values.",
"type": "object",
"additionalProperties": {
"type": [
"string",
"number"
]
}
}
}
}
},
"builtinSteps": {
"documentation": {
"run": {
"description": "https://circleci.com/docs/configuration-reference#run\n\nUsed for invoking all command-line programs, taking either a map of configuration values, or, when called in its short-form, a string that will be used as both the `command` and `name`. Run commands are executed using non-login shells by default, so you must explicitly source any dotfiles as part of the command."
},
"checkout": {
"description": "https://circleci.com/docs/configuration-reference#checkout\n\nSpecial step used to check out source code to the configured `path` (defaults to the `working_directory`). The reason this is a special step is because it is more of a helper function designed to make checking out code easy for you. If you require doing git over HTTPS you should not use this step as it configures git to checkout over ssh."
},
"setup_remote_docker": {
"description": "https://circleci.com/docs/configuration-reference#setup_remote_docker\n\nCreates a remote Docker environment configured to execute Docker commands."
},
"save_cache": {
"description": "https://circleci.com/docs/configuration-reference#save_cache\n\nGenerates and stores a cache of a file or directory of files such as dependencies or source code in our object storage. Later jobs can restore this cache using the `restore_cache` step."
},
"restore_cache": {
"description": "https://circleci.com/docs/configuration-reference#restore_cache\n\nRestores a previously saved cache based on a `key`. Cache needs to have been saved first for this key using the `save_cache` step."
},
"deploy": {
"description": "https://circleci.com/docs/configuration-reference#deploy\n\nSpecial step for deploying artifacts. `deploy` uses the same configuration map and semantics as run step. Jobs may have more than one deploy step. In general deploy step behaves just like run with two exceptions:\n* In a job with parallelism, the deploy step will only be executed by node #0 and only if all nodes succeed. Nodes other than #0 will skip this step.\n* In a job that runs with SSH, the deploy step will not execute"
},
"store_artifacts": {
"description": "https://circleci.com/docs/configuration-reference#store_artifacts\n\nStep to store artifacts (for example logs, binaries, etc) to be available in the web app or through the API."
},
"store_test_results": {
"description": "https://circleci.com/docs/configuration-reference#storetestresults\n\nSpecial step used to upload test results so they display in builds' Test Summary section and can be used for timing analysis. To also see test result as build artifacts, please use the `store_artifacts` step."
},
"persist_to_workspace": {
"description": "https://circleci.com/docs/configuration-reference#persist_to_workspace\n\nSpecial step used to persist a temporary file to be used by another job in the workflow"
},
"attach_workspace": {
"description": "https://circleci.com/docs/configuration-reference#attach_workspace\n\nSpecial step used to attach the workflow's workspace to the current container. The full contents of the workspace are downloaded and copied into the directory the workspace is being attached at."
},
"add_ssh_keys": {
"description": "https://circleci.com/docs/configuration-reference#add_ssh_keys\n\nSpecial step that adds SSH keys from a project's settings to a container. Also configures SSH to use these keys."
},
"when": {
"description": "https://circleci.com/docs/configuration-reference#the-when-step-requires-version-21 \n\nConditional step to run on custom conditions (determined at config-compile time) that are checked before a workflow runs"
},
"unless": {
"description": "https://circleci.com/docs/configuration-reference#the-when-step-requires-version-21 \n\nConditional step to run when custom conditions aren't met (determined at config-compile time) that are checked before a workflow runs"
}
},
"configuration": {
"run": {
"allOf": [
{
"$ref": "#/definitions/builtinSteps/documentation/run"
}
],
"oneOf": [
{
"type": "string"
},
{
"type": "object",
"additionalProperties": false,
"required": [
"command"
],
"properties": {
"command": {
"description": "Command to run via the shell",
"type": "string"
},
"name": {
"description": "Title of the step to be shown in the CircleCI UI (default: full `command`)",
"type": "string"
},
"shell": {
"description": "Shell to use for execution command",
"type": "string"
},
"environment": {
"description": "Additional environmental variables, locally scoped to command",
"type": "object",
"additionalProperties": {
"type": [
"string",
"number"
]
}
},
"background": {
"description": "Whether or not this step should run in the background (default: false)",
"default": false,
"type": "boolean"
},
"working_directory": {
"description": "In which directory to run this step (default: `working_directory` of the job",
"type": "string"
},
"no_output_timeout": {
"description": "Elapsed time the command can run without output. The string is a decimal with unit suffix, such as \"20m\", \"1.25h\", \"5s\" (default: 10 minutes)",
"type": "string",
"pattern": "\\d+(\\.\\d+)?[mhs]",
"default": "10m"
},
"when": {
"description": "Specify when to enable or disable the step. Takes the following values: `always`, `on_success`, `on_fail` (default: `on_success`)",
"enum": [
"always",
"on_success",
"on_fail"
]
}
}
}
]
},
"checkout": {
"allOf": [
{
"$ref": "#/definitions/builtinSteps/documentation/checkout"
}
],
"type": "object",
"additionalProperties": false,
"properties": {
"name": {
"description": "Title of the step to be shown in the CircleCI UI",
"type": "string"
},
"path": {
"description": "Checkout directory (default: job's `working_directory`)",
"type": "string"
}
}
},
"setup_remote_docker": {
"allOf": [
{
"$ref": "#/definitions/builtinSteps/documentation/setup_remote_docker"
}
],
"type": "object",
"additionalProperties": false,
"properties": {
"name": {
"description": "Title of the step to be shown in the CircleCI UI",
"type": "string"
},
"docker_layer_caching": {
"description": "When `docker_layer_caching` is set to `true`, CircleCI will try to reuse Docker Images (layers) built during a previous job or workflow (Paid feature)",
"type": "boolean",
"default": false
},
"version": {
"description": "If your build requires a specific docker image, you can set it as an image attribute",
"anyOf": [
{
"type": "string",
"enum": [
"20.10.24",
"20.10.23",
"20.10.18",
"20.10.17",
"20.10.14",
"20.10.12",
"20.10.11",
"20.10.7",
"20.10.6",
"20.10.2",
"19.03.13"
]
},
{
"type": "string"
}
]
}
}
},
"save_cache": {
"allOf": [
{
"$ref": "#/definitions/builtinSteps/documentation/save_cache"
}
],
"type": "object",
"additionalProperties": false,
"required": [
"paths",
"key"
],
"properties": {
"paths": {
"description": "List of directories which should be added to the cache",
"type": "array",
"items": {
"type": "string"
}
},
"key": {
"description": "Unique identifier for this cache",
"type": "string"
},
"name": {
"type": "string",
"description": "Title of the step to be shown in the CircleCI UI (default: 'Saving Cache')"
},
"when": {
"description": "Specify when to enable or disable the step. Takes the following values: `always`, `on_success`, `on_fail` (default: `on_success`)",
"enum": [
"always",
"on_success",
"on_fail"
]
}
}
},
"restore_cache": {
"allOf": [
{
"$ref": "#/definitions/builtinSteps/documentation/restore_cache"
}
],
"oneOf": [
{
"type": "object",
"additionalProperties": false,
"required": [
"key"
],
"properties": {
"key": {
"type": "string",
"description": "Single cache key to restore"
},
"name": {
"type": "string",
"description": "Title of the step to be shown in the CircleCI UI (default: 'Restoring Cache')"
}
}
},
{
"type": "object",
"additionalProperties": false,
"required": [
"keys"
],
"properties": {
"name": {
"type": "string",
"description": "Title of the step to be shown in the CircleCI UI (default: 'Restoring Cache')"
},
"keys": {
"description": "List of cache keys to lookup for a cache to restore. Only first existing key will be restored.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
]
},
"deploy": {
"allOf": [
{
"$ref": "#/definitions/builtinSteps/documentation/deploy"
},
{
"$ref": "#/definitions/builtinSteps/configuration/run"
}
]
},
"store_artifacts": {
"allOf": [
{
"$ref": "#/definitions/builtinSteps/documentation/store_artifacts"
}
],
"type": "object",
"additionalProperties": false,
"required": [
"path"
],
"properties": {
"name": {
"description": "Title of the step to be shown in the CircleCI UI",
"type": "string"
},
"path": {
"description": "Directory in the primary container to save as job artifacts",
"type": "string"
},
"destination": {
"description": "Prefix added to the artifact paths in the artifacts API (default: the directory of the file specified in `path`)",
"type": "string"
}
}
},
"store_test_results": {
"allOf": [
{
"$ref": "#/definitions/builtinSteps/documentation/store_test_results"
}
],
"type": "object",
"additionalProperties": false,
"required": [
"path"
],
"properties": {
"name": {
"description": "Title of the step to be shown in the CircleCI UI",
"type": "string"
},
"path": {
"description": "Path (absolute, or relative to your `working_directory`) to directory containing subdirectories of JUnit XML or Cucumber JSON test metadata files",
"type": "string"
}
}
},
"persist_to_workspace": {
"allOf": [
{
"$ref": "#/definitions/builtinSteps/documentation/persist_to_workspace"
}
],
"type": "object",
"additionalProperties": false,
"required": [
"root",
"paths"
],
"properties": {
"name": {
"description": "Title of the step to be shown in the CircleCI UI",
"type": "string"
},
"root": {
"description": "Either an absolute path or a path relative to `working_directory`",
"type": "string"
},
"paths": {
"description": "Glob identifying file(s), or a non-glob path to a directory to add to the shared workspace. Interpreted as relative to the workspace root. Must not be the workspace root itself.",
"type": "array",
"items": {
"type": "string"
}
}
}
},
"attach_workspace": {
"allOf": [
{
"$ref": "#/definitions/builtinSteps/documentation/attach_workspace"
}
],
"type": "object",
"additionalProperties": false,
"required": [
"at"
],
"properties": {
"name": {
"description": "Title of the step to be shown in the CircleCI UI",
"type": "string"
},
"at": {
"description": "Directory to attach the workspace to",
"type": "string"
}
}
},
"add_ssh_keys": {
"allOf": [
{
"$ref": "#/definitions/builtinSteps/documentation/add_ssh_keys"
}
],
"type": "object",
"additionalProperties": false,
"properties": {
"name": {
"description": "Title of the step to be shown in the CircleCI UI",
"type": "string"
},
"fingerprints": {
"description": "Directory to attach the workspace to",
"type": "array",
"items": {
"type": "string"
}
}
}
},
"when": {
"allOf": [
{
"$ref": "#/definitions/builtinSteps/documentation/when"
}
],
"type": "object",
"additionalProperties": false,
"properties": {
"condition": {
"$ref": "#/definitions/logical"
},
"steps": {
"description": "A list of steps to be performed",
"type": "array",
"items": {
"$ref": "#/definitions/step"
}
}
},
"required": [
"condition",
"steps"
]
},
"unless": {
"allOf": [
{
"$ref": "#/definitions/builtinSteps/documentation/unless"
}
],
"type": "object",
"additionalProperties": false,
"properties": {
"condition": {
"$ref": "#/definitions/logical"
},
"steps": {
"description": "A list of steps to be performed",
"type": "array",
"items": {
"$ref": "#/definitions/step"
}
}
},
"required": [
"condition",
"steps"
]
}
}
},
"step": {
"anyOf": [
{
"$ref": "#/definitions/builtinSteps/documentation/checkout",
"enum": [
"checkout"
]
},
{
"$ref": "#/definitions/builtinSteps/documentation/setup_remote_docker",
"enum": [
"setup_remote_docker"
]
},
{
"$ref": "#/definitions/builtinSteps/documentation/add_ssh_keys",