@intentius/chant-lexicon-gitlab 0.0.2 → 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/integrity.json +3 -3
- package/dist/manifest.json +1 -1
- package/package.json +3 -2
- package/src/testdata/ci-schema-fixture.json +105 -229
package/dist/integrity.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"algorithm": "xxhash64",
|
|
3
3
|
"artifacts": {
|
|
4
|
-
"manifest.json": "
|
|
4
|
+
"manifest.json": "81dcdbe14578ccdf",
|
|
5
5
|
"meta.json": "3a60a5c15437a93b",
|
|
6
6
|
"types/index.d.ts": "2ab52d25cd1a5a14",
|
|
7
7
|
"rules/missing-stage.ts": "6d5379e74209a735",
|
|
@@ -9,9 +9,9 @@
|
|
|
9
9
|
"rules/deprecated-only-except.ts": "1f5a8c785777fb03",
|
|
10
10
|
"rules/artifact-no-expiry.ts": "26874cb6adfbca26",
|
|
11
11
|
"rules/wgl011.ts": "b6b97e5104d91267",
|
|
12
|
-
"rules/wgl010.ts": "1548cad287cdf286",
|
|
13
12
|
"rules/yaml-helpers.ts": "a66cc193b4ef4f0a",
|
|
13
|
+
"rules/wgl010.ts": "1548cad287cdf286",
|
|
14
14
|
"skills/gitlab-ci.md": "f860e40c2643c327"
|
|
15
15
|
},
|
|
16
|
-
"composite": "
|
|
16
|
+
"composite": "3bc48547ad8cfc19"
|
|
17
17
|
}
|
package/dist/manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@intentius/chant-lexicon-gitlab",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.4",
|
|
4
|
+
"license": "Apache-2.0",
|
|
4
5
|
"type": "module",
|
|
5
6
|
"files": ["src/", "dist/"],
|
|
6
7
|
"publishConfig": {
|
|
@@ -20,7 +21,7 @@
|
|
|
20
21
|
"prepack": "bun run bundle && bun run validate"
|
|
21
22
|
},
|
|
22
23
|
"dependencies": {
|
|
23
|
-
"@intentius/chant": "0.0.
|
|
24
|
+
"@intentius/chant": "0.0.4"
|
|
24
25
|
},
|
|
25
26
|
"devDependencies": {
|
|
26
27
|
"typescript": "^5.9.3"
|
|
@@ -34,15 +34,12 @@
|
|
|
34
34
|
"identity": {
|
|
35
35
|
"$ref": "#/definitions/identity"
|
|
36
36
|
},
|
|
37
|
-
"inputs": {
|
|
38
|
-
"$ref": "#/definitions/jobInputs"
|
|
39
|
-
},
|
|
40
37
|
"secrets": {
|
|
41
38
|
"$ref": "#/definitions/secrets"
|
|
42
39
|
},
|
|
43
40
|
"script": {
|
|
44
41
|
"$ref": "#/definitions/script",
|
|
45
|
-
"markdownDescription": "Shell scripts executed by the Runner. The only required property of jobs. Be careful with special characters (e.g. `:`, `{`, `}`, `&`) and use single or double quotes to avoid issues. [Learn More](https://docs.gitlab.com/ci/yaml/#script)"
|
|
42
|
+
"markdownDescription": "Shell scripts executed by the Runner. The only required property of jobs. Be careful with special characters (e.g. `:`, `{`, `}`, `&`) and use single or double quotes to avoid issues. [Learn More](https://docs.gitlab.com/ee/ci/yaml/#script)"
|
|
46
43
|
},
|
|
47
44
|
"run": {
|
|
48
45
|
"$ref": "#/definitions/steps",
|
|
@@ -186,7 +183,7 @@
|
|
|
186
183
|
"$ref": "#/definitions/start_in"
|
|
187
184
|
},
|
|
188
185
|
"manual_confirmation": {
|
|
189
|
-
"markdownDescription": "Describes the Custom confirmation message for a manual job [Learn More](https://docs.gitlab.com/ci/yaml/#when).",
|
|
186
|
+
"markdownDescription": "Describes the Custom confirmation message for a manual job [Learn More](https://docs.gitlab.com/ee/ci/yaml/#when).",
|
|
190
187
|
"type": "string"
|
|
191
188
|
},
|
|
192
189
|
"dependencies": {
|
|
@@ -216,7 +213,7 @@
|
|
|
216
213
|
},
|
|
217
214
|
"url": {
|
|
218
215
|
"type": "string",
|
|
219
|
-
"description": "When set, this will expose buttons in various places for the current environment in
|
|
216
|
+
"description": "When set, this will expose buttons in various places for the current environment in Gitlab, that will take you to the defined URL.",
|
|
220
217
|
"format": "uri",
|
|
221
218
|
"pattern": "^(https?://.+|\\$[A-Za-z]+)"
|
|
222
219
|
},
|
|
@@ -237,56 +234,37 @@
|
|
|
237
234
|
},
|
|
238
235
|
"auto_stop_in": {
|
|
239
236
|
"type": "string",
|
|
240
|
-
"description": "The amount of time it should take before
|
|
237
|
+
"description": "The amount of time it should take before Gitlab will automatically stop the environment. Supports a wide variety of formats, e.g. '1 week', '3 mins 4 sec', '2 hrs 20 min', '2h20min', '6 mos 1 day', '47 yrs 6 mos and 4d', '3 weeks and 2 days'."
|
|
241
238
|
},
|
|
242
239
|
"kubernetes": {
|
|
243
240
|
"type": "object",
|
|
244
|
-
"description": "Used to configure the kubernetes deployment for this environment. This is currently not supported for kubernetes clusters that are managed by
|
|
241
|
+
"description": "Used to configure the kubernetes deployment for this environment. This is currently not supported for kubernetes clusters that are managed by Gitlab.",
|
|
245
242
|
"properties": {
|
|
246
|
-
"agent": {
|
|
247
|
-
"type": "string",
|
|
248
|
-
"description": "Specifies the GitLab Agent for Kubernetes. The format is `path/to/agent/project:agent-name`."
|
|
249
|
-
},
|
|
250
243
|
"namespace": {
|
|
251
244
|
"type": "string",
|
|
252
|
-
"description": "
|
|
245
|
+
"description": "The kubernetes namespace where this environment should be deployed to.",
|
|
253
246
|
"minLength": 1
|
|
254
247
|
},
|
|
255
|
-
"
|
|
248
|
+
"agent": {
|
|
256
249
|
"type": "string",
|
|
257
|
-
"description": "
|
|
250
|
+
"description": "Specifies the Gitlab Agent for Kubernetes. The format is `path/to/agent/project:agent-name`."
|
|
258
251
|
},
|
|
259
|
-
"
|
|
260
|
-
"type": "
|
|
261
|
-
"description": "
|
|
262
|
-
"properties": {
|
|
263
|
-
"enabled": {
|
|
264
|
-
"type": "boolean",
|
|
265
|
-
"description": "Indicates whether the managed resources are enabled for this environment.",
|
|
266
|
-
"default": true
|
|
267
|
-
}
|
|
268
|
-
}
|
|
269
|
-
},
|
|
270
|
-
"dashboard": {
|
|
271
|
-
"type": "object",
|
|
272
|
-
"description": "Used to configure the dashboard for this environment.",
|
|
273
|
-
"properties": {
|
|
274
|
-
"namespace": {
|
|
275
|
-
"type": "string",
|
|
276
|
-
"description": "The kubernetes namespace where the dashboard for this environment should be deployed to.",
|
|
277
|
-
"minLength": 1
|
|
278
|
-
},
|
|
279
|
-
"flux_resource_path": {
|
|
280
|
-
"type": "string",
|
|
281
|
-
"description": "The Flux resource path to associate with this environment. This must be the full resource path. For example, 'helm.toolkit.fluxcd.io/v2/namespaces/gitlab-agent/helmreleases/gitlab-agent'."
|
|
282
|
-
}
|
|
283
|
-
}
|
|
252
|
+
"flux_resource_path": {
|
|
253
|
+
"type": "string",
|
|
254
|
+
"description": "The Flux resource path to associate with this environment. This must be the full resource path. For example, 'helm.toolkit.fluxcd.io/v2/namespaces/gitlab-agent/helmreleases/gitlab-agent'."
|
|
284
255
|
}
|
|
285
256
|
}
|
|
286
257
|
},
|
|
287
258
|
"deployment_tier": {
|
|
288
259
|
"type": "string",
|
|
289
|
-
"description": "Explicitly specifies the tier of the deployment environment if non-standard environment name is used."
|
|
260
|
+
"description": "Explicitly specifies the tier of the deployment environment if non-standard environment name is used.",
|
|
261
|
+
"enum": [
|
|
262
|
+
"production",
|
|
263
|
+
"staging",
|
|
264
|
+
"testing",
|
|
265
|
+
"development",
|
|
266
|
+
"other"
|
|
267
|
+
]
|
|
290
268
|
}
|
|
291
269
|
},
|
|
292
270
|
"required": [
|
|
@@ -409,11 +387,11 @@
|
|
|
409
387
|
"description": "Limit job concurrency. Can be used to ensure that the Runner will not run certain jobs simultaneously."
|
|
410
388
|
},
|
|
411
389
|
"trigger": {
|
|
412
|
-
"markdownDescription": "Trigger allows you to define downstream pipeline trigger. When a job created from trigger definition is started by GitLab, a downstream pipeline gets created. [Learn More](https://docs.gitlab.com/ci/yaml
|
|
390
|
+
"markdownDescription": "Trigger allows you to define downstream pipeline trigger. When a job created from trigger definition is started by GitLab, a downstream pipeline gets created. [Learn More](https://docs.gitlab.com/ee/ci/yaml/index.html#trigger).",
|
|
413
391
|
"oneOf": [
|
|
414
392
|
{
|
|
415
393
|
"type": "object",
|
|
416
|
-
"markdownDescription": "Trigger a multi-project pipeline. [Learn More](https://docs.gitlab.com/ci/pipelines/
|
|
394
|
+
"markdownDescription": "Trigger a multi-project pipeline. [Learn More](https://docs.gitlab.com/ee/ci/pipelines/multi_project_pipelines.html#specify-a-downstream-pipeline-branch).",
|
|
417
395
|
"additionalProperties": false,
|
|
418
396
|
"properties": {
|
|
419
397
|
"project": {
|
|
@@ -426,16 +404,12 @@
|
|
|
426
404
|
"type": "string"
|
|
427
405
|
},
|
|
428
406
|
"strategy": {
|
|
429
|
-
"description": "You can mirror
|
|
407
|
+
"description": "You can mirror the pipeline status from the triggered pipeline to the source bridge job by using strategy: depend",
|
|
430
408
|
"type": "string",
|
|
431
409
|
"enum": [
|
|
432
|
-
"depend"
|
|
433
|
-
"mirror"
|
|
410
|
+
"depend"
|
|
434
411
|
]
|
|
435
412
|
},
|
|
436
|
-
"inputs": {
|
|
437
|
-
"$ref": "#/definitions/inputs"
|
|
438
|
-
},
|
|
439
413
|
"forward": {
|
|
440
414
|
"description": "Specify what to forward to the downstream pipeline.",
|
|
441
415
|
"type": "object",
|
|
@@ -465,7 +439,7 @@
|
|
|
465
439
|
},
|
|
466
440
|
{
|
|
467
441
|
"type": "object",
|
|
468
|
-
"description": "Trigger a child pipeline. [Learn More](https://docs.gitlab.com/ci/pipelines/
|
|
442
|
+
"description": "Trigger a child pipeline. [Learn More](https://docs.gitlab.com/ee/ci/pipelines/parent_child_pipelines.html).",
|
|
469
443
|
"additionalProperties": false,
|
|
470
444
|
"properties": {
|
|
471
445
|
"include": {
|
|
@@ -611,11 +585,10 @@
|
|
|
611
585
|
]
|
|
612
586
|
},
|
|
613
587
|
"strategy": {
|
|
614
|
-
"description": "You can mirror
|
|
588
|
+
"description": "You can mirror the pipeline status from the triggered pipeline to the source bridge job by using strategy: depend",
|
|
615
589
|
"type": "string",
|
|
616
590
|
"enum": [
|
|
617
|
-
"depend"
|
|
618
|
-
"mirror"
|
|
591
|
+
"depend"
|
|
619
592
|
]
|
|
620
593
|
},
|
|
621
594
|
"forward": {
|
|
@@ -638,7 +611,7 @@
|
|
|
638
611
|
}
|
|
639
612
|
},
|
|
640
613
|
{
|
|
641
|
-
"markdownDescription": "Path to the project, e.g. `group/project`, or `group/sub-group/project`. [Learn More](https://docs.gitlab.com/ci/yaml
|
|
614
|
+
"markdownDescription": "Path to the project, e.g. `group/project`, or `group/sub-group/project`. [Learn More](https://docs.gitlab.com/ee/ci/yaml/index.html#trigger).",
|
|
642
615
|
"type": "string",
|
|
643
616
|
"pattern": "(?:\\S/\\S|\\$\\S+)"
|
|
644
617
|
}
|
|
@@ -646,10 +619,10 @@
|
|
|
646
619
|
},
|
|
647
620
|
"inherit": {
|
|
648
621
|
"type": "object",
|
|
649
|
-
"markdownDescription": "Controls inheritance of globally-defined defaults and variables. Boolean values control inheritance of all default: or variables: keywords. To inherit only a subset of default: or variables: keywords, specify what you wish to inherit. Anything not listed is not inherited. [Learn More](https://docs.gitlab.com/ci/yaml/#inherit).",
|
|
622
|
+
"markdownDescription": "Controls inheritance of globally-defined defaults and variables. Boolean values control inheritance of all default: or variables: keywords. To inherit only a subset of default: or variables: keywords, specify what you wish to inherit. Anything not listed is not inherited. [Learn More](https://docs.gitlab.com/ee/ci/yaml/#inherit).",
|
|
650
623
|
"properties": {
|
|
651
624
|
"default": {
|
|
652
|
-
"markdownDescription": "Whether to inherit all globally-defined defaults or not. Or subset of inherited defaults. [Learn more](https://docs.gitlab.com/ci/yaml/#inheritdefault).",
|
|
625
|
+
"markdownDescription": "Whether to inherit all globally-defined defaults or not. Or subset of inherited defaults. [Learn more](https://docs.gitlab.com/ee/ci/yaml/#inheritdefault).",
|
|
653
626
|
"oneOf": [
|
|
654
627
|
{
|
|
655
628
|
"type": "boolean"
|
|
@@ -675,7 +648,7 @@
|
|
|
675
648
|
]
|
|
676
649
|
},
|
|
677
650
|
"variables": {
|
|
678
|
-
"markdownDescription": "Whether to inherit all globally-defined variables or not. Or subset of inherited variables. [Learn More](https://docs.gitlab.com/ci/yaml/#inheritvariables).",
|
|
651
|
+
"markdownDescription": "Whether to inherit all globally-defined variables or not. Or subset of inherited variables. [Learn More](https://docs.gitlab.com/ee/ci/yaml/#inheritvariables).",
|
|
679
652
|
"oneOf": [
|
|
680
653
|
{
|
|
681
654
|
"type": "boolean"
|
|
@@ -692,7 +665,7 @@
|
|
|
692
665
|
"additionalProperties": false
|
|
693
666
|
},
|
|
694
667
|
"publish": {
|
|
695
|
-
"description": "
|
|
668
|
+
"description": "A path to a directory that contains the files to be published with Pages",
|
|
696
669
|
"type": "string"
|
|
697
670
|
},
|
|
698
671
|
"pages": {
|
|
@@ -707,11 +680,7 @@
|
|
|
707
680
|
},
|
|
708
681
|
"expire_in": {
|
|
709
682
|
"type": "string",
|
|
710
|
-
"markdownDescription": "How long the deployment should be active. Deployments that have expired are no longer available on the web. Supports a wide variety of formats, e.g. '1 week', '3 mins 4 sec', '2 hrs 20 min', '2h20min', '6 mos 1 day', '47 yrs 6 mos and 4d', '3 weeks and 2 days'. Set to 'never' to prevent extra deployments from expiring. [Learn More](https://docs.gitlab.com/ci/yaml/#pagesexpire_in)."
|
|
711
|
-
},
|
|
712
|
-
"publish": {
|
|
713
|
-
"type": "string",
|
|
714
|
-
"markdownDescription": "A path to a directory that contains the files to be published with Pages."
|
|
683
|
+
"markdownDescription": "How long the deployment should be active. Deployments that have expired are no longer available on the web. Supports a wide variety of formats, e.g. '1 week', '3 mins 4 sec', '2 hrs 20 min', '2h20min', '6 mos 1 day', '47 yrs 6 mos and 4d', '3 weeks and 2 days'. Set to 'never' to prevent extra deployments from expiring. [Learn More](https://docs.gitlab.com/ee/ci/yaml/#pagesexpire_in)."
|
|
715
684
|
}
|
|
716
685
|
}
|
|
717
686
|
},
|
|
@@ -759,7 +728,7 @@
|
|
|
759
728
|
},
|
|
760
729
|
{
|
|
761
730
|
"type": "object",
|
|
762
|
-
"description": "Specifies the docker image to use for the job or globally for all jobs. Job configuration takes precedence over global setting. Requires a certain kind of
|
|
731
|
+
"description": "Specifies the docker image to use for the job or globally for all jobs. Job configuration takes precedence over global setting. Requires a certain kind of Gitlab runner executor.",
|
|
763
732
|
"additionalProperties": false,
|
|
764
733
|
"properties": {
|
|
765
734
|
"name": {
|
|
@@ -774,7 +743,7 @@
|
|
|
774
743
|
},
|
|
775
744
|
"docker": {
|
|
776
745
|
"type": "object",
|
|
777
|
-
"markdownDescription": "Options to pass to Runners Docker Executor. [Learn More](https://docs.gitlab.com/ci/yaml/#imagedocker)",
|
|
746
|
+
"markdownDescription": "Options to pass to Runners Docker Executor. [Learn More](https://docs.gitlab.com/ee/ci/yaml/#imagedocker)",
|
|
778
747
|
"additionalProperties": false,
|
|
779
748
|
"properties": {
|
|
780
749
|
"platform": {
|
|
@@ -790,24 +759,8 @@
|
|
|
790
759
|
}
|
|
791
760
|
}
|
|
792
761
|
},
|
|
793
|
-
"kubernetes": {
|
|
794
|
-
"type": "object",
|
|
795
|
-
"markdownDescription": "Options to pass to Runners Kubernetes Executor. [Learn More](https://docs.gitlab.com/ci/yaml/#imagekubernetes)",
|
|
796
|
-
"additionalProperties": false,
|
|
797
|
-
"properties": {
|
|
798
|
-
"user": {
|
|
799
|
-
"type": [
|
|
800
|
-
"string",
|
|
801
|
-
"integer"
|
|
802
|
-
],
|
|
803
|
-
"minLength": 1,
|
|
804
|
-
"maxLength": 255,
|
|
805
|
-
"description": "Username or UID to use for the container. It also supports the UID:GID format."
|
|
806
|
-
}
|
|
807
|
-
}
|
|
808
|
-
},
|
|
809
762
|
"pull_policy": {
|
|
810
|
-
"markdownDescription": "Specifies how to pull the image in Runner. It can be one of `always`, `never` or `if-not-present`. The default value is `always`. [Learn more](https://docs.gitlab.com/ci/yaml/#imagepull_policy).",
|
|
763
|
+
"markdownDescription": "Specifies how to pull the image in Runner. It can be one of `always`, `never` or `if-not-present`. The default value is `always`. [Learn more](https://docs.gitlab.com/ee/ci/yaml/#imagepull_policy).",
|
|
811
764
|
"default": "always",
|
|
812
765
|
"oneOf": [
|
|
813
766
|
{
|
|
@@ -839,11 +792,11 @@
|
|
|
839
792
|
]
|
|
840
793
|
}
|
|
841
794
|
],
|
|
842
|
-
"markdownDescription": "Specifies the docker image to use for the job or globally for all jobs. Job configuration takes precedence over global setting. Requires a certain kind of
|
|
795
|
+
"markdownDescription": "Specifies the docker image to use for the job or globally for all jobs. Job configuration takes precedence over global setting. Requires a certain kind of Gitlab runner executor. [Learn More](https://docs.gitlab.com/ee/ci/yaml/#image)."
|
|
843
796
|
},
|
|
844
797
|
"services": {
|
|
845
798
|
"type": "array",
|
|
846
|
-
"markdownDescription": "Similar to `image` property, but will link the specified services to the `image` container. [Learn More](https://docs.gitlab.com/ci/yaml/#services).",
|
|
799
|
+
"markdownDescription": "Similar to `image` property, but will link the specified services to the `image` container. [Learn More](https://docs.gitlab.com/ee/ci/yaml/#services).",
|
|
847
800
|
"items": {
|
|
848
801
|
"oneOf": [
|
|
849
802
|
{
|
|
@@ -863,7 +816,7 @@
|
|
|
863
816
|
},
|
|
864
817
|
"entrypoint": {
|
|
865
818
|
"type": "array",
|
|
866
|
-
"markdownDescription": "Command or script that should be executed as the container's entrypoint. It will be translated to Docker's --entrypoint option while creating the container. The syntax is similar to Dockerfile's ENTRYPOINT directive, where each shell token is a separate string in the array. [Learn More](https://docs.gitlab.com/ci/services
|
|
819
|
+
"markdownDescription": "Command or script that should be executed as the container's entrypoint. It will be translated to Docker's --entrypoint option while creating the container. The syntax is similar to Dockerfile's ENTRYPOINT directive, where each shell token is a separate string in the array. [Learn More](https://docs.gitlab.com/ee/ci/services/index.html#available-settings-for-services)",
|
|
867
820
|
"minItems": 1,
|
|
868
821
|
"items": {
|
|
869
822
|
"type": "string"
|
|
@@ -871,7 +824,7 @@
|
|
|
871
824
|
},
|
|
872
825
|
"docker": {
|
|
873
826
|
"type": "object",
|
|
874
|
-
"markdownDescription": "Options to pass to Runners Docker Executor. [Learn More](https://docs.gitlab.com/ci/yaml/#servicesdocker)",
|
|
827
|
+
"markdownDescription": "Options to pass to Runners Docker Executor. [Learn More](https://docs.gitlab.com/ee/ci/yaml/#servicesdocker)",
|
|
875
828
|
"additionalProperties": false,
|
|
876
829
|
"properties": {
|
|
877
830
|
"platform": {
|
|
@@ -887,24 +840,8 @@
|
|
|
887
840
|
}
|
|
888
841
|
}
|
|
889
842
|
},
|
|
890
|
-
"kubernetes": {
|
|
891
|
-
"type": "object",
|
|
892
|
-
"markdownDescription": "Options to pass to Runners Kubernetes Executor. [Learn More](https://docs.gitlab.com/ci/yaml/#imagekubernetes)",
|
|
893
|
-
"additionalProperties": false,
|
|
894
|
-
"properties": {
|
|
895
|
-
"user": {
|
|
896
|
-
"type": [
|
|
897
|
-
"string",
|
|
898
|
-
"integer"
|
|
899
|
-
],
|
|
900
|
-
"minLength": 1,
|
|
901
|
-
"maxLength": 255,
|
|
902
|
-
"description": "Username or UID to use for the container. It also supports the UID:GID format."
|
|
903
|
-
}
|
|
904
|
-
}
|
|
905
|
-
},
|
|
906
843
|
"pull_policy": {
|
|
907
|
-
"markdownDescription": "Specifies how to pull the image in Runner. It can be one of `always`, `never` or `if-not-present`. The default value is `always`. [Learn more](https://docs.gitlab.com/ci/yaml/#servicespull_policy).",
|
|
844
|
+
"markdownDescription": "Specifies how to pull the image in Runner. It can be one of `always`, `never` or `if-not-present`. The default value is `always`. [Learn more](https://docs.gitlab.com/ee/ci/yaml/#servicespull_policy).",
|
|
908
845
|
"default": "always",
|
|
909
846
|
"oneOf": [
|
|
910
847
|
{
|
|
@@ -931,17 +868,21 @@
|
|
|
931
868
|
]
|
|
932
869
|
},
|
|
933
870
|
"command": {
|
|
934
|
-
"
|
|
935
|
-
"
|
|
871
|
+
"type": "array",
|
|
872
|
+
"markdownDescription": "Command or script that should be used as the container's command. It will be translated to arguments passed to Docker after the image's name. The syntax is similar to Dockerfile's CMD directive, where each shell token is a separate string in the array. [Learn More](https://docs.gitlab.com/ee/ci/services/index.html#available-settings-for-services)",
|
|
873
|
+
"minItems": 1,
|
|
874
|
+
"items": {
|
|
875
|
+
"type": "string"
|
|
876
|
+
}
|
|
936
877
|
},
|
|
937
878
|
"alias": {
|
|
938
879
|
"type": "string",
|
|
939
|
-
"markdownDescription": "Additional alias that can be used to access the service from the job's container. Read Accessing the services for more information. [Learn More](https://docs.gitlab.com/ci/services
|
|
880
|
+
"markdownDescription": "Additional alias that can be used to access the service from the job's container. Read Accessing the services for more information. [Learn More](https://docs.gitlab.com/ee/ci/services/index.html#available-settings-for-services)",
|
|
940
881
|
"minLength": 1
|
|
941
882
|
},
|
|
942
883
|
"variables": {
|
|
943
884
|
"$ref": "#/definitions/jobVariables",
|
|
944
|
-
"markdownDescription": "Additional environment variables that are passed exclusively to the service. Service variables cannot reference themselves. [Learn More](https://docs.gitlab.com/ci/services
|
|
885
|
+
"markdownDescription": "Additional environment variables that are passed exclusively to the service. Service variables cannot reference themselves. [Learn More](https://docs.gitlab.com/ee/ci/services/index.html#available-settings-for-services)"
|
|
945
886
|
}
|
|
946
887
|
},
|
|
947
888
|
"required": [
|
|
@@ -956,12 +897,12 @@
|
|
|
956
897
|
"object",
|
|
957
898
|
"null"
|
|
958
899
|
],
|
|
959
|
-
"markdownDescription": "Used to specify a list of files and directories that should be attached to the job if it succeeds. Artifacts are sent to
|
|
900
|
+
"markdownDescription": "Used to specify a list of files and directories that should be attached to the job if it succeeds. Artifacts are sent to Gitlab where they can be downloaded. [Learn More](https://docs.gitlab.com/ee/ci/yaml/#artifacts).",
|
|
960
901
|
"additionalProperties": false,
|
|
961
902
|
"properties": {
|
|
962
903
|
"paths": {
|
|
963
904
|
"type": "array",
|
|
964
|
-
"markdownDescription": "A list of paths to files/folders that should be included in the artifact. [Learn More](https://docs.gitlab.com/ci/yaml/#artifactspaths).",
|
|
905
|
+
"markdownDescription": "A list of paths to files/folders that should be included in the artifact. [Learn More](https://docs.gitlab.com/ee/ci/yaml/#artifactspaths).",
|
|
965
906
|
"items": {
|
|
966
907
|
"type": "string"
|
|
967
908
|
},
|
|
@@ -969,7 +910,7 @@
|
|
|
969
910
|
},
|
|
970
911
|
"exclude": {
|
|
971
912
|
"type": "array",
|
|
972
|
-
"markdownDescription": "A list of paths to files/folders that should be excluded in the artifact. [Learn More](https://docs.gitlab.com/ci/yaml/#artifactsexclude).",
|
|
913
|
+
"markdownDescription": "A list of paths to files/folders that should be excluded in the artifact. [Learn More](https://docs.gitlab.com/ee/ci/yaml/#artifactsexclude).",
|
|
973
914
|
"items": {
|
|
974
915
|
"type": "string"
|
|
975
916
|
},
|
|
@@ -977,19 +918,19 @@
|
|
|
977
918
|
},
|
|
978
919
|
"expose_as": {
|
|
979
920
|
"type": "string",
|
|
980
|
-
"markdownDescription": "Can be used to expose job artifacts in the merge request UI. GitLab will add a link <expose_as> to the relevant merge request that points to the artifact. [Learn More](https://docs.gitlab.com/ci/yaml/#artifactsexpose_as)."
|
|
921
|
+
"markdownDescription": "Can be used to expose job artifacts in the merge request UI. GitLab will add a link <expose_as> to the relevant merge request that points to the artifact. [Learn More](https://docs.gitlab.com/ee/ci/yaml/#artifactsexpose_as)."
|
|
981
922
|
},
|
|
982
923
|
"name": {
|
|
983
924
|
"type": "string",
|
|
984
|
-
"markdownDescription": "Name for the archive created on job success. Can use variables in the name, e.g. '$CI_JOB_NAME' [Learn More](https://docs.gitlab.com/ci/yaml/#artifactsname)."
|
|
925
|
+
"markdownDescription": "Name for the archive created on job success. Can use variables in the name, e.g. '$CI_JOB_NAME' [Learn More](https://docs.gitlab.com/ee/ci/yaml/#artifactsname)."
|
|
985
926
|
},
|
|
986
927
|
"untracked": {
|
|
987
928
|
"type": "boolean",
|
|
988
|
-
"markdownDescription": "Whether to add all untracked files (along with 'artifacts.paths') to the artifact. [Learn More](https://docs.gitlab.com/ci/yaml/#artifactsuntracked).",
|
|
929
|
+
"markdownDescription": "Whether to add all untracked files (along with 'artifacts.paths') to the artifact. [Learn More](https://docs.gitlab.com/ee/ci/yaml/#artifactsuntracked).",
|
|
989
930
|
"default": false
|
|
990
931
|
},
|
|
991
932
|
"when": {
|
|
992
|
-
"markdownDescription": "Configure when artifacts are uploaded depended on job status. [Learn More](https://docs.gitlab.com/ci/yaml/#artifactswhen).",
|
|
933
|
+
"markdownDescription": "Configure when artifacts are uploaded depended on job status. [Learn More](https://docs.gitlab.com/ee/ci/yaml/#artifactswhen).",
|
|
993
934
|
"default": "on_success",
|
|
994
935
|
"type": "string",
|
|
995
936
|
"enum": [
|
|
@@ -999,30 +940,25 @@
|
|
|
999
940
|
]
|
|
1000
941
|
},
|
|
1001
942
|
"access": {
|
|
1002
|
-
"markdownDescription": "Configure who can access the artifacts. [Learn More](https://docs.gitlab.com/ci/yaml/#artifactsaccess).",
|
|
943
|
+
"markdownDescription": "Configure who can access the artifacts. [Learn More](https://docs.gitlab.com/ee/ci/yaml/#artifactsaccess).",
|
|
1003
944
|
"default": "all",
|
|
1004
945
|
"type": "string",
|
|
1005
946
|
"enum": [
|
|
1006
947
|
"none",
|
|
1007
948
|
"developer",
|
|
1008
|
-
"maintainer",
|
|
1009
949
|
"all"
|
|
1010
950
|
]
|
|
1011
951
|
},
|
|
1012
952
|
"expire_in": {
|
|
1013
953
|
"type": "string",
|
|
1014
|
-
"markdownDescription": "How long artifacts should be kept. They are saved 30 days by default. Artifacts that have expired are removed periodically via cron job. Supports a wide variety of formats, e.g. '1 week', '3 mins 4 sec', '2 hrs 20 min', '2h20min', '6 mos 1 day', '47 yrs 6 mos and 4d', '3 weeks and 2 days'. [Learn More](https://docs.gitlab.com/ci/yaml/#artifactsexpire_in).",
|
|
954
|
+
"markdownDescription": "How long artifacts should be kept. They are saved 30 days by default. Artifacts that have expired are removed periodically via cron job. Supports a wide variety of formats, e.g. '1 week', '3 mins 4 sec', '2 hrs 20 min', '2h20min', '6 mos 1 day', '47 yrs 6 mos and 4d', '3 weeks and 2 days'. [Learn More](https://docs.gitlab.com/ee/ci/yaml/#artifactsexpire_in).",
|
|
1015
955
|
"default": "30 days"
|
|
1016
956
|
},
|
|
1017
957
|
"reports": {
|
|
1018
958
|
"type": "object",
|
|
1019
|
-
"markdownDescription": "Reports will be uploaded as artifacts, and often displayed in the
|
|
959
|
+
"markdownDescription": "Reports will be uploaded as artifacts, and often displayed in the Gitlab UI, such as in merge requests. [Learn More](https://docs.gitlab.com/ee/ci/yaml/#artifactsreports).",
|
|
1020
960
|
"additionalProperties": false,
|
|
1021
961
|
"properties": {
|
|
1022
|
-
"accessibility": {
|
|
1023
|
-
"type": "string",
|
|
1024
|
-
"description": "Path to JSON file with accessibility report."
|
|
1025
|
-
},
|
|
1026
962
|
"annotations": {
|
|
1027
963
|
"type": "string",
|
|
1028
964
|
"description": "Path to JSON file with annotations report."
|
|
@@ -1123,11 +1059,11 @@
|
|
|
1123
1059
|
},
|
|
1124
1060
|
"cyclonedx": {
|
|
1125
1061
|
"$ref": "#/definitions/string_file_list",
|
|
1126
|
-
"markdownDescription": "Path to file or list of files with cyclonedx report(s). [Learn More](https://docs.gitlab.com/ci/yaml/artifacts_reports
|
|
1062
|
+
"markdownDescription": "Path to file or list of files with cyclonedx report(s). [Learn More](https://docs.gitlab.com/ee/ci/yaml/artifacts_reports.html#artifactsreportscyclonedx)."
|
|
1127
1063
|
},
|
|
1128
1064
|
"load_performance": {
|
|
1129
1065
|
"$ref": "#/definitions/string_file_list",
|
|
1130
|
-
"markdownDescription": "Path to file or list of files with load performance testing report(s). [Learn More](https://docs.gitlab.com/ci/yaml/artifacts_reports
|
|
1066
|
+
"markdownDescription": "Path to file or list of files with load performance testing report(s). [Learn More](https://docs.gitlab.com/ee/ci/yaml/artifacts_reports.html#artifactsreportsload_performance)."
|
|
1131
1067
|
},
|
|
1132
1068
|
"repository_xray": {
|
|
1133
1069
|
"$ref": "#/definitions/string_file_list",
|
|
@@ -1141,7 +1077,7 @@
|
|
|
1141
1077
|
"type": "object",
|
|
1142
1078
|
"properties": {
|
|
1143
1079
|
"key": {
|
|
1144
|
-
"markdownDescription": "Use the `cache:key` keyword to give each cache a unique identifying key. All jobs that use the same cache key use the same cache, including in different pipelines. Must be used with `cache:path`, or nothing is cached. [Learn More](https://docs.gitlab.com/ci/yaml/#cachekey).",
|
|
1080
|
+
"markdownDescription": "Use the `cache:key` keyword to give each cache a unique identifying key. All jobs that use the same cache key use the same cache, including in different pipelines. Must be used with `cache:path`, or nothing is cached. [Learn More](https://docs.gitlab.com/ee/ci/yaml/#cachekey).",
|
|
1145
1081
|
"oneOf": [
|
|
1146
1082
|
{
|
|
1147
1083
|
"type": "string",
|
|
@@ -1151,16 +1087,7 @@
|
|
|
1151
1087
|
"type": "object",
|
|
1152
1088
|
"properties": {
|
|
1153
1089
|
"files": {
|
|
1154
|
-
"markdownDescription": "Use the `cache:key:files` keyword to generate a new
|
|
1155
|
-
"type": "array",
|
|
1156
|
-
"items": {
|
|
1157
|
-
"type": "string"
|
|
1158
|
-
},
|
|
1159
|
-
"minItems": 1,
|
|
1160
|
-
"maxItems": 2
|
|
1161
|
-
},
|
|
1162
|
-
"files_commits": {
|
|
1163
|
-
"markdownDescription": "Use the `cache:key:files_commits` keyword to generate a new cache key when the latest commit changes for the specified files. [Learn More](https://docs.gitlab.com/ci/yaml/#cachekeyfiles_commits)",
|
|
1090
|
+
"markdownDescription": "Use the `cache:key:files` keyword to generate a new key when one or two specific files change. [Learn More](https://docs.gitlab.com/ee/ci/yaml/#cachekeyfiles)",
|
|
1164
1091
|
"type": "array",
|
|
1165
1092
|
"items": {
|
|
1166
1093
|
"type": "string"
|
|
@@ -1169,7 +1096,7 @@
|
|
|
1169
1096
|
"maxItems": 2
|
|
1170
1097
|
},
|
|
1171
1098
|
"prefix": {
|
|
1172
|
-
"markdownDescription": "Use `cache:key:prefix` to combine a prefix with the SHA computed for `cache:key:files
|
|
1099
|
+
"markdownDescription": "Use `cache:key:prefix` to combine a prefix with the SHA computed for `cache:key:files`. [Learn More](https://docs.gitlab.com/ee/ci/yaml/#cachekeyprefix)",
|
|
1173
1100
|
"type": "string"
|
|
1174
1101
|
}
|
|
1175
1102
|
}
|
|
@@ -1178,14 +1105,14 @@
|
|
|
1178
1105
|
},
|
|
1179
1106
|
"paths": {
|
|
1180
1107
|
"type": "array",
|
|
1181
|
-
"markdownDescription": "Use the `cache:paths` keyword to choose which files or directories to cache. [Learn More](https://docs.gitlab.com/ci/yaml/#cachepaths)",
|
|
1108
|
+
"markdownDescription": "Use the `cache:paths` keyword to choose which files or directories to cache. [Learn More](https://docs.gitlab.com/ee/ci/yaml/#cachepaths)",
|
|
1182
1109
|
"items": {
|
|
1183
1110
|
"type": "string"
|
|
1184
1111
|
}
|
|
1185
1112
|
},
|
|
1186
1113
|
"policy": {
|
|
1187
1114
|
"type": "string",
|
|
1188
|
-
"markdownDescription": "Determines the strategy for downloading and updating the cache. [Learn More](https://docs.gitlab.com/ci/yaml/#cachepolicy)",
|
|
1115
|
+
"markdownDescription": "Determines the strategy for downloading and updating the cache. [Learn More](https://docs.gitlab.com/ee/ci/yaml/#cachepolicy)",
|
|
1189
1116
|
"default": "pull-push",
|
|
1190
1117
|
"pattern": "pull-push|pull|push|\\$\\w{1,255}"
|
|
1191
1118
|
},
|
|
@@ -1196,12 +1123,12 @@
|
|
|
1196
1123
|
},
|
|
1197
1124
|
"untracked": {
|
|
1198
1125
|
"type": "boolean",
|
|
1199
|
-
"markdownDescription": "Use `untracked: true` to cache all files that are untracked in your Git repository. [Learn More](https://docs.gitlab.com/ci/yaml/#cacheuntracked)",
|
|
1126
|
+
"markdownDescription": "Use `untracked: true` to cache all files that are untracked in your Git repository. [Learn More](https://docs.gitlab.com/ee/ci/yaml/#cacheuntracked)",
|
|
1200
1127
|
"default": false
|
|
1201
1128
|
},
|
|
1202
1129
|
"when": {
|
|
1203
1130
|
"type": "string",
|
|
1204
|
-
"markdownDescription": "Defines when to save the cache, based on the status of the job. [Learn More](https://docs.gitlab.com/ci/yaml/#cachewhen).",
|
|
1131
|
+
"markdownDescription": "Defines when to save the cache, based on the status of the job. [Learn More](https://docs.gitlab.com/ee/ci/yaml/#cachewhen).",
|
|
1205
1132
|
"default": "on_success",
|
|
1206
1133
|
"enum": [
|
|
1207
1134
|
"on_success",
|
|
@@ -1224,7 +1151,7 @@
|
|
|
1224
1151
|
"array",
|
|
1225
1152
|
"null"
|
|
1226
1153
|
],
|
|
1227
|
-
"markdownDescription": "Rules allows for an array of individual rule objects to be evaluated in order, until one matches and dynamically provides attributes to the job. [Learn More](https://docs.gitlab.com/ci/yaml/#rules).",
|
|
1154
|
+
"markdownDescription": "Rules allows for an array of individual rule objects to be evaluated in order, until one matches and dynamically provides attributes to the job. [Learn More](https://docs.gitlab.com/ee/ci/yaml/#rules).",
|
|
1228
1155
|
"items": {
|
|
1229
1156
|
"anyOf": [
|
|
1230
1157
|
{
|
|
@@ -1275,7 +1202,7 @@
|
|
|
1275
1202
|
}
|
|
1276
1203
|
},
|
|
1277
1204
|
"retry": {
|
|
1278
|
-
"markdownDescription": "Retry a job if it fails. Can be a simple integer or object definition. [Learn More](https://docs.gitlab.com/ci/yaml/#retry).",
|
|
1205
|
+
"markdownDescription": "Retry a job if it fails. Can be a simple integer or object definition. [Learn More](https://docs.gitlab.com/ee/ci/yaml/#retry).",
|
|
1279
1206
|
"oneOf": [
|
|
1280
1207
|
{
|
|
1281
1208
|
"$ref": "#/definitions/retry_max"
|
|
@@ -1288,7 +1215,7 @@
|
|
|
1288
1215
|
"$ref": "#/definitions/retry_max"
|
|
1289
1216
|
},
|
|
1290
1217
|
"when": {
|
|
1291
|
-
"markdownDescription": "Either a single or array of error types to trigger job retry. [Learn More](https://docs.gitlab.com/ci/yaml/#retrywhen).",
|
|
1218
|
+
"markdownDescription": "Either a single or array of error types to trigger job retry. [Learn More](https://docs.gitlab.com/ee/ci/yaml/#retrywhen).",
|
|
1292
1219
|
"oneOf": [
|
|
1293
1220
|
{
|
|
1294
1221
|
"$ref": "#/definitions/retry_errors"
|
|
@@ -1302,7 +1229,7 @@
|
|
|
1302
1229
|
]
|
|
1303
1230
|
},
|
|
1304
1231
|
"exit_codes": {
|
|
1305
|
-
"markdownDescription": "Either a single or array of exit codes to trigger job retry on. [Learn More](https://docs.gitlab.com/ci/yaml/#retryexit_codes).",
|
|
1232
|
+
"markdownDescription": "Either a single or array of exit codes to trigger job retry on. [Learn More](https://docs.gitlab.com/ee/ci/yaml/#retryexit_codes).",
|
|
1306
1233
|
"oneOf": [
|
|
1307
1234
|
{
|
|
1308
1235
|
"description": "Retry when the job exit code is included in the array's values.",
|
|
@@ -1324,7 +1251,7 @@
|
|
|
1324
1251
|
]
|
|
1325
1252
|
},
|
|
1326
1253
|
"allow_failure": {
|
|
1327
|
-
"markdownDescription": "Allow job to fail. A failed job does not cause the pipeline to fail. [Learn More](https://docs.gitlab.com/ci/yaml/#allow_failure).",
|
|
1254
|
+
"markdownDescription": "Allow job to fail. A failed job does not cause the pipeline to fail. [Learn More](https://docs.gitlab.com/ee/ci/yaml/#allow_failure).",
|
|
1328
1255
|
"oneOf": [
|
|
1329
1256
|
{
|
|
1330
1257
|
"description": "Setting this option to true will allow the job to fail while still letting the pipeline pass.",
|
|
@@ -1445,7 +1372,7 @@
|
|
|
1445
1372
|
"additionalProperties": false,
|
|
1446
1373
|
"properties": {
|
|
1447
1374
|
"project": {
|
|
1448
|
-
"description": "Path to the project, e.g. `group/project`, or `group/sub-group/project` [Learn more](https://docs.gitlab.com/ci/yaml
|
|
1375
|
+
"description": "Path to the project, e.g. `group/project`, or `group/sub-group/project` [Learn more](https://docs.gitlab.com/ee/ci/yaml/index.html#includefile).",
|
|
1449
1376
|
"type": "string",
|
|
1450
1377
|
"pattern": "(?:\\S/\\S|\\$\\S+)"
|
|
1451
1378
|
},
|
|
@@ -1533,11 +1460,6 @@
|
|
|
1533
1460
|
"format": "uri-reference",
|
|
1534
1461
|
"pattern": "^https?://.+\\.ya?ml$"
|
|
1535
1462
|
},
|
|
1536
|
-
"integrity": {
|
|
1537
|
-
"description": "SHA256 integrity hash of the remote file content.",
|
|
1538
|
-
"type": "string",
|
|
1539
|
-
"pattern": "^sha256-[A-Za-z0-9+/]{43}=$"
|
|
1540
|
-
},
|
|
1541
1463
|
"rules": {
|
|
1542
1464
|
"$ref": "#/definitions/includeRules"
|
|
1543
1465
|
},
|
|
@@ -1552,7 +1474,7 @@
|
|
|
1552
1474
|
]
|
|
1553
1475
|
},
|
|
1554
1476
|
"when": {
|
|
1555
|
-
"markdownDescription": "Describes the conditions for when to run the job. Defaults to 'on_success'. [Learn More](https://docs.gitlab.com/ci/yaml/#when).",
|
|
1477
|
+
"markdownDescription": "Describes the conditions for when to run the job. Defaults to 'on_success'. [Learn More](https://docs.gitlab.com/ee/ci/yaml/#when).",
|
|
1556
1478
|
"default": "on_success",
|
|
1557
1479
|
"type": "string",
|
|
1558
1480
|
"enum": [
|
|
@@ -1635,7 +1557,7 @@
|
|
|
1635
1557
|
]
|
|
1636
1558
|
},
|
|
1637
1559
|
"on_new_commit": {
|
|
1638
|
-
"markdownDescription": "Configure the behavior of the auto-cancel redundant pipelines feature. [Learn More](https://docs.gitlab.com/ci/yaml/#workflowauto_cancelon_new_commit)",
|
|
1560
|
+
"markdownDescription": "Configure the behavior of the auto-cancel redundant pipelines feature. [Learn More](https://docs.gitlab.com/ee/ci/yaml/#workflowauto_cancelon_new_commit)",
|
|
1639
1561
|
"type": "string",
|
|
1640
1562
|
"enum": [
|
|
1641
1563
|
"conservative",
|
|
@@ -1647,11 +1569,11 @@
|
|
|
1647
1569
|
},
|
|
1648
1570
|
"before_script": {
|
|
1649
1571
|
"$ref": "#/definitions/optional_script",
|
|
1650
|
-
"markdownDescription": "Defines scripts that should run *before* the job. Can be set globally or per job. [Learn More](https://docs.gitlab.com/ci/yaml/#before_script)."
|
|
1572
|
+
"markdownDescription": "Defines scripts that should run *before* the job. Can be set globally or per job. [Learn More](https://docs.gitlab.com/ee/ci/yaml/#before_script)."
|
|
1651
1573
|
},
|
|
1652
1574
|
"after_script": {
|
|
1653
1575
|
"$ref": "#/definitions/optional_script",
|
|
1654
|
-
"markdownDescription": "Defines scripts that should run *after* the job. Can be set globally or per job. [Learn More](https://docs.gitlab.com/ci/yaml/#after_script)."
|
|
1576
|
+
"markdownDescription": "Defines scripts that should run *after* the job. Can be set globally or per job. [Learn More](https://docs.gitlab.com/ee/ci/yaml/#after_script)."
|
|
1655
1577
|
},
|
|
1656
1578
|
"script": {
|
|
1657
1579
|
"oneOf": [
|
|
@@ -1702,7 +1624,7 @@
|
|
|
1702
1624
|
]
|
|
1703
1625
|
},
|
|
1704
1626
|
"globalVariables": {
|
|
1705
|
-
"markdownDescription": "Defines default variables for all jobs. Job level property overrides global variables. [Learn More](https://docs.gitlab.com/ci/yaml/#variables).",
|
|
1627
|
+
"markdownDescription": "Defines default variables for all jobs. Job level property overrides global variables. [Learn More](https://docs.gitlab.com/ee/ci/yaml/#variables).",
|
|
1706
1628
|
"type": "object",
|
|
1707
1629
|
"patternProperties": {
|
|
1708
1630
|
".*": {
|
|
@@ -1719,7 +1641,7 @@
|
|
|
1719
1641
|
"properties": {
|
|
1720
1642
|
"value": {
|
|
1721
1643
|
"type": "string",
|
|
1722
|
-
"markdownDescription": "Default value of the variable. If used with `options`, `value` must be included in the array. [Learn More](https://docs.gitlab.com/ci/yaml/#variablesvalue)"
|
|
1644
|
+
"markdownDescription": "Default value of the variable. If used with `options`, `value` must be included in the array. [Learn More](https://docs.gitlab.com/ee/ci/yaml/#variablesvalue)"
|
|
1723
1645
|
},
|
|
1724
1646
|
"options": {
|
|
1725
1647
|
"type": "array",
|
|
@@ -1728,15 +1650,15 @@
|
|
|
1728
1650
|
},
|
|
1729
1651
|
"minItems": 1,
|
|
1730
1652
|
"uniqueItems": true,
|
|
1731
|
-
"markdownDescription": "A list of predefined values that users can select from in the **Run pipeline** page when running a pipeline manually. [Learn More](https://docs.gitlab.com/ci/yaml/#variablesoptions)"
|
|
1653
|
+
"markdownDescription": "A list of predefined values that users can select from in the **Run pipeline** page when running a pipeline manually. [Learn More](https://docs.gitlab.com/ee/ci/yaml/#variablesoptions)"
|
|
1732
1654
|
},
|
|
1733
1655
|
"description": {
|
|
1734
1656
|
"type": "string",
|
|
1735
|
-
"markdownDescription": "Explains what the variable is used for, what the acceptable values are. Variables with `description` are prefilled when running a pipeline manually. [Learn More](https://docs.gitlab.com/ci/yaml/#variablesdescription)."
|
|
1657
|
+
"markdownDescription": "Explains what the variable is used for, what the acceptable values are. Variables with `description` are prefilled when running a pipeline manually. [Learn More](https://docs.gitlab.com/ee/ci/yaml/#variablesdescription)."
|
|
1736
1658
|
},
|
|
1737
1659
|
"expand": {
|
|
1738
1660
|
"type": "boolean",
|
|
1739
|
-
"markdownDescription": "If the variable is expandable or not. [Learn More](https://docs.gitlab.com/ci/yaml/#variablesexpand)."
|
|
1661
|
+
"markdownDescription": "If the variable is expandable or not. [Learn More](https://docs.gitlab.com/ee/ci/yaml/#variablesexpand)."
|
|
1740
1662
|
}
|
|
1741
1663
|
},
|
|
1742
1664
|
"additionalProperties": false
|
|
@@ -1746,7 +1668,7 @@
|
|
|
1746
1668
|
}
|
|
1747
1669
|
},
|
|
1748
1670
|
"jobVariables": {
|
|
1749
|
-
"markdownDescription": "Defines variables for a job. [Learn More](https://docs.gitlab.com/ci/yaml/#variables).",
|
|
1671
|
+
"markdownDescription": "Defines variables for a job. [Learn More](https://docs.gitlab.com/ee/ci/yaml/#variables).",
|
|
1750
1672
|
"type": "object",
|
|
1751
1673
|
"patternProperties": {
|
|
1752
1674
|
".*": {
|
|
@@ -1766,7 +1688,7 @@
|
|
|
1766
1688
|
},
|
|
1767
1689
|
"expand": {
|
|
1768
1690
|
"type": "boolean",
|
|
1769
|
-
"markdownDescription": "Defines if the variable is expandable or not. [Learn More](https://docs.gitlab.com/ci/yaml/#variablesexpand)."
|
|
1691
|
+
"markdownDescription": "Defines if the variable is expandable or not. [Learn More](https://docs.gitlab.com/ee/ci/yaml/#variablesexpand)."
|
|
1770
1692
|
}
|
|
1771
1693
|
},
|
|
1772
1694
|
"additionalProperties": false
|
|
@@ -1776,7 +1698,7 @@
|
|
|
1776
1698
|
}
|
|
1777
1699
|
},
|
|
1778
1700
|
"rulesVariables": {
|
|
1779
|
-
"markdownDescription": "Defines variables for a rule result. [Learn More](https://docs.gitlab.com/ci/yaml
|
|
1701
|
+
"markdownDescription": "Defines variables for a rule result. [Learn More](https://docs.gitlab.com/ee/ci/yaml/index.html#rulesvariables).",
|
|
1780
1702
|
"type": "object",
|
|
1781
1703
|
"patternProperties": {
|
|
1782
1704
|
".*": {
|
|
@@ -1820,7 +1742,7 @@
|
|
|
1820
1742
|
},
|
|
1821
1743
|
"secrets": {
|
|
1822
1744
|
"type": "object",
|
|
1823
|
-
"markdownDescription": "Defines secrets to be injected as environment variables. [Learn More](https://docs.gitlab.com/ci/yaml/#secrets).",
|
|
1745
|
+
"markdownDescription": "Defines secrets to be injected as environment variables. [Learn More](https://docs.gitlab.com/ee/ci/yaml/#secrets).",
|
|
1824
1746
|
"patternProperties": {
|
|
1825
1747
|
".*": {
|
|
1826
1748
|
"type": "object",
|
|
@@ -1829,7 +1751,7 @@
|
|
|
1829
1751
|
"oneOf": [
|
|
1830
1752
|
{
|
|
1831
1753
|
"type": "string",
|
|
1832
|
-
"markdownDescription": "The secret to be fetched from Vault (e.g. 'production/db/password@ops' translates to secret 'ops/data/production/db', field `password`). [Learn More](https://docs.gitlab.com/ci/yaml/#secretsvault)"
|
|
1754
|
+
"markdownDescription": "The secret to be fetched from Vault (e.g. 'production/db/password@ops' translates to secret 'ops/data/production/db', field `password`). [Learn More](https://docs.gitlab.com/ee/ci/yaml/#secretsvault)"
|
|
1833
1755
|
},
|
|
1834
1756
|
{
|
|
1835
1757
|
"type": "object",
|
|
@@ -1904,72 +1826,31 @@
|
|
|
1904
1826
|
],
|
|
1905
1827
|
"additionalProperties": false
|
|
1906
1828
|
},
|
|
1907
|
-
"
|
|
1908
|
-
"oneOf": [
|
|
1909
|
-
{
|
|
1910
|
-
"type": "string",
|
|
1911
|
-
"description": "The ARN or name of the secret to retrieve. To retrieve a secret from another account, you must use an ARN."
|
|
1912
|
-
},
|
|
1913
|
-
{
|
|
1914
|
-
"type": "object",
|
|
1915
|
-
"markdownDescription": "Defines the secret to be fetched from AWS Secrets Manager. The secret_id refers to the ARN or name of the secret in AWS Secrets Manager. Version_id and version_stage are optional parameters that can be used to specify a specific version of the secret, else AWSCURRENT version will be returned.",
|
|
1916
|
-
"properties": {
|
|
1917
|
-
"secret_id": {
|
|
1918
|
-
"type": "string",
|
|
1919
|
-
"description": "The ARN or name of the secret to retrieve. To retrieve a secret from another account, you must use an ARN."
|
|
1920
|
-
},
|
|
1921
|
-
"version_id": {
|
|
1922
|
-
"type": "string",
|
|
1923
|
-
"description": "The unique identifier of the version of the secret to retrieve. If you include both this parameter and VersionStage, the two parameters must refer to the same secret version. If you don't specify either a VersionStage or VersionId, Secrets Manager returns the AWSCURRENT version."
|
|
1924
|
-
},
|
|
1925
|
-
"version_stage": {
|
|
1926
|
-
"type": "string",
|
|
1927
|
-
"description": "The staging label of the version of the secret to retrieve. If you include both this parameter and VersionStage, the two parameters must refer to the same secret version. If you don't specify either a VersionStage or VersionId, Secrets Manager returns the AWSCURRENT version."
|
|
1928
|
-
},
|
|
1929
|
-
"region": {
|
|
1930
|
-
"type": "string",
|
|
1931
|
-
"description": "The AWS region where the secret is stored. Use this to override the region for a specific secret. Defaults to AWS_REGION variable."
|
|
1932
|
-
},
|
|
1933
|
-
"role_arn": {
|
|
1934
|
-
"type": "string",
|
|
1935
|
-
"description": "The ARN of the IAM role to assume before retrieving the secret. Use this to override the ARN. Defaults to AWS_ROLE_ARN variable."
|
|
1936
|
-
},
|
|
1937
|
-
"role_session_name": {
|
|
1938
|
-
"type": "string",
|
|
1939
|
-
"description": "The name of the session to use when assuming the role. Use this to override the session name. Defaults to AWS_ROLE_SESSION_NAME variable."
|
|
1940
|
-
},
|
|
1941
|
-
"field": {
|
|
1942
|
-
"type": "string",
|
|
1943
|
-
"description": "The name of the field to retrieve from the secret. If not specified, the entire secret is retrieved."
|
|
1944
|
-
}
|
|
1945
|
-
},
|
|
1946
|
-
"required": [
|
|
1947
|
-
"secret_id"
|
|
1948
|
-
],
|
|
1949
|
-
"additionalProperties": false
|
|
1950
|
-
}
|
|
1951
|
-
]
|
|
1952
|
-
},
|
|
1953
|
-
"gitlab_secrets_manager": {
|
|
1829
|
+
"akeyless": {
|
|
1954
1830
|
"type": "object",
|
|
1955
1831
|
"properties": {
|
|
1956
1832
|
"name": {
|
|
1957
1833
|
"type": "string"
|
|
1958
1834
|
},
|
|
1959
|
-
"
|
|
1960
|
-
"type": "string"
|
|
1961
|
-
|
|
1835
|
+
"data_key": {
|
|
1836
|
+
"type": "string"
|
|
1837
|
+
},
|
|
1838
|
+
"cert_user_name": {
|
|
1839
|
+
"type": "string"
|
|
1840
|
+
},
|
|
1841
|
+
"public_key_data": {
|
|
1842
|
+
"type": "string"
|
|
1843
|
+
},
|
|
1844
|
+
"csr_data": {
|
|
1845
|
+
"type": "string"
|
|
1962
1846
|
}
|
|
1963
1847
|
},
|
|
1964
|
-
"required": [
|
|
1965
|
-
"name"
|
|
1966
|
-
],
|
|
1967
1848
|
"additionalProperties": false
|
|
1968
1849
|
},
|
|
1969
1850
|
"file": {
|
|
1970
1851
|
"type": "boolean",
|
|
1971
1852
|
"default": true,
|
|
1972
|
-
"markdownDescription": "Configures the secret to be stored as either a file or variable type CI/CD variable. [Learn More](https://docs.gitlab.com/ci/yaml/#secretsfile)"
|
|
1853
|
+
"markdownDescription": "Configures the secret to be stored as either a file or variable type CI/CD variable. [Learn More](https://docs.gitlab.com/ee/ci/yaml/#secretsfile)"
|
|
1973
1854
|
},
|
|
1974
1855
|
"token": {
|
|
1975
1856
|
"type": "string",
|
|
@@ -1994,12 +1875,7 @@
|
|
|
1994
1875
|
},
|
|
1995
1876
|
{
|
|
1996
1877
|
"required": [
|
|
1997
|
-
"
|
|
1998
|
-
]
|
|
1999
|
-
},
|
|
2000
|
-
{
|
|
2001
|
-
"required": [
|
|
2002
|
-
"gitlab_secrets_manager"
|
|
1878
|
+
"akeyless"
|
|
2003
1879
|
]
|
|
2004
1880
|
}
|
|
2005
1881
|
],
|
|
@@ -2014,12 +1890,12 @@
|
|
|
2014
1890
|
},
|
|
2015
1891
|
"timeout": {
|
|
2016
1892
|
"type": "string",
|
|
2017
|
-
"markdownDescription": "Allows you to configure a timeout for a specific job (e.g. `1 minute`, `1h 30m 12s`). [Learn More](https://docs.gitlab.com/ci/yaml
|
|
1893
|
+
"markdownDescription": "Allows you to configure a timeout for a specific job (e.g. `1 minute`, `1h 30m 12s`). [Learn More](https://docs.gitlab.com/ee/ci/yaml/index.html#timeout).",
|
|
2018
1894
|
"minLength": 1
|
|
2019
1895
|
},
|
|
2020
1896
|
"start_in": {
|
|
2021
1897
|
"type": "string",
|
|
2022
|
-
"markdownDescription": "Used in conjunction with 'when: delayed' to set how long to delay before starting a job. e.g. '5', 5 seconds, 30 minutes, 1 week, etc. [Learn More](https://docs.gitlab.com/ci/jobs/job_control
|
|
1898
|
+
"markdownDescription": "Used in conjunction with 'when: delayed' to set how long to delay before starting a job. e.g. '5', 5 seconds, 30 minutes, 1 week, etc. [Learn More](https://docs.gitlab.com/ee/ci/jobs/job_control.html#run-a-job-after-a-delay).",
|
|
2023
1899
|
"minLength": 1
|
|
2024
1900
|
}
|
|
2025
1901
|
},
|
|
@@ -2127,7 +2003,7 @@
|
|
|
2127
2003
|
},
|
|
2128
2004
|
"stages": {
|
|
2129
2005
|
"type": "array",
|
|
2130
|
-
"markdownDescription": "Groups jobs into stages. All jobs in one stage must complete before next stage is executed. Defaults to ['build', 'test', 'deploy']. [Learn More](https://docs.gitlab.com/ci/yaml/#stages).",
|
|
2006
|
+
"markdownDescription": "Groups jobs into stages. All jobs in one stage must complete before next stage is executed. Defaults to ['build', 'test', 'deploy']. [Learn More](https://docs.gitlab.com/ee/ci/yaml/#stages).",
|
|
2131
2007
|
"default": [
|
|
2132
2008
|
"build",
|
|
2133
2009
|
"test",
|
|
@@ -2153,7 +2029,7 @@
|
|
|
2153
2029
|
"$ref": "#/definitions/globalVariables"
|
|
2154
2030
|
},
|
|
2155
2031
|
"include": {
|
|
2156
|
-
"markdownDescription": "Can be `IncludeItem` or `IncludeItem[]`. Each `IncludeItem` will be a string, or an object with properties for the method if including external YAML file. The external content will be fetched, included and evaluated along the `.gitlab-ci.yml`. [Learn More](https://docs.gitlab.com/ci/yaml/#include).",
|
|
2032
|
+
"markdownDescription": "Can be `IncludeItem` or `IncludeItem[]`. Each `IncludeItem` will be a string, or an object with properties for the method if including external YAML file. The external content will be fetched, included and evaluated along the `.gitlab-ci.yml`. [Learn More](https://docs.gitlab.com/ee/ci/yaml/#include).",
|
|
2157
2033
|
"oneOf": [
|
|
2158
2034
|
{
|
|
2159
2035
|
"$ref": "#/definitions/include_item"
|